Gebruiksaanwijzing /service van het product 1000BASE-X van de fabrikant Xilinx
Ga naar pagina of 230
R LogiCORE™ IP Ethernet 1000B ASE-X PCS/PMA or SGMII v9.1 User Guide UG155 Mar ch 24, 2008.
www .xilinx.com Ethernet 1000B ASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Xilinx is disclosing this Specification to you solely f or use in the de v elopment of designs to o perate on Xili nx FPGAs.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com UG155 March 24, 2008 Schedule of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Schedule of Tables . . . . . . .
w ww .xilinx.com Ethernet 1000B ASE-X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 R Implement the Ethernet 1000BAS E-X PCS/PM A or SGMII Core in Your Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com UG155 March 24, 2008 R Virtex-5 LXT and SXT Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Virtex-5 FXT Devices . . . . . . . . . . . . .
w ww .xilinx.com Ethernet 1000B ASE-X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 R Virtex-5 Ro cketIO GTX T ransceivers for SGMII or Dynamic Standards Switching Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com UG155 March 24, 2008 R Appendix B: Core Latency Core Latency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
w ww .xilinx.com Ethernet 1000B ASE-X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 R.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com UG155 March 24, 2008 Chapter 2: Core Architecture Figure 2-1: Functional Block Diagram Using RocketIO Transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Figure 2-2: Functional Block Diagram with a Ten-Bit Interface .
w ww .xilinx.com Ethernet 1000B ASE-X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 R Chapter 6: The Ten-Bit In terface Figure 6-1: Ten-Bit Interface Transmitter Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com UG155 March 24, 2008 R Chapter 11: Dynamic Switching of 1000BASE-X and SGMII Standards Figure 11-1: Typical Application for Dynamic Sw itching . . . . . . . . . . . . . . . . . . . . . . . . .
w ww .xilinx.com Ethernet 1000B ASE-X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 R.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com UG155 March 24, 2008 Chapter 2: Core Architecture Table 2-1: GMII Interface Signal Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Table 2-2: Other Common S ignals .
w ww .xilinx.com Ethernet 1000B ASE-X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 R Table 9-21: PHY Identifier (Registers 2 and 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Table 9-22: SGMII Auto-N egotiation Advertiseme nt (Register 4) .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 17 UG155 March 24, 2008 R Pr eface About This Guide The LogiCORE™ IP Ethernet 1000BASE- X PCS/PMA or SGMII User Guide pr ovides informatio.
18 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Preface: About This Guide R • Chapter 1 1, “Dynamic Switching of 1000BASE-X and SGMII Standards” pr ovides general guidelines for u sing the core to perform dynamic standards switching between 1000BASE-X and SGMII.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 19 UG155 March 24, 2008 Con ventions R Online Document The following conventions ar e used in this document. Square brackets [ ] An optional entry or parameter . However , in bus specifications, such as bus[7:0] , they a re r equired.
20 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Preface: About This Guide R.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 21 UG155 March 24, 2008 R Chapter 1 Intr oduction The Ethernet 1000BASE-X PCS/PMA or SGMII co re is a fully verified so lution that supports V erilog HDL and VHDL. In addition, th e example design provided with the cor e supports both V e rilog and VHDL.
22 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 1: Introd uction R Additional Core Resour ces For detailed information and updates ab out the Ethernet 1000BASE-X PCS/PMA or SGMII core, s ee the following documents, located on the Xilinx Ethernet 100BASE-X PCS/PMA produc t page .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 23 UG155 March 24, 2008 Feedbac k R Document For comments or suggestions about this do cument, please submit a W ebCase from www .
24 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 1: Introd uction R.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 23 UG155 March 24, 2008 R Chapter 2 Cor e Ar chitectur e This chapter describes the ar chitecture of the Ethernet 1000BASE-X PCS/PMA or SGMII core, i ncluding all interf aces and major functional blocks.
24 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 2: Core Arch itecture R GMII Block A client-side GMII is provided w ith the core, which can be used as an internal interface for connection to an embedded Media Access Co ntroller (MAC) or other custom logic.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 25 UG155 March 24, 2008 System Over view R Optional PCS Man agement Registers Configuration and status of th e cor e, including access to and from the option al Auto- Negotiation function, uses the 1000BASE- X PCS Management Registers defined in IEEE 802.
26 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 2: Core Arch itecture R 8B/10B Encoder 8B10B encoding, as defined in IEEE 802.3 (T ables 36-1a t o 36-1e and T able 36-2), is implemented in a block SelectRAM™, configur ed as ROM, and used as a large look-up table.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 27 UG155 March 24, 2008 Core Interfaces R functionality . For more information, see Chapter 3, “Generating and Customizing the Core.
28 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 2: Core Arch itecture R Figur e 2-4 shows the pinout for the Ethernet 1000BASE-X PCS/PMA or SGMII cor e using.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 29 UG155 March 24, 2008 Core Interfaces R Figur e 2-5 shows the pinout for the Ethernet 1000BASE-X PCS/PMA or SGMII core when using the TBI wit h optional PCS Management Regi sters.
30 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 2: Core Arch itecture R Figur e 2-6 shows the pinout for the Ethernet 1000BASE-X PCS/PMA or SGMII core when using a TBI without the option al PCS Manage ment Registers.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 31 UG155 March 24, 2008 Core Interfaces R Figur e 2-7 shows the pinout for the Ethernet 1000BASE-X PCS/PMA or SGMII cor e using the optional dynamic switching logic (betw een 1000BASE-X and SGMII standards).
32 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 2: Core Arch itecture R T able 2- 1: GMII Interface Signal Pin out Signal Direction Description gmii_txd[7:0] 1 1. When the T ransmitter Elastic Buffer is present these signals ar e sync hro nous to gm ii_ tx_c lk.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 33 UG155 March 24, 2008 Core Interfaces R Common Signal Pinout Ta b l e 2 - 2 describes the remai ning signals common to al l parameterizations of the core. T able 2- 2: Other Common Signals Signal Direction Description reset Input Asynchronous r eset for the entire core.
34 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 2: Core Arch itecture R MDIO Management Interf ace Pinout (Optional) Ta b l e 2 - 3 describes the optional MDIO interface signals of the cor e used to access the PCS Management Registers.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 35 UG155 March 24, 2008 Core Interfaces R Configuration V ector (Optional) Ta b l e 2 - 4 shows the alternative to the option al MDIO Management Interface, the configuration vector . See “Optional Configuration V ector” in Chapter 9 .
36 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 2: Core Arch itecture R Dynamic Switching Signal Pinout Ta b l e 2 - 6 describes the signals pr esent when the optional Dy namic Switching mode (between 1000BASE-X and SGMII standards) is selected.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 37 UG155 March 24, 2008 Core Interfaces R T able 2- 7: Optional Rocket IO T ransceiver Interface Pin out Signal Directio n Descriptio n mgt_rx_r eset 1 1. When the cor e is used wi th a RocketIO transceiver , userclk2 is used a s the 125 MHz reference cloc k for the entire cor e.
38 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 2: Core Arch itecture R 1000BASE-X PCS with TBI Pinout Ta b l e 2 - 8 describes the optional TBI signals, used as an alternative to the RocketIO receiver interface.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 39 UG155 March 24, 2008 R Chapter 3 Generating and Customizing the Cor e The Ethernet 1000BASE-X PCS/PMA or SGMII cor e is generated using the CORE Generator . This chapter describes the GUI options used to generate and custom ize the core.
40 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 3: Generating and Customizing the Core R Select Standard Select fr om the following standards f or the cor e: • 1000BASE-X . 1000BASE-X Physical Coding Sublayer (PCS) functiona lity is designed to the IEEE 802.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 41 UG155 March 24, 2008 GUI Interface R Ph ysical Interface Depending on the target ar chitecture, two phys ical interface options are available for the core.
42 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 3: Generating and Customizing the Core R This screen lets you select the Receiver E lastic Buffer type to be used with the cor e . Befor e selecting this option, see “Receiver Elastic Buffer Impl ementations” in Chapter 8 .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 43 UG155 March 24, 2008 P arameter V alue s in the XCO File R Roc k etIO Tile Configur ation The RocketIO T ile Configuration screen is only displayed if the Rock etIO interface is used with the V irtex-4 or V irtex-5 device families.
44 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 3: Generating and Customizing the Core R Ta b l e 3 - 1 describes the XCO file para meters, valu es and summarizes the GUI defaults.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 45 UG155 March 24, 2008 R Chapter 4 Designing with the Cor e This chapter provides information about creating your own designs using the Ethernet 1000BASE-X PCS/PMA or SGMII core .
46 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 4: Designing with the Core R 1000BASE-X Standard Using Roc k etIO T ransceiver Example Design Figur e 4-1 illustrates the example design in 1000B ASE-X mode using the V irtex-II Pro or V irtex-4 MGT , V i rtex-5 GTP or V irtex-5 GTX transceiver .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 47 UG155 March 24, 2008 Design Ov erview R 1000BASE-X Standard with TBI Example Design Figur e 4-2 illustrates the example desi gn in 1000BASE-X mode using a TBI. As illustrated, the example is split between two hierar chical layers.
48 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 4: Designing with the Core R SGMII Standard Using a Rock etIO T ransceiv er Example Design Figur e 4-3 illustrates the example design in SGMII mod e using the V irtex-II Pro or V irtex- 4 MGT , V irtex-5 GTP or V irtex-5 GTX transceive r .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 49 UG155 March 24, 2008 Design Ov erview R SGMII Standard with TBI T ransceiv er Example Design Figur e 4-3 illustrates the example design with the SG MII standar d using a TBI.
50 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 4: Designing with the Core R Design Guidelines Generate the Core Generate the core using the CORE Generator , as described in Chapter 3, “Generating and Customizing the Cor e.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 51 UG155 March 24, 2008 Design Guidelines R Write an HDL Application After review ing the example design deliver ed wi th the cor e, write an HDL application that uses single or multiple instances of the bl ock level module for t he Ethernet 1000BA SE-X PCS/PMA or SGMII core.
52 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 4: Designing with the Core R K eep it Registered T o simplify timing and to i ncrease system pe rformance in an FPGA des ign, keep all inputs and outputs r egistered between the user appl ication and the cor e.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 53 UG155 March 24, 2008 R Chapter 5 Using the Client-side GMII Data Path This chapter provides general guideli nes for creating designs using client-side GMII of the Ethernet 1000BASE-X PCS/PMA or SGMII core.
54 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 5: Using the Cli ent-side GMII Data P a th R Error Propagation A corrupted frame transfer is illustrated in Figure 5-2 . An err or may be injected into the frame by ass erting gmii_tx_er at any point during the gmii_tx_en assertion window .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 55 UG155 March 24, 2008 Designing with the Cli ent-side GMII f or the 1000B ASE-X Standar d R Nor mal F rame Reception with Extension Field In accordance with the IEEE 802.
56 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 5: Using the Cli ent-side GMII Data P a th R F alse Ca rrier Figur e 5-6 illustrates the GMII signaling for a False Carrier condition.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 57 UG155 March 24, 2008 Designing with the Cli ent-side GMII f or the 1000B ASE-X Standar d R Bits[4:2]: Code Group Reception Indicators These signals indicate the r eception of part icular types of group, as defined below .
58 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 5: Using the Cli ent-side GMII Data P a th R be included in the frame supplied to the core . The RocketIO transceiver will r eplace these four bytes with the calculated CRC value.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 59 UG155 March 24, 2008 Designing with Client -side GMII for the SGMII Standa r d R Designing with Client-side GMII f or the SGMII Standard .
60 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 5: Using the Cli ent-side GMII Data P a th R 10 Megabit per Second F rame T ransmission The operation of the core r emains unchanged. It is the responsibility of the client logic (for example, an Ethernet MAC), to enter data at the corre ct rate.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 61 UG155 March 24, 2008 Using the GMII as an Internal Connection R 10 Megabit per Second F r ame Reception The operation of the core remains unchanged.
62 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 5: Using the Cli ent-side GMII Data P a th R Vir tex-II Pro and Virtex-II De vices Figure 5- 14 illustrates how to create an external GMII transmitter in a V irtex-II family device.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 63 UG155 March 24, 2008 Implementing Ext ernal GMII R Spar tan-3, Spar tan-3E and Spar tan-3A De vices The logic described pr eviously for V.
64 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 5: Using the Cli ent-side GMII Data P a th R Vir tex-4 De vices The logic described pr eviously for V irtex-II and V irtex-II Pro devices does not meet the input setup and hold r equireme nts for GMII with V irtex-4 devices.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 65 UG155 March 24, 2008 Implementing Ext ernal GMII R Vir tex-5 De vices Figure 5- 17 illustrates how to create an external GMII transmitter in a V irtex-5 family device. The signal names and l ogic shown on th e figur e exactly match those delivered with the example design.
66 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 5: Using the Cli ent-side GMII Data P a th R GMII Receiv er Logic Figure 5- 18 illustrates an external GMII r eceiver created in a V irtex-II family device.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 67 UG155 March 24, 2008 Implementing Ext ernal GMII R Figure 5-18 : External GMII Receiver Logic IOB LOGIC OBUFT FDDRRSE OP AD D Q '0&a.
68 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 5: Using the Cli ent-side GMII Data P a th R.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 69 UG155 March 24, 2008 R Chapter 6 The T en-Bit Interface This chapter provides general guidelines for creating 1000BASE-X, SGMII or Dynamic Standards S witching designs using the T en-Bit Interface (TBI).
70 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 6: The T en-Bit Interface R Receiv er Logic Vir tex-II and Virtex-II Pro De vices Figur e 6-2 illustrates an external r eceiver TBI in V irtex-II devices.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 71 UG155 March 24, 2008 T en-Bit-Interf ace Logic R synchronous to pma_rx_clk0_bufg and pma_rx_clk1_bufg , res pectively . These busses are then immediately register ed insi de the core on their respective clock.
72 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 6: The T en-Bit Interface R Spar tan-3, Spar tan-3E and Spar tan-3A De vices The logic described pr eviously .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 73 UG155 March 24, 2008 T en-Bit-Interf ace Logic R Vir tex-4 De vices Method 1 The V irtex-4 FPGA logic used by the example de sign deli vered with the core is il lustrated in Figure 6- 4 .
74 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 6: The T en-Bit Interface R Method 2 This logic from method 1 r e lies on pma_rx_clk0 and pma_rx_clk1 being exactly 180 degree s out of phase with each other since the falling e dge of pma_rx_clk0 is used in place of pma_rx_clk1 .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 75 UG155 March 24, 2008 T en-Bit-Interf ace Logic R Vir tex-5 De vices Method 1 The V irtex-5 FPGA logic used by the example de sign deli vered with the core is il lustrated in Figure 6- 6 .
76 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 6: The T en-Bit Interface R Method 2 This logic from method 1 r e lies on pma_rx_clk0 and pma_rx_clk1 being exactly 180 degree s out of phase with each ot her because the falling edge of pma_rx_clk0 is used in place of pma_rx_clk1 .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 77 UG155 March 24, 2008 Cloc k Sharing acr oss Multiple Cores with TBI R Cloc k Sharing acr oss Multiple Cores with TBI Figur e 6-8 illustrates sharing clock resources across multiple instantiations of the core when using the TBI.
78 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 6: The T en-Bit Interface R.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 79 UG155 March 24, 2008 R Chapter 7 1000BASE-X with RocketIO T ransceivers This chapter provides general guidelines for creating 1000BASE-X designs that use RocketIO transceivers for V irtex-II Pr o, V irtex-4, and V irtex-5 devices.
80 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 7: 1000B ASE-X with RocketIO T ransceiver s R Figure 7-1: 1000B ASE-X Connection to a Virtex-II Pro MGT Ether.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 81 UG155 March 24, 2008 Rocke tIO T ransceive r Logic R Vir tex-4 FX De vices The core is design ed to integrate with the V irtex-4 RocketIO MGT .
82 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 7: 1000B ASE-X with RocketIO T ransceiver s R Figure 7- 2: 1000BASE-X Co nnection to Virtex-4 MGT Ethernet 10.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 83 UG155 March 24, 2008 Rocke tIO T ransceive r Logic R Vir tex-5 LXT and SXT De vices The core is designed to integrate with the V irtex-5 RocketIO GTP transceiver .
84 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 7: 1000B ASE-X with RocketIO T ransceiver s R Figure 7-3: 1000B ASE-X Connection to Vir te x-5 GTP T ransceiv.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 85 UG155 March 24, 2008 Rocke tIO T ransceive r Logic R Vir tex-5 FXT De vices The core is designed to integrate with the V irtex-5 RocketIO GTX transceiver .
86 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 7: 1000B ASE-X with RocketIO T ransceiver s R Figure 7-4: 1000B ASE-X Connection to Vir te x-5 GTX T ransceiv.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 87 UG155 March 24, 2008 Clock Sharing Acr oss Multiple Cores wi th Roc ketIO R Cloc k Sharing Acr oss Multiple Cores with Roc ketIO Vir tex-.
88 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 7: 1000B ASE-X with RocketIO T ransceiver s R Vir tex-4 FX De vices Figur e 7-6 illustrates sharing clock resources across multiple instantiations of the core when using MGT s.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 89 UG155 March 24, 2008 Clock Sharing Acr oss Multiple Cores wi th Roc ketIO R Figure 7-6: Clock Management - Multipl e Core Instances, MGTs.
90 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 7: 1000B ASE-X with RocketIO T ransceiver s R Vir tex-5 LXT and SXT De vices Figur e 7-7 illustrates sharing clock resources across multiple instantiations of the core when using V ir tex-5 RocketIO GTP transceivers.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 91 UG155 March 24, 2008 Clock Sharing Acr oss Multiple Cores wi th Roc ketIO R Figure 7-7: Clock Management - Multiple Core Insta nces, Vir .
92 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 7: 1000B ASE-X with RocketIO T ransceiver s R Vir tex-5 FXT De vices Figur e 7-8 illustrates sharing clock resources across multiple instantiations of the core when using V ir tex-5 RocketIO GT X transceivers.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 93 UG155 March 24, 2008 Clock Sharing Acr oss Multiple Cores wi th Roc ketIO R Figure 7-8: Clock Management - Multiple Core Insta nces, Vir .
94 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 7: 1000B ASE-X with RocketIO T ransceiver s R.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 95 UG155 March 24, 2008 R Chapter 8 SGMII / Dynamic Standards Switching with RocketIO T ransceivers This chapter provides general guid eline.
96 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 8: SGMII / Dynamic St andar ds Switchin g with Roc ketIO T ransceivers R (see the next section). However , ther e are logical implementations where this can be reliable and has the benefit of lower logic utilization.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 97 UG155 March 24, 2008 Receiver Elastic Buf fer Implementat ions R Considering the 10 Mbps case, we would need 152200/5000 = 31 FIFO entries in the Elastic Buffer above and below the half way point to guarantee that the buf fer will not under or overflow during frame re ception.
98 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 8: SGMII / Dynamic St andar ds Switchin g with Roc ketIO T ransceivers R Closely Related Clock Sources Case 1 Figur e 8-2 illustrates a simplified diagram of a common situation wher e the core, in SGMII mode, is interfa ced to an external PHY device .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 99 UG155 March 24, 2008 RocketIO Logic with the Fabric Rx Elastic Buffer R Roc ketIO Logic with the F abric Rx Elastic Buffer The example design deliver ed with the core is split between two hierarchical layers, as illustra ted in Figure 4-3 .
100 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 8: SGMII / Dynamic St andar ds Switchin g with Roc ketIO T ransceivers R Figure 8-3: SGMII Connection to a V.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 101 UG155 March 24, 2008 RocketIO Logic with the Fabric Rx Elastic Buffer R Vir tex-4 De vices f or SGMII or Dynamic Standards Switching The core is designed to integrate with the V irtex-4 MGT .
102 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 8: SGMII / Dynamic St andar ds Switchin g with Roc ketIO T ransceivers R Caution! The PHY connected via SGMII ma y alwa ys provide dynamic SGMII data (when powered up).
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 103 UG155 March 24, 2008 RocketIO Logic with the Fabric Rx Elastic Buffer R Vir tex-5 LXT or SXT De vices f or SG MII or Dynamic Standards Switching The core is designed to integrate with th e V irtex-5 RocketIO GTP transceiver .
104 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 8: SGMII / Dynamic St andar ds Switchin g with Roc ketIO T ransceivers R .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 105 UG155 March 24, 2008 RocketIO Logic with the Fabric Rx Elastic Buffer R Vir tex-5 FXT De vices f or SGMII or Dynamic Standards Switching The core is designed to integrate with th e V irtex-5 RocketIO GTX transceiver .
106 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 8: SGMII / Dynamic St andar ds Switchin g with Roc ketIO T ransceivers R Getting Started Guide and the CORE Generator Guide, at www .xilinx.com/support /softwar e_manuals.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 107 UG155 March 24, 2008 Clock Sharing - Multiple Cores with RocketIO , Fabric Elastic Buffer R Cloc k Sharing - Multiple Cores with Roc ket.
108 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 8: SGMII / Dynamic St andar ds Switchin g with Roc ketIO T ransceivers R the device. For mor e information, see the V irtex-II Pro RocketIO T ransceiver User Guide .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 109 UG155 March 24, 2008 Clock Sharing - Multiple Cores with RocketIO , Fabric Elastic Buffer R Vir tex-4 FX De vices Figur e 8-8 illustrates sharing clock resources across multiple instantiations of the core when using the V irtex-4 RocketIO MGT .
110 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 8: SGMII / Dynamic St andar ds Switchin g with Roc ketIO T ransceivers R Figure 8-8: Clock Management with M.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 111 UG155 March 24, 2008 Clock Sharing - Multiple Cores with RocketIO , Fabric Elastic Buffer R Vir tex-5 LXT and SXT De vices Figur e 8-9 illustrates sharing clock resources across multiple instantiations of the core when using the V irtex-5 RocketIO GTP transc eiver .
112 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 8: SGMII / Dynamic St andar ds Switchin g with Roc ketIO T ransceivers R .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 113 UG155 March 24, 2008 Clock Sharing - Multiple Cores with RocketIO , Fabric Elastic Buffer R Vir tex-5 FXT De vices Figur e 8-9 illustrates sharing clock resources across multiple instantiations of the core when using the V irtex-5 RocketIO GTX transc eiver .
114 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 8: SGMII / Dynamic St andar ds Switchin g with Roc ketIO T ransceivers R .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 115 UG155 March 24, 2008 R Chapter 9 Configuration and Status This chapter provides general guidelines fo r configuring and monitoring the Ethernet 1000BASE-X PCS/PMA or SGMII core , including a detailed d escription of the core management regi sters.
116 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R . The MDIO bus system is a standardized interface for accessing the config uration and status registers of Etherne t PHY devices.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 117 UG155 March 24, 2008 MDIO Management Interface R Write T ransaction Figur e 9-2 shows a write transaction across the MDIO, defined as OP=”01. ” The addressed PHY device (with physical addr ess PHY AD) takes the 16-bit wor d in the Data field and writes it to the register at REGAD.
118 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R known by the MDIO master (i n this case an Ethernet MAC), and placed into the PHY AD field of the MDIO frame (see “MDIO T ransactions” ).
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 119 UG155 March 24, 2008 Management Regist ers R . Management Register s The contents of the Management Registers can be accessed using the REGAD fie ld of the MDIO frame. Contents will vary depending on the CORE Generator options, and are defined in the following sections in this guide.
120 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R Register 0: Control Register 2,3 PHY Identifier 4 Auto-Negotiation Advertisem.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 121 UG155 March 24, 2008 Management Regist ers R 0.13 Speed Selection (LSB) Always returns a 0 for this bit.
122 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R Register 1: Status Register MDIO Register 1: Status Register T able 9- 4: Stat us Register (Regist er 1) Bit(s) Name Description Attributes Default Va l u e 1.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 123 UG155 March 24, 2008 Management Regist ers R Registers 2 and 3: PHY Identifiers 1.4 Remote Fault 1 = Remote fault condition detected 0 = No re mote fault condition detecte d Read only Self- clearing on read 0 1.
124 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R Register 4: A uto-Negotiation Adver tisement T able 9- 5: PHY Identifier (Regist ers 2 and 3) Bit(s) Name Description Att ributes Default V alue 2.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 125 UG155 March 24, 2008 Management Regist ers R Register 5: A uto-Negotiation Link P ar tner Base 4.6 Half Duplex Always returns a ‘0’ for this bit since Half Duplex Mode is not supported ret ur n s 0 0 4.
126 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R Register 6: A uto-Negotiation Expansion Register 7: Ne xt P age T ransmit 5.6 Half Duplex 1 = Half Duplex Mode is supported 0 = Half Duplex Mo de is not supported read only 0 5.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 127 UG155 March 24, 2008 Management Regist ers R Register 8: Ne xt P age Receive T able 9- 9: Auto-Negotiation Next Page T ransm it (Register 7) Bit(s) Name Description Attr ib utes Default V alue 7.
128 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R Register 15: Extended Status 8.12 Acknowledge 2 1 = Comply with messa ge 0 = Cannot comply with message read only 0 8.1 1 T oggle V alue toggles between subsequent Next Pages read only 0 8.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 129 UG155 March 24, 2008 Management Regist ers R Register 16: V endor-Specific A uto -Negotiation Interr upt Control 1000BASE-X Standard Without the Optional A uto-Negotiation It is not the intention of this document to f ully describe the 1000BASE-X PCS Regi sters.
130 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R Register 0: Control Register MDIO Register 0 : Control Register T able 9- 14: Control Register (Regi ster 0) Bit(s) Name Description Attrib utes Default Va l u e 0.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 131 UG155 March 24, 2008 Management Regist ers R Register 1: Status Register 0.9 Restart Auto- Negotiation Ignore this bit because Auto-Negotiation is not included. read / w ri te 0 0.8 Duplex Mode Always returns a ‘1’ for this bit to signal Full-Duplex Mode.
132 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R 1.10 100BASE-T2 Full Duplex Always returns a ‘0’ for this bit since 100BASE-T2 Full Dupl ex is not supported retu rn s 0 0 1.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 133 UG155 March 24, 2008 Management Regist ers R Registers 2 and 3: Ph y Identifier Register 15: Extended Status MDIO Register s 2 and 3: PHY Identifier T able 9- 16: PHY I dentifier (Re gisters 2 and 3) Bit(s) Name Description A ttributes Default V alue 2.
134 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R T able 9- 17: Extended Status (Register 15) Bit(s) Name Description Attributes Default Va l u e 15.15 1000BASE-X Full Duplex Always returns a ‘1’ since 1000BASE- X Full Duplex is supported retu rn s 1 1 15.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 135 UG155 March 24, 2008 Management Regist ers R SGMII Standard Using the Optional A uto-Negotiation The registers pr ovided for SGMII operation in th is core are adaptations of those defined in IEEE 802.
136 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R T able 9- 19: SGMII Control (Regis ter 0) Bit(s) Name Description Attributes Default Va l u e 0.15 Reset 1 = Core Reset 0 = Normal Operation rea d /w ri te self clearing 0 0.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 137 UG155 March 24, 2008 Management Regist ers R Register 1: SGMII Status 0.5 Unidir ectiona l Enable Enable transmit r egardless of whether a valid link has been established read / w ri te 0 0.
138 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R 1.7 Unidirectional Ability Always returns ‘1,’ writes i gnored returns 1 1 1.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 139 UG155 March 24, 2008 Management Regist ers R Registers 2 and 3: PHY Identifier Register 4: SGMII A uto-Negotiation Adver tisement MDIO Register s 2 and 3: PHY Identifier T able 9- 21: PHY I dentifier (Re gisters 2 and 3) Bit(s) Name Description Att ributes Default V alue 2.
140 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R Register 5: SGMII A uto-Negotiation Link P ar tner Ability The Auto-Negotiati.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 141 UG155 March 24, 2008 Management Regist ers R Register 6: SGMII A uto-Negotiation Expansion Register 7: SGMII A uto-Negotiation Next P ag.
142 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R Register 8: SGMII Ne xt P age Receive 7.12 Acknowled ge 2 1 = Comply with message 0 = Cannot comply with message read/ write 0 7.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 143 UG155 March 24, 2008 Management Regist ers R Register 15: SGMII Extended Status MDIO Register 15: SGMII Extended Status T able 9- 27: SGM II Extended St atus Regist er (Register 15) Bit(s) Name Description Attrib utes Default V alue 15.
144 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R Register 16: SGMII A uto-Negotiation Interr upt Control MDIO Register 16: SGM.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 145 UG155 March 24, 2008 Management Regist ers R SGMII Standard without the Optional A uto-Negotiation The Registers provid ed for SGMII operation in this cor e are adaptations of those defined in IEEE 802.
146 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R T able 9- 30: SGMII Control (Regis ter 0) Bit(s) Name Description Attributes Default Va l u e 0.15 Reset 1 = Core Reset 0 = Normal Operation rea d /w ri te self clearing 0 0.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 147 UG155 March 24, 2008 Management Regist ers R Register 1: SGMII Status 0.5 Unidir ectiona l Enable Enable transmit r egardless of whether a valid link has been established read / w ri te 0 0.
148 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R 1.7 Unidirectional Ability Always returns ‘1,’ writes i gnored returns 1 1 1.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 149 UG155 March 24, 2008 Management Regist ers R Registers 2 and 3: PHY Identifier Register 4: SGMII A uto-Negotiation Adver tisement MDIO Register s 2 and 3: PHY Identifier T able 9- 32: PHY I dentifier (Re gisters 2 and 3) Bit(s) Name Description Att ributes Default V alue 2.
150 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R Register 15: SGMII Extended Status Both 1000BASE-X and SGMII Standards Ta b l e 9 - 3 5 describes regi ster 17, the vendor -speci fic Standard Selection Register .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 151 UG155 March 24, 2008 Optional Configuration V ector R Register 17: V endor-specific Standard Selection Register Optional Configuration V ector If “MDIO Management Interface” i s omitted, relevant configuration signa ls are br ought out of the cor e.
152 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 9: Configuratio n and Status R These signals may be changed by the user application at any time. The Clock Domain heading denotes the clock domain the configuration signal is registered in befor e use by the core.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 153 UG155 March 24, 2008 R Chapter 10 Auto-Negotiation This chapter provides general guidelines for using the Auto-Negotiation funct ion of the Ethernet 1000BASE-X PCS/PMA or SGMII core .
154 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 10: A uto-Negotiation R a link segment (the link partner) and to de tect corresponding operational modes that the link partner advertises. Figure 10-1 illustrates the operation of 1 000BASE-X Auto- Negotiation.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 155 UG155 March 24, 2008 Overvie w of Operation R SGMII Standard Figure 10- 2 illustrates the operation of SGMII Auto-Negotiation. Additional information about SGMII Standard Auto-Negotiation is provided in the f ollowing sections.
156 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 10: A uto-Negotiation R Setting the Configurable Link Timer The optional Auto-Negotiation function has a Link T imer ( link_timer[8:0] ) port. This po rt se ts th e p er io d of th e A ut o- Ne go ti at io n L in k Time r .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 157 UG155 March 24, 2008 R Chapter 1 1 Dynamic Switching of 1000BASE-X and SGMII Standards This chapter provides general guidelines for using the core to perform dynamic standards switching between 1000BASE-X and SGMII.
158 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 11: Dynamic Switching of 1000B ASE-X and SGMII Standar ds R Operation of the Core Selecting the P o wer-On /.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 159 UG155 March 24, 2008 Operation of the Core R replace the lin k_timer_value[8:0] port that is use d when the core is genera ted for a single sta ndard.
160 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 11: Dynamic Switching of 1000B ASE-X and SGMII Standar ds R.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 161 UG155 March 24, 2008 R Chapter 12 Constraining the Cor e This chapter defines the constraint r equirem ents of the Ethernet 1000BASE-X PCS/PM A or SGMII core. An example UCF is provided with the HDL example design for the core to implement the constraints defined in this chapter .
162 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 12: Constrai ning the Core R the HDL sour ce code for the example design and with the information co ntained in Chapter 7, “1000BASE-X with RocketIO T ransceiver s.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 163 UG155 March 24, 2008 Required Constraint s R #################################### ######################## # Rocket I/O placement: # ###.
164 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 12: Constrai ning the Core R Vir tex-4 Roc ketIO MGTs f o r 1000BASE-X Constraints The constraints defined in this se ction are implemented in the UCF for the example designs deliver ed with the core.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 165 UG155 March 24, 2008 Required Constraint s R The following UCF syntax shows these constraints be ing applied.
166 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 12: Constrai ning the Core R Vir tex-4 Roc ketIO MGTs f or SGMII or Dynamic Standards Switching Constraints All the constraints descri bed in the section “V irtex-4 RocketIO MGT s for 1000BASE-X Constraints.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 167 UG155 March 24, 2008 Required Constraint s R Vir tex-5 Roc ketIO GTP T r ansceiv ers f or SGMII or Dynamic Standards Switching Constrain.
168 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 12: Constrai ning the Core R NET "*clkin" TNM_NET = "clkin"; TIMESPEC "TS_clkin&quo.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 169 UG155 March 24, 2008 Required Constraint s R Clock P eriod Constraints The clocks provided to pma_rx_clk0 an d pma_rx_clk1 must be constrained for a clock frequency of 62.5 MHz. The clock pr ovided to gtx_clk must be constrained for a clock freque ncy of 125 MHz.
170 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 12: Constrai ning the Core R In addition, the example design provide s pad locking on the TBI f or several families. This is included as a guideline only , and there are no specific I/O location constraints for this core.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 171 UG155 March 24, 2008 Required Constraint s R INST "core_wrapper/tbi_rx_clk1_dcm" CLKOUT_PHASE_SHIFT = FIXED; INST "core_w.
172 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 12: Constrai ning the Core R Vir te x-5 De vices Figure 6-6, page 75 illustrates the TBI input logic pr ov ided by the example design for the V irtex- 5 family .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 173 UG155 March 24, 2008 Required Constraint s R #################################### ######################## # GMII Clock period Constrain.
174 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 12: Constrai ning the Core R GMII Input Setup/Hold Timing Input GMII timing specification Figure 12- 3 and Ta b l e 1 2 - 2 illustrate the setup and hold time window for the input GMII signals.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 175 UG155 March 24, 2008 Required Constraint s R timing which is achieved after place-and-route is r eported in the datasheet section of the TRCE report (created by the implement script).
176 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 12: Constrai ning the Core R INST "gmii_data_bus[6].delay_gmii_tx d" IDELAY_VALUE = "33"; INST "gmii_data_bus[5].delay_gmii_tx d" IDELAY_VALUE = "33"; INST "gmii_data_bus[4].
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 177 UG155 March 24, 2008 Required Constraint s R Data Sheet report: ----------------- All values displayed in nanoseconds (ns) Setup/Hold to.
178 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 12: Constrai ning the Core R.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 179 UG155 March 24, 2008 R Chapter 13 Interfacing to Other Cor es This chapter describes some additional design con siderations associated wi th implementing the Ethernet 1000BASE-X PCS/ PMA or SGMII cor e with other cores.
180 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 13 : Interfacing to Other Cores R Figure 13-1: 1-Gigabit Ethernet MAC Extended to Include 100 0BASE-X PCS wi.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 181 UG155 March 24, 2008 Integrating with the 1- Gigabit Ethernet MAC Core R Integr ation of the 1-Gigabit Ether net MA C Using a Rock etIO .
182 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 13 : Interfacing to Other Cores R • If both cores have been generated with th e optional management interf.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 183 UG155 March 24, 2008 Integrating with the 1- Gigabit Ethernet MAC Core R Features of this configuration include: • Direct internal connections are made between the GMII interfaces between th e two cores.
184 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 13 : Interfacing to Other Cores R Features of this configuration include: • Direct internal connections are made between the GMII interfaces between th e two cores.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 185 UG155 March 24, 2008 Integrating with the T ri-Mode Ethernet MA C Core R Features of this configuration include: • Direct internal connections are made between the GMII interfaces between th e two cores.
186 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 13 : Interfacing to Other Cores R • If both cores have been generated with th e optional management interf.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 187 UG155 March 24, 2008 Integrating with the T ri-Mode Ethernet MA C Core R Figure 13-6 : T ri-Speed Ethernet MAC Extended to use an SGMII .
188 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 13 : Interfacing to Other Cores R Integr ation of the T r i-Mode Ether net MA C to Provide SGMII (or Dynamic.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 189 UG155 March 24, 2008 Integrating with the T ri-Mode Ethernet MA C Core R Figure 13-7: T ri-S peed Ethernet MAC Extended to use an SGMII .
190 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 13 : Interfacing to Other Cores R Vir tex-4 De vices Figure 13- 8 illustrates the connections and clock mana.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 191 UG155 March 24, 2008 Integrating with the T ri-Mode Ethernet MA C Core R Figure 13-8: T ri-Spee d Ethernet MAC Extended to Use an SGMII .
192 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 13 : Interfacing to Other Cores R Vir tex -5 LXT and SXT De vices Figure 13- 9 illustrates the connections a.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 193 UG155 March 24, 2008 Integrating with the T ri-Mode Ethernet MA C Core R Figure 13-9 : T ri-Speed Ethernet MAC Extended to use an SGMII .
194 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 13 : Interfacing to Other Cores R Vir te x-5 FXT De vices Figure 13- 10 illustrates the connections and cloc.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 195 UG155 March 24, 2008 Integrating with the T ri-Mode Ethernet MA C Core R Figure 13-1 0: T ri-Speed Ethernet MA C Extended to use an SGMI.
196 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 13 : Interfacing to Other Cores R.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 197 UG155 March 24, 2008 R Chapter 14 Special Design Considerations This chapter describes the unique design cons id erations associated with implementing the Ethernet 1000BASE-X PCS/PMA or SGMII core.
198 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 14: Special Design Considera tions R page 38 ). This instructs the attached PMA SERD ES device to enter loopback mode as illustra ted in Figure 14-1 .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 199 UG155 March 24, 2008 Loopbac k R Figure 14-2: Loopbac k Implementation Whe n Using the Core with Roc ketIO T ransceivers Ethernet 1000BA.
200 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 14: Special Design Considera tions R.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 201 UG155 March 24, 2008 R Chapter 15 Implementing the Design This chapter describes how to simulate an d implement your d esign containing the Ethernet 1000BASE-X PCS/PMA or SGMII core.
202 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 15: Implem enting the De sign R See the XST User Gu ide for more information on cr eating pr oject and synthesis script files, and running the xst pr ogram.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 203 UG155 March 24, 2008 P ost-Implementation Simulation R layout and timing requir ements specified within t he PCF file. The par command outputs the placed and routed physical design to an NCD file.
204 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Chapter 15: Implem enting the De sign R In addition, use the fol lowing guidlines to determine the simulator type re.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 205 UG155 March 24, 2008 R Appendix A Cor e V erification, Compliance, and Inter operability V erification The Ethernet 1000BASE-X PCS/PMA or SGMII cor e has been verified with extensive simulation and har dware verification.
206 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Appendix A: Core V erification, Compli ance, and Inter operability R.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 207 UG155 March 24, 2008 R Appendix B Cor e Latency Core Latency The standalone core does not meet all the latency requirements specified in IEEE 802.3 due to the latency of the Elastic Buff ers in bo th TBI and RocketIO transceiver versions.
208 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Appendix B: Core Latency R Latency f or 1000BASE-X PCS and PMA Using a Rock etIO T ransceiv er These measuremen ts a.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 209 UG155 March 24, 2008 R Appendix C Calculating the DCM Fixed Phase Shift Va l u e Requirement f or DCM Phase Shifting A DCM is used in th.
210 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Appendix C: Calculating the DCM Fixed Phas e Shift V alue R phase shift values must be tested; increments of 4 (52, 56, 60, etc.) correspond to roughly one DCM tap, and consequently provide an appr opriate step s ize.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 211 UG155 March 24, 2008 R Appendix D 1000BASE-X State Machines This appendix is intended to serve as a refer ence for the basic operation of the 1000BASE-X IEEE 802.3 clause 36 tr ansmitter and receiv er state machi nes.
212 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Appendix D: 1000BASE-X State Machines R Star t of Frame Encoding The Ev en T ransmission Case Figure D-1 illustrates the translation of GMII encoding into the code-group stream performed by the PCS T ransmit Engine.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 213 UG155 March 24, 2008 Start of Frame Encoding R Reception of the Ev en Case Figure D-2 il l us t r at e s t h e re c e pt i on o f th e i.
214 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Appendix D: 1000BASE-X State Machines R Reception of the Odd Case Figure D-4 il l us t r at e s t h e re c e pt i on.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 215 UG155 March 24, 2008 End of Frame Encoding R Preamb le Shrinkage As previously described, a s ingle byte of preamble can be lost across the 1000BASE -X system (the actual loss occurs in the 1000BASE-X PCS transmitter state machine).
216 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Appendix D: 1000BASE-X State Machines R Reception of the Ev en Case Figure D-6 il l us t r at e s t h e re c e pt i .
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 217 UG155 March 24, 2008 End of Frame Encoding R Note: The first Idle to follo w the frame ter mination sequence will be a /I1/ if the frame ended with positive running dispar ity or a /I2/ if the frame ende d with nega tive running dispari ty .
218 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Appendix D: 1000BASE-X State Machines R.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 219 UG155 March 24, 2008 R Appendix E Rx Elastic Buf fer Specifications Th is ap pe nd ix is in te nd ed to s erv e a s a ref e renc e fo r .
220 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Appendix E: Rx Elas tic Buffer Specificatio ns R Vir tex-II Pro and Virtex-5 De vices Consider the V irtex-II Pro and V irtex-5 FPGA example, wher e the shaded ar ea repr esents the usable buffer availability fo r the duration of frame r eception.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 221 UG155 March 24, 2008 Rx Elastic Buffer s: Depths and Maximum Frame Sizes R Vir tex-4 FX Consider the V irtex-4 FX case also illustrate d in Figur e E-1 . The thresholds ar e diffe rent to that of the V i rtex-II Pro/V irtex -5 case, but the overall size of the buffer is the same.
222 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Appendix E: Rx Elas tic Buffer Specificatio ns R SGMII F abric Rx Elastic Buff er Figure E-2 illustrates the alter n.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 223 UG155 March 24, 2008 Rx Elastic Buffer s: Depths and Maximum Frame Sizes R TBI Rx Elastic Buff er F or SGMII / Dynamic Switching The Rx Elastic Buffer us ed for the SGMII or Dynamic Standa r ds Switching is identi cal to the method use in “SGMII Fabric Rx Elastic Buf f er .
224 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Appendix E: Rx Elas tic Buffer Specificatio ns R Note that this analysi s assumes that the buf fer is appr oximately at the half-full level at the start of the frame reception.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 225 UG155 March 24, 2008 Clock Co rrection R Idle Character Remo val at 100 Mbps (SGMII) At SGMII, 100 Mb ps, each byte is repeated 10 ti mes.
226 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Appendix E: Rx Elas tic Buffer Specificatio ns R Maxim um Frame Sizes for Sustained Frame Reception Sustained frame reception r efers to the maximum size of frames which can be continuously r eceived when each frame is separated by a minimum interframe gap.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 227 UG155 March 24, 2008 R Appendix F Debugging Guide This appendix provides assistance for debugging the core within a s ystem. For additional help, contact Xilinx by submitting a W ebCase at s upport.
228 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Appendix F: Debugging Gu ide R If data is being transmitted and r eceived betw een the core and its link partner , but with a high rate of packet los s, see “Problems with a High Bit Error Rate.
Ethernet 1000B ASE-X PC S/PMA or SGMII v9.1 www .xilinx.com 229 UG155 March 24, 2008 Prob lems with a High Bit Error Rate R Rock etIO T ransceiv er Specific When using a RocketIO transceiver , perform these additional checks: • Ensur e that the polarities of the TXN/TXP and RXN/RXP lines are not r eversed.
230 www .xilinx.com Ethernet 1000BASE -X PCS/PMA or SGMII v9.1 UG155 March 24, 2008 Appendix F: Debugging Gu ide R Rock etIO T ransceiv er Specific Checks Perform these additional checks when using a .
Een belangrijk punt na aankoop van elk apparaat Xilinx 1000BASE-X (of zelfs voordat je het koopt) is om de handleiding te lezen. Dit moeten wij doen vanwege een paar simpele redenen:
Als u nog geen Xilinx 1000BASE-X heb gekocht dan nu is een goed moment om kennis te maken met de basisgegevens van het product. Eerst kijk dan naar de eerste pagina\'s van de handleiding, die je hierboven vindt. Je moet daar de belangrijkste technische gegevens Xilinx 1000BASE-X vinden. Op dit manier kan je controleren of het apparaat aan jouw behoeften voldoet. Op de volgende pagina's van de handleiding Xilinx 1000BASE-X leer je over alle kenmerken van het product en krijg je informatie over de werking. De informatie die je over Xilinx 1000BASE-X krijgt, zal je zeker helpen om een besluit over de aankoop te nemen.
In een situatie waarin je al een beziter van Xilinx 1000BASE-X bent, maar toch heb je de instructies niet gelezen, moet je het doen voor de hierboven beschreven redenen. Je zult dan weten of je goed de alle beschikbare functies heb gebruikt, en of je fouten heb gemaakt die het leven van de Xilinx 1000BASE-X kunnen verkorten.
Maar de belangrijkste taak van de handleiding is om de gebruiker bij het oplossen van problemen te helpen met Xilinx 1000BASE-X . Bijna altijd, zal je daar het vinden Troubleshooting met de meest voorkomende storingen en defecten #MANUAl# samen met de instructies over hun opplosinge. Zelfs als je zelf niet kan om het probleem op te lossen, zal de instructie je de weg wijzen naar verdere andere procedure, bijv. door contact met de klantenservice of het dichtstbijzijnde servicecentrum.