152
Embedded Tri-Mode Ethernet MAC User Guide
UG074 (v2.2) February 22, 2010
Chapter 5:
Miscellaneous Functions
R
2.
During auto-negotiation, the contents of Register 4 (see
Advertisement Register (Register 4)”
) are transferred to the link partner. This register
can be written through the management interface, and enables software control of the
system’s advertised abilities. Information provided in this register includes:
♦
Fault condition signalling
♦
Duplex mode
♦
Flow control capabilities for the attached Ethernet MAC.
3.
At the same time, the advertised abilities of the Link Partner are transferred into
Register 5 (see
,
“Auto-Negotiation Link Partner Ability Base Register
). This includes the same information as in Register 4.
4.
Under normal conditions, this completes the auto-negotiation information exchange.
It is now the responsibility of system management (for example, software running on
an embedded PowerPC or MicroBlaze device) to complete the cycle. The results of the
auto-negotiation should be read from Register 5, and other networking components,
such as an attached Ethernet MAC, should be configured accordingly. There are two
methods by which a host processor may learn of the competition of an auto-
negotiation cycle:
♦
By polling the auto-negotiation completion bit 1.5 in Register 1 (see
“Status Register (Register 1)”
♦
By using the auto-negotiation interrupt port (see
SGMII Standard
illustrates the operation of SGMII auto-negotiation.
The SGMII capable PHY has two distinctive sides to auto-negotiation:
•
The PHY performs auto-negotiation with its link partner using the relevant auto-
negotiation standard for the chosen medium (BASE-T auto-negotiation, illustrated in
, uses a twisted copper pair medium). This resolves the operational speed
and duplex mode with the link partner.
Figure 5-4:
SGMII Auto-Negotiation Overview
Ethernet 1000BA
S
E-X
PC
S
/PMA or
S
GMII
Sub
-L
a
yer
Virtex-4 FPGA
Ethernet
Medi
a
Acce
ss
Controller
PowerPC/
MicroBl
a
ze
Proce
ss
or
s
Ho
s
t Interf
a
ce
EMAC#CLIENTANINTERRUPT
A
u
to-Neg Adv
(Reg 4)
Link P
a
rtner A
b
ility
B
as
e (Reg5)
S
GMII c
a
p
ab
le
BA
S
E-T PHY
A
u
to-Neg Adv
(Reg 4)
Link P
a
rtner A
b
ility
B
as
e (Reg5)
S
GMII
A
u
to-Neg Adv
(Reg 4)
Link P
a
rtner A
b
ility
B
as
e (Reg5)
S
GMII
s
ide
BA
S
E-T
s
ide
Twi
s
ted
Copper
P
a
ir
Link P
a
rtner
A
u
to-Neg Adv
(Reg 4)
Link P
a
rtner A
b
ility
B
as
e (Reg5)
u
g074_3_66_080805
www.BDTIC.com/XILINX