1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00
Alex Forencich fa05d4ff3c Add TX and RX enable inputs to MACs
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-08-24 01:24:33 -07:00
..
2020-07-10 15:32:39 -07:00
2020-07-10 15:32:39 -07:00
2020-07-10 15:32:39 -07:00
2023-08-24 01:24:33 -07:00
2020-07-10 15:32:39 -07:00
2021-05-18 16:15:41 -07:00
2020-07-10 15:32:39 -07:00
2021-05-04 15:48:12 -07:00

Verilog Ethernet Cyclone 10 LP Example Design

Introduction

This example design targets the Intel Cyclone 10 LP FPGA development 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.

  • FPGA: 5SGXEA7N2F45C2
  • PHY: Intel XWAY PHY11G PEF7071

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

netcat -u 192.168.1.128 1234

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