Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- I am a beginner in the field of FPGA and I am currently working my way through a lot of information. --- Quote End --- You've come to the right place then. There are lots of people who will help you on this forum. --- Quote Start --- As part of project, I need to transfer data from a FPGA board DE2-115 to a PC. More precisely, we already have an independent verilog module that works and produces data bits and we would like to transmit these bits as fast as possible to a PC, where a server application write the data in a text file and save it. --- Quote End --- Are these bits always produced, or can you deal with data in blocks? For example, there is memory on the board, could you stream the bits 'as fast as possible' to the RAM, and then read it out slower? How 'fast' do you need the results? Your speed will likely be limited by the transfer speed off the board. --- Quote Start --- I would like to have the simplest design that guarantees the best level of performance. But at this point I do not really know which direction I should take. --- Quote End --- There are several options; 1) Use one of the NIOS processor examples which contains an ethernet IP core and server code, eg., simple socket server. 2) Use the JTAG interface. This is the slowest, but could be the easiest. 3) The DE2 boards have a USB interface. There might be some IP cores to use that for communications with the host. Google indicates that the example DE2_NIOS_DEVICE_LED shows how to implement a USB connection to the host (I have not looked at this example, its probably a USB HID, so no driver needed on the host). Cheers, Dave