The logic required to implement the GMII transmitter logic
is shown in the following figure. The gtx_clk is a user-supplied 125 MHz reference
clock source. As illustrated, this is placed onto global clock routing to provide the clock
for all transmitter logic, both within the core and for the user-side logic that connects to
the TX AXI4-Stream interface of the core.
The following figure illustrates how to use the physical transmitter interface of the core to create an external GMII. The signal names and logic shown in this figure exactly match those delivered with the core for an UltraScale architecture-based device when the GMII is selected.
The following figure shows that the output transmitter
signals are registered in device IOBs before driving shown. This logic uses a bit slice output
Double-Data-Rate (DDR) register so that the clock signal produced incurs exactly the same
delay as the data and control signals. This clock signal, gmii_tx_clk, is
inverted with respect to gtx_clk so that the rising edge of
gmii_tx_clk occurs in the center of the data valid window, therefore
maximizing setup and hold times across the interface. The half-duplex signals
gmii_col and gmii_crs are asynchronous to the transmit
clock. These are routed through PADs and IOBs, and then input to the core.