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

34 lines
881 B
Markdown
Raw Normal View History

2020-12-30 17:15:18 -08:00
# Verilog Ethernet KC705 Example Design
## Introduction
This example design targets the Xilinx KC705 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.
Configure the PHY for RGMII by placing J29 across pins 1 and 2, opening J30,
and shorting J64.
2021-05-04 15:48:12 -07:00
* FPGA: XC7K325T-2FFG900C
* PHY: Marvell 88E1111
2020-12-30 17:15:18 -08:00
## How to build
Run make to build. Ensure that the Xilinx Vivado toolchain components are
in PATH.
## How to test
2021-05-04 15:48:12 -07:00
Run make program to program the KC705 board with Vivado. Then run
2020-12-30 17:15:18 -08:00
2021-05-04 15:48:12 -07:00
netcat -u 192.168.1.128 1234
2020-12-30 17:15:18 -08: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