Forum Discussion
Altera_Forum
Honored Contributor
11 years agoGenerating files from FPGA to hard drive
Hi guys. I'm working on a VHDL project for university and I'd like to know how could I generate a file from FPGA to the hard drive of the computer through the USB cable. I mean, it seems to me that i...
Altera_Forum
Honored Contributor
11 years agoMight be easier to create a PC program that requests data from the FPGA via USB, and then writes that data into a file.
All you would have to do is create some kind of C (or other language) program that reads data from the USB port. The FPGA can have NIOS sending a packet of data through the UART module. You can get fancy and define a communication protocol - start packet, CRC, etc., to make sure that the data you are sending and receiving is valid.