Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

Output Text

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?

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.