Forum Discussion
Altera_Forum
Honored Contributor
12 years agoStream high speed ADC values through triple speed ethernet
I am wanting to take high speed (300-500 Msps) 14 bit ADC values and stream them through the triple speed Ethernet. I have a DE2-115 board. Thus far I have got a simple socket server running on the board. However (from my understanding) with this implementation, there will be a bottleneck at the NIOS II processor for my planned implementation, as the NIOS II would be very slow at reading the ADC values?
I am thinking the best way to do this is to write the ADC value into memory with a DMA controller, then get the Ethernet controller to read this memory. However I don't know if this is possible/hard to do? Am I missing something from how I plan to do this? No data will be sent to the FPGA through the ethernet and I will probably use UDP to send the data for the fast throughput. I realise there may be latency, but I am trying to minimise this.2 Replies
- Altera_Forum
Honored Contributor
You need this example: http://www.alterawiki.com/wiki/nios_ii_udp_offload_example
It's best example to start TSE applications. Then instead of prbs_backet_generator you should add custom logic, that fills packets with ADC data. - Altera_Forum
Honored Contributor
agreed to linas. I used the UDPoffload example to upload ultrasound sample(100Msps) data to PC. Works fine.