![Xilinx Virtex-4 RocketIO Скачать руководство пользователя страница 94](http://html1.mh-extra.com/html/xilinx/virtex-4-rocketio/virtex-4-rocketio_user-manual_3383739094.webp)
94
Embedded Tri-Mode Ethernet MAC User Guide
UG074 (v2.2) February 22, 2010
Chapter 3:
Client, Host, and MDIO Interfaces
R
Write Transaction
shows a Write transaction across the MDIO, as defined by OP = 0b01. The
addressed MMD (PHYAD) device takes the 16-bit word in the Data field and writes it to
the register at REGAD.
Read Transaction
shows a Read transaction as defined by OP = 0b10. The addressed MMD
(PHYAD) device returns the 16-bit word from the register at REGAD.
The IEEE specification 802.3-2002 provides details of the register map of MMD (PHY layer
devices) and a fuller description of the operation of the MDIO interface.
Special Note on the Physical Addresses
The PHYAD field for the MDIO frame is defined in IEEE Std 802.3, Clause 22.2.4.5.5. This
address field is a 5-bit binary value capable of addressing 32 unique addresses. However,
every MMD must respond to address 0. Therefore, this address location can be used to
write a single command that is obeyed by all attached MMDs such as a reset or power-
down command.
This requirement dictates that the PHYAD for any particular MMD must not be set to
0
to
avoid possible MDIO contention.
Figure 3-47:
MDIO Write Transaction
Z
1 1 1 0
0 1 P4 P3 P2 P1 P0 R4 R3 R2 R1 R0 1 0 D15
D14
D13
D12
D11
D10
D9
D
8
D7
D6
D5
D4
D3
D2
D1
D0
1
Z
Z
Z
MDC
MDIO
IDLE
IDLE
32
b
its
PRE
ST
OP
PHYAD
REGAD
TA
16-
b
it
W
RITE DATA
UG074_3_72_112705
STA dri
v
es MDIO
Figure 3-48:
MDIO Read Transaction
Z
1 1 1 0
1 0 P4 P3 P2 P1 P0 R4 R3 R2 R1 R0 Z 0 D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
1
Z
Z
Z
MDC
MDIO
IDLE
IDLE
32
b
it
s
PRE
S
T
OP
PHYAD
REGAD
TA
16-
b
it READ DATA
S
TA drive
s
MDIO
MMD drive
s
MDIO
UG074_3_73_103106
www.BDTIC.com/XILINX