Program, cable, and traffic for the udp-stack echo on the bench.
See also: README — Run it · bitstream · metrics
- Program bitstream:
core/core.runs/impl_1/top.bit - Connect RJ-45 to host or switch — use the FPGA Ethernet port, not a monitor passthrough
- Host on
192.168.1.xor use broadcast
Bench — RJ45 connected, power on, heartbeat on 7-segment, link LED lit near Ethernet port
From core/rtl/top.sv and core/rtl/stack/udp_stack_core.sv:
| Value | |
|---|---|
| FPGA IP | 192.168.1.10 |
| Host IP | 192.168.1.100 |
| UDP port | 50000 |
| Host MAC | Set HOST_MAC in top.sv to your PC's MAC |
Direct cable without ARP — broadcast works:
python tools/send_udp.py --host 255.255.255.255 --port 50000Targeted echo:
python tools/send_udp.py --host 192.168.1.10 --port 50000 --payload "echo-test"Quick bench wrapper:
python tools/bench_check.pyFrom core/rtl/top.sv:
| LED | Meaning |
|---|---|
[7:0] |
Mirror SW[7:0] |
[8], [14] |
Heartbeat (~1 Hz) |
[9] |
RX activity pulse |
[10] |
TX activity pulse |
[11] |
Stack error |
[12] |
Latency-valid pulse |
[13], [15] |
PHY link up |
Right to left on the board:
- Right 2 digits:
SW[7:0]in hex - Next 2 digits: heartbeat counter (slowly increments)
- Left 4 digits:
0000
- Program bitstream → LED[8] blinks ~once per second
- Flip switches → LED[7:0] follow SW[7:0]
- Plug Ethernet → LED[13]/[15] on when link is up
- Send UDP → LED[9]/[10] pulse;
send_udp.pyprints reply
Vivado project setup: core/README.md
