Forum Discussion

GDagi's avatar
GDagi
Icon for New Contributor rankNew Contributor
5 years ago

Parsing Packets using TSE IP on FPGA

Hi all,

I am using a MAX10 Dev Kit with Quartus. I want to use the FPGA to first receive packets, and then be able to extrapolate important data (namely IP and MAC addresses). I have downloaded the MAX 10 Single-Port Triple Speed Ethernet and On-Board PHY Chip Design Example found here. I have simulated the testbench and understand most signals and their relationships in the simulation (I'm viewing through Quartus Modelsim).

I have also used Quartus's System Console to launch the main.tcl file in the sc_tcl folder and have successfully verified the 3 tests found in this document and example.

Thirdly, I have a Linux machine which has successfully sent a packet through UDP to the FPGA, but nothing after that.

As I understand, the TSE example does not go deep enough to extract that information and I have to do it myself, but don't know where / how to actually do that. I'm familiar with packet structure and know I'll need to pass some sort of data into a register at the start of a packet, and will stop saving the information at the end of the packet, but don't know how to proceed with that.

Thanks so much in advance.

1 Reply