Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- So what could be used to send data vectors to the inputs of a downloaded circuit? It would be nice if a MATLAB program could be written that could somehow drive the inputs of the circuit. --- Quote End --- You can use dual-ported RAM and an SOPC/Qsys System. 1) JTAG-to-Avalon-MM bridge 2) Avalon-MM slave interfaces to one side of a pair of RAMs. 3) Your DSP component between the other ports of the RAMs; one as the data source, the other as the data sink. 4) A controller to read data out of one RAM, pass it through your DSP logic, and capture the output in the other RAM. You then fill the source RAM with data, enable your controller, and read the results out of the sink RAM. This is a common enough question that I'll try to write up an example. See if you can figure out how to do it yourself first. Cheers, Dave