Altera Corporation MegaCore Function Version 7.1 v
Triple Speed Ethernet MegaCore Function User
Contents
MDIO Registers ......................................................................................................................... 4–30
MDIO Clock Generation .......................................................................................................... 4–30
MDIO Buffer Connection ......................................................................................................... 4–30
MAC Interface Register Map ........................................................................................................ 4–31
Complete MAC Interface Register Map ................................................................................ 4–32
Command_Config Register ..................................................................................................... 4–39
Reg_Status Register .................................................................................................................. 4–43
Tx_Cmd_Stat Register .............................................................................................................. 4–43
Rx_Cmd_Stat Register .............................................................................................................. 4–44
MAC SNMP MIB Statistics Registers ..................................................................................... 4–45
MII, GMII and RGMII Interfaces ..................................................................................................4–48
GMII Interface ........................................................................................................................... 4–48
RGMII Interface ......................................................................................................................... 4–50
MII Interface .............................................................................................................................. 4–52
Connecting MAC to External PHY .............................................................................................. 4–54
Gigabit Ethernet ........................................................................................................................ 4–55
Programmable 10/100/1000 Operation ................................................................................ 4–55
1000BASE-X/SGMII PCS with Optional PMA ............................................................................... 4–58
PCS Receive ..................................................................................................................................... 4–59
Comma Detection ..................................................................................................................... 4–59
8b/10b Decoding ...................................................................................................................... 4–60
Frame De-encapsulation ..........................................................................................................4–60
Synchronization ........................................................................................................................ 4–60
Carrier Sense .............................................................................................................................. 4–61
PCS Transmit .................................................................................................................................. 4–61
Frame Encapsulation ................................................................................................................ 4–61
8b/10b Encoding ....................................................................................................................... 4–61
SGMII Converter ............................................................................................................................ 4–62
Transmit ..................................................................................................................................... 4–62
Receive ........................................................................................................................................ 4–62
Clock Distribution with External PMA ................................................................................. 4–62
Clock Distribution with Embedded PMA ............................................................................. 4–64
Auto-Negotiation ........................................................................................................................... 4–64
1000BASE-X Auto-Negotiation ............................................................................................... 4–65
SGMII Auto-Negotiation ......................................................................................................... 4–67
TBI Interface .................................................................................................................................... 4–67
PHY Loopback ................................................................................................................................ 4–68
PHY Power-Down .......................................................................................................................... 4–68
Power-Down with Embedded PMA ...................................................................................... 4–69
PCS Control Interface Register Map ............................................................................................ 4–70
PCS Control Register ................................................................................................................ 4–72
Status Register ........................................................................................................................... 4–72
Dev_Ability and Partner_Ability Registers .......................................................................... 4–74
An_Expansion Register ............................................................................................................ 4–75
If_Mode Register ....................................................................................................................... 4–76
Signals ................................................................................................................................................... 4–77
10/100/1000 Ethernet MAC Signals ........................................................................................... 4–77