Forum Discussion

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

Ethernet question

I'm new to Ethernet interface and I have a few questions regarding my next project.

My requirements are to send data over ethernet from custom FPGA board to a PC over dedicated link. The throughput requirements are roughly 800Mbits/s. I need to receive commands other this link as well, but @ much lower rates.

I'm planning to use external 88E1111 RGMII module and TSE MAC on the FPGA side. From what I've researched so far, I need to implement a transport stack (either TCP or UDP). Also, from what I've read, SOPC approach with NIOS will yield ~110 Mbits/s at best. Is there any reference design on how to implement TCP/UDP in hardware? Will implementing these protocols in hardware provide me with desired throughput?

thanks in advance

12 Replies

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

    Hello everybody,

    I have the same problem with the 10GbE.

    I am sure that the Nios is not enough fast to provide a throughput of 6 Gbps.

    However, I'm seeking a hard IP with can provide UDP protocol but every stack seams to be soft IP.

    Do you know a vendor who provide a 10GbE UDP stack ?

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

    --- Quote Start ---

    Thank you for the interesting insights. Can you achieve the said speeds through UDP, when you connect at the socket driver level (winsock2 on windows OS), or do you need to connect the device driver at a lower level?

    --- Quote End ---

    On the Cyclone III (100MHz), NIOS II and TSE we're close to 900Mb with UDP. This includes hardware calculated internet checksum done while the data is being transferred into memory from other hardware to be sent by UDP. This is with highly optimized UDP packet code and TSE driver using lwIP (for a TCP connection for lower bandwidth control). The PC can keep up with these UDP bursts but also it can and will drop packets. Surprisingly, we've found even on a LAN that UDP can be error free for extended times transferring lots of data (21MB/S). But we developed a reliable UDP protocol to be safe.