![Xilinx Virtex-4 RocketIO User Manual Download Page 103](http://html1.mh-extra.com/html/xilinx/virtex-4-rocketio/virtex-4-rocketio_user-manual_3383739103.webp)
Embedded Tri-Mode Ethernet MAC User Guide
103
UG074 (v2.2) February 22, 2010
Media Independent Interface (MII)
R
data rate at the Ethernet MAC input. The clock enables for the client logic are provided by
the output of another toggle flip-flop clocked on the rising edge of the MII clock.
shows the timing of a data transfer over the client interface.
The MII clock has a period of 40 ns at 100 Mb/s and 400 ns at 10 Mb/s. Since the client and
MII logic are constrained to run at 1 Gb/s (125 MHz), the data will be stable 8 ns after the
rising clock edge. This gives a window of 32 ns at 100 Mb/s for the data to be sampled into
the Ethernet MAC. As the client clock is derived on the falling edge of the MII clock the
data is clocked into the MAC at least 12 ns after the data is stable.
Using this technique the EMAC#CLIENTTXACK signal must be registered at the output of
the Ethernet MAC. EMAC#CLIENTTXACK is generated on the rising edge of the client
clock input CLIENTEMAC#TXCLIENTCLKIN and sampled by the client logic on the
rising edge of the MII clock. This technique can lead to the first byte of data being removed
from the client transmitter bus too soon. However, if the EMAC#CLIENTTXACK signal is
registered on the MII clock (and clock enabled like the rest of the client logic), the data
removal problem will not happen.
illustrates the timing diagram.
Figure 4-4:
Client Interface Timing
EMAC#CLIE
N
TTXGMIIMIICLKOUT
PHYEMAC#RXCLK
Clock Ena
b
le
EMAC#PHYTXD
PHYEMAC#RXD
40 ns (or 400 ns)
12 ns (or 192 ns)
CLIE
N
TEMAC#TXCLIE
N
TCLKI
N
CLIE
N
TEMAC#RXCLIE
N
TCLKI
N
8
ns
UG074_3_69_010906
www.BDTIC.com/XILINX