1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-30 08:32:52 +08:00

31 lines
801 B
Markdown
Raw Normal View History

2020-07-10 15:38:43 -07:00
# Verilog Ethernet DE2-115 Example Design
## Introduction
This example design targets the Terasic DE2-115 FPGA board.
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.
2021-05-04 15:48:12 -07:00
* FPGA: EP4CE115F29C7
* PHY: Marvell Alaska 88E1111
2020-07-10 15:38:43 -07:00
## How to build
Run make to build. Ensure that the Altera Quartus toolchain components are
in PATH.
## How to test
Run make program to program the board with the Altera software. Then run
2021-05-04 15:48:12 -07:00
netcat -u 192.168.1.128 1234
2020-07-10 15:38:43 -07:00
2021-05-04 15:48:12 -07:00
to open a UDP connection to port 1234. Any text entered into netcat will be
echoed back after pressing enter.
It is also possible to use hping to test the design by running
hping 192.168.1.128 -2 -p 1234 -d 1024