SGMII can be used to carry Ethernet traffic at 10 Mbps, 100 Mbps, 1 Gbps, or 2.5 Gbps. By default, the demonstration test bench is configured to operate at 1 Gbps. The speed of both the example design and test bench can be set to the desired operational speed by editing the following settings, recompiling the test bench, then running the simulation again. The speed bits are not applicable for 2.5G SGMII.
1 Gbps Operation
set speed_is_10_100 to logic 0
100 Mbps Operation
set speed_is_10_100 to logic 1
set speed_is_100 to logic 1
10 Mbps Operation
set speed_is_10_100 to logic 1
set speed_is_100 to logic 0