= SFP-Ethernet Design = This design provides an example of using the SFP MGT interfaces on the WARP FPGA Board v2.2 as gigabit Ethernet interfaces. The sample code uses both interfaces connected together via an external Ethernet cable (i.e. cabled loopback) and tests transmission and reception of packets via both interfaces. == Overview == '''Requirements:''' * WARP FPGA Board v2.2 * WARP Clock Board v1.1 * 2 SFP 1000Base-T Ethernet modules (inserted in MGTs 7 and 8) * PC with terminal emulator and serial or USB port * Xilinx EDK 10.1.03 or 11.3 '''Project Files:''' * Download the full XPS Project (built in XPS v10.1.03): [//bigFiles/SFP_Ethernet_Example_v0.zip SFP_Ethernet_Example_v0.zip] (14MB .zip) [[Image(HardwareUsersGuides/FPGABoard_v2.2/Files:sfpEthernet_blockDiagram.jpg)]] '''Important Details''' * The `xps_ll_temac` pcore has two ports for LocalLink clocks (`LlinkTemac0_CLK` and `LlinkTemac1_CLK`). These must be connected to the same clock signal which drives the `SPLB_CLK` ports on the corresponding `xps_ll_fifo` pcores. These signals are not connected automatically when you connect the LocalLink bus interfaces on the TEMAC and FIFO. * The TEMAC PHY type must be set to 1000Base-T (`C_PHY_TYPE = 5`). The other MGT-compatible PHY type (SGMII) didn't work with our SFP Ethernet modules. * The `DCLK` port on the `xps_ll_temac` core should be connected to a clock signal with frequency between 25 and 50MHz. It's unclear whether this signal is absolutely required for 1000Base-T modes (the Xilinx documentation is frustratingly vague), but our designs worked fine with a 40MHz `DCLK`.