This testbench demonstrates Serial Gigabit Medium Independent Interface (SGMII) Auto-negotiation of Triple Speed Ethernet (TSE) IP. New feature SGMII PHY mode implemented in ACDS version 13.0 enables us to see SGMII Auto-Negotiation is completed by using only TSE IP.
Two TSE IP are instanced to establish SGMII link. One TSE IP (instance name TSE0) acts as SGMII MAC device, and another TSE IP (instance name TSE1) acts as SGMII PHY device. You can set the SGMII mode through the PCS If_Mode Register (Word Offset 0x14) bit 5 SGMII_AN_MODE.
SGMII auto-negotiation mode:
1: enable SGMII PHY mode
0: enable SGMII MAC mode
This bit resets to 0, which defaults to SGMII MAC mode.