1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00
Alex Forencich d6fc68947b Procedural generation of testbench drivers
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-07-27 20:25:08 -07:00
..
2023-07-21 18:17:26 -07:00
2023-07-21 18:17:26 -07:00
2023-07-21 18:17:26 -07:00
2023-07-21 18:17:26 -07:00
2023-07-21 18:17:26 -07:00
2023-07-21 18:17:26 -07:00
2023-07-21 18:17:26 -07:00
2023-07-21 18:17:26 -07:00

Verilog Ethernet HTG-640 Crosspoint Switch Design

Introduction

This design targets the HiTech Global HTG-640 (HTG-V6HXT-100GIG-565) FPGA board.

The design forms a 16x16 crosspoint switch for 10G Ethernet. It is capable of connecting any output port to any input port based on configuration frames received over a dedicated configuration interface.

  • FPGA: XC6VHX565T-2FFG1923
  • PHY: 10G BASE-R PHY IP core and internal GTH transceiver

How to build

Run make to build. Ensure that the Xilinx ISE toolchain components are in PATH.

How to use

SFP left ports 0-7 are connected to crosspoint input/output ports 0-7, SFP right ports 0-7 are connected to crosspoint input/output ports 8-15. SFP port left 11 is the control port. Send an Ethernet frame with ethtype 0x8099 to this port to reconfigure the switch, the first 16 payload bytes corresponding to the 16 switch output ports, each byte selecting which input port will be connected. It is possible to connect multiple output ports to the same input port.