![Xilinx Virtex-4 RocketIO Скачать руководство пользователя страница 95](http://html1.mh-extra.com/html/xilinx/virtex-4-rocketio/virtex-4-rocketio_user-manual_3383739095.webp)
Embedded Tri-Mode Ethernet MAC User Guide
95
UG074 (v2.2) February 22, 2010
MDIO Interface
R
MDIO Implementation in the EMAC
The EMAC implements an STA (MDIO master), controlled through the host interface,
which can be connected to one or more MMDs (PHY devices) to access their management
registers.
The PCS/PMA sublayer of the EMAC, used for 1000BASE-X or SGMII, also contains an
MMD (MDIO slave). The physical address of this MMD is set via the
PHYEMAC#PHYAD[4:0] port of the EMAC. However, the PCS/PMA sublayer also
responds to a PHYAD of zero.
Example Use Models
illustrates a user case example, where the Host Interface is used as the MDIO
master to access the configuration registers of an external PHY.
PHYEMAC#MDIN, EMAC#PHYMDOUT, and EMAC#PHYMDTRI must be connected to
a 3-state buffer to create the bidirectional wire, MDIO. This 3-state buffer can be either
external to the FPGA or internally integrated by using an IOBUF with an appropriate I/O
standard for the external PHY as illustrated in
To obtain this functionality whenever the host interface is used, the EMAC’s Management
Data Input/Output (MDIO) Interface signals are wired as shown in
with
TIEEMAC#CONFIGVEC[73] (MDIO enable) tied High.
This example intentionally does not use the PCS/PMA sublayer (a GMII or RGMII
physical interface can be selected, or the PCS/PMA sublayer can be configured only
through its tie-off vectors, TIEEMAC#CONFIGVEC[78:74]). However, it is still internally
connected to the MDIO and replies to a read or write transaction, if addressed. The
PHYAD of the PCS/PMA sublayer must not be addressed.
Figure 3-49:
User Case 1: MDIO Access to External PHY
Host
Interface
Address Filter Registers
MDIO Interface
(STA MDIO Master)
Config
u
ration Registers
PCS/PMA
S
ub
layer
(MMD
MDIO Sla
v
e)
EMAC#
EMAC#PHYMCLKOUT
PHYEMAC#MCLKI
N
PHYEMAC#MDI
N
EMAC#PHYMDOUT
EMAC#PHYMDTRI
Connect to
external PHY
(MMD
MDIO Sla
v
e)
G
N
D
OBUF
OPAD
O
I
O
I
IO
T
IOPAD
IOBUF
MDC
MDIO
UG074_3_74_112705
MDIO
Ar
b
itration
www.BDTIC.com/XILINX