Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Matlab and VHDL

 
Thread Tools Search this Thread
Old 12-01-2006, 03:05 AM   #1
Default Matlab and VHDL


I am relatively new to VHDL .. I want to know can I use a analog or
digital signal and read it in the computer as a signal (lets say
'test') using a Altera educational UP3 board which also has an FPGA on
it .... and then write code in Matlab to find different aspects(max
value, phase, amplitude etc) of that signal and then using those values
in my VHDL code ???



ronak283@gmail.com
  Reply With Quote
Old 12-01-2006, 03:11 PM   #2
boysr2003
Junior Member
 
Join Date: Jul 2006
Posts: 9
Default Matlab and VHDL

Hi,
my name is Yassir Boukhriss. I am doing the same thing with a different board that has a xilinx fpga. I guess, you need to write a c program to read data from the channel that has the signal of interest, and then import that file into Matlab for analysis.
Good luck!
boysr2003 is offline   Reply With Quote
Old 12-02-2006, 09:49 AM   #3
Ralf Hildebrandt
 
Posts: n/a
Default Re: Matlab and VHDL

schrieb:

> I am relatively new to VHDL .. I want to know can I use a analog or
> digital signal and read it in the computer as a signal (lets say
> 'test') using a Altera educational UP3 board which also has an FPGA on
> it ....


There is no analog-to-digital converter in at the UP2 education boards.
There are quite a lot of pins you may use for digital I/O
(FLEX_EXPAN_A/B/C).


> and then write code in Matlab to find different aspects(max
> value, phase, amplitude etc) of that signal and then using those values
> in my VHDL code ???


Do I understand you right, that you want to sample analog data, read the
samples (in matlab), do some calculations there (real time or
post-processing) and feed the results back to the FPGA (real time?)?

What about using an external ADC, talk to this ADC with the FPGA
(digital), get the data and do the desired calculations inside the FPGA?

Ralf
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump