1
0
mirror of https://github.com/corundum/corundum.git synced 2025-02-06 08:38:23 +08:00

30 lines
917 B
Markdown
Raw Normal View History

# Verilog Ethernet Alveo Example Design
2020-09-18 01:20:20 -07:00
## Introduction
This design targets multiple FPGA boards, including most of the Xilinx Alveo line.
2020-09-18 01:20:20 -07:00
The design by default listens to UDP port 1234 at IP address 192.168.1.128 and will echo back any packets received. The design will also respond correctly to ARP requests.
2020-09-18 01:20:20 -07:00
* FPGA
* AU200: xcu200-fsgd2104-2-e
* AU250: xcu250-fsgd2104-2-e
* VCU1525: xcvu9p-fsgd2104-2L-e
* PHY: 10G BASE-R PHY IP core and internal GTY transceiver
2020-09-18 01:20:20 -07:00
## How to build
Run make to build. Ensure that the Xilinx Vivado toolchain components are in PATH.
2020-09-18 01:20:20 -07:00
## How to test
Run make program to program the FPGA board with Vivado. Then run
2020-09-18 01:20:20 -07:00
2021-05-04 15:48:12 -07:00
netcat -u 192.168.1.128 1234
2020-09-18 01:20:20 -07:00
to open a UDP connection to port 1234. Any text entered into netcat will be echoed back after pressing enter.
2021-05-04 15:48:12 -07:00
It is also possible to use hping to test the design by running
hping 192.168.1.128 -2 -p 1234 -d 1024