Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 Discussions

Stream high speed ADC values through triple speed ethernet

Altera_Forum
Honored Contributor II
1,360 Views

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

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

agreed to linas. I used the UDPoffload example to upload ultrasound sample(100Msps) data to PC. Works fine.

0 Kudos
Reply