Sgmii mac mode auto negotiation – Altera Triple Speed Ethernet MegaCore Function User Manual
Page 107

Description
R/W
Name
Bit(s)
Remote fault condition:
•
RF1
=0 /
RF2
=0: No error, link is valid (reset
condition).
•
RF1
=0 /
RF2
=1: Offline.
•
RF1
=1 /
RF2
=0: Failure condition.
•
RF1
=1 /
RF2
=1: Auto-negotiation error.
RF1
12
RF2
13
Acknowledge. A value of 1 indicates that the device
has received three consecutive matching ability
values from its link partner.
RO
ACK
14
Next page. In
dev_ability
register, this bit is
always set to 0.
NP
15
Notes to
:
1. All bits in the
dev_ability
register have RW access.
2. All bits in the
partner_ability
register are read-only.
SGMII MAC Mode Auto Negotiation
When the SGMII mode and the SGMII MAC mode auto-negotiation are enabled, the Triple-Speed Ethernet
IP core ignores the value in the
dev_ability
register and automatically sets the value to
16’h4001
as specified
in the SGMII specification for SGMII auto-negotiation.
When the auto-negotiation is complete, the Triple-Speed Ethernet IP core speed and the duplex mode will
be resolved based on the value in the
partner_ability
register. The
partner_ability
register is received
from the link partner during the auto-negotiation process.
Table 6-16: Partner_Ability Register Bits Description in SGMII MAC Mode
Description
R/W
Name
Bit(s)
—
—
Reserved
9:0
Link partner interface speed:
• 00: copper interface speed is 10 Mbps
• 01: copper interface speed is 100 Mbps
• 10: copper interface speed is 1 gigabit
• 11: reserved
RO
COPPER_SPEED[1:0]
11:10
Link partner duplex capability:
• 1: copper interface is capable of operating in full-
duplex mode
• 0: copper interface is capable of operating in half-
duplex mode
RO
COPPER_DUPLEX_STATUS
12
—
—
Reserved
13
Configuration Register Space
Altera Corporation
UG-01008
SGMII MAC Mode Auto Negotiation
6-24
2014.06.30