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
Honored Contributor II
1,471 Views

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 Kudos
5 Replies
Altera_Forum
Honored Contributor II
755 Views

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.

0 Kudos
Altera_Forum
Honored Contributor II
755 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
755 Views

thanks for the advice!! 

 

by the way what is pc code??
0 Kudos
Altera_Forum
Honored Contributor II
755 Views

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.

0 Kudos
Altera_Forum
Honored Contributor II
755 Views

ok thanks..i will try it out..

0 Kudos
Reply