Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

Output Text

Altera_Forum
名誉コントリビューター II
1,473件の閲覧回数

i need a vhdl code that will run certain arithmetic and output certain manipulation results. the numerical result can be easily obtain from simulations but if i were to download the code on the board and run, how am i suppose to output those numerical result? can i have the output written on some sort of text file?

0 件の賞賛
5 返答(返信)
Altera_Forum
名誉コントリビューター II
757件の閲覧回数

You may write the results into a RAM (internal if it is enough or external if you have got any) and then try any serial connection to a PC by writing a piece of PC code which reads data from the RAM. You may use for example a simple UART interface on your FPGA board and an RS232 transceiver to get an easy connection with your PC. Of course, after reading the results with the PC you may decide to manipulate the data in the desired way.

Altera_Forum
名誉コントリビューター II
757件の閲覧回数

You could try using SignalTap to follow the signals internal to the FPGA. 

 

http://www.altera.com/literature/hb/qts/qts_qii5v3_05.pdf 

 

This way you don't need anything other than the JTAG connection.
Altera_Forum
名誉コントリビューター II
757件の閲覧回数

thanks for the advice!! 

 

by the way what is pc code??
Altera_Forum
名誉コントリビューター II
757件の閲覧回数

I mean some high level code (C, Visual Basic, etc.) which directly drives the COM port of your PC to achieve a serial communication with your device.

Altera_Forum
名誉コントリビューター II
757件の閲覧回数

ok thanks..i will try it out..

返信