Manuel d'utilisation / d'entretien du produit UG144 du fabricant Xilinx
Aller à la page of 138
R -- DISCONTINUED PROD UCT -- LogiCORE™ IP 1-Gigabit Ethernet MA C v8.5 User Guide UG144 April 24, 2009.
www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 -- DISCONTINUED P RODUCT -- Xilinx is providing this product documentation, hereinafter “Inf or mation, ” to y ou “AS IS” with no warranty of any kind, e xpress or implied.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com UG144 Apr il 24, 2009 -- DISCONTINUED PRODUCT -- Revision History The following table shows the revision history for this document. Date V ersion Revision 09/30/04 1.0 Initial Xilinx release. 04/28/05 2.
www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 -- DISCONTINUED P RODUCT --.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com UG144 Apr il 24, 2009 -- DISCONTINUED PRODUCT -- Schedule of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Schedule of Tables .
w ww .xilin x.com 1-Gigabit Ethernet MA C v8.5 User Guide UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 4: Designing with the Core General Design Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT - - Connecting the MDIO to an Inte rnally Integrated PHY . . . . . . . . . . . . . . . . . . . . . . . . 76 Connecting the MDIO to an External PHY .
w ww .xilin x.com 1-Gigabit Ethernet MA C v8.5 User Guide UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 12: Implementing Your Design Pre-implementation Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 9 UG144 Apr il 24, 2009 -- DISCONTINUED PRODUCT -- Chapter 1: Introducti on Chapter 2: Core Architecture Figure 2-1: Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 R -- DISCONTIN UED PRODUC T -- Chapter 7: Using the Ph ysical Side Interface Figure 7-1: External GMII Transmitter Logic . . . . . . . . . . . . . . . . . . . . . . . . .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 11 UG144 Apr il 24, 2009 R -- DISCONTIN UED PRODUC T -- Chapter 11: Interfaci ng to Other Cores Figure 11-1: 1-Gigabit Ethernet MA C Extended to Include 1000BASE-X PCS with TBI 114 Figure 11-2: 1-Gigabit Ethernet MA C Extended to Include 1000BASE-X PCS and PMA using a RocketIO Transceiver .
12 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 R -- DISCONTIN UED PRODUC T --.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 13 UG144 Apr il 24, 2009 -- DISCONTINUED PRODUCT -- Chapter 1: Introducti on Chapter 2: Core Architecture Table 2-1: Transmitter Client Inte rface Signal Pi ns . . . . . . . . . . . . . . . . . .
14 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 R -- DISCONTIN UED PRODUC T -- Table 8-8: Unicast Address Word 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 Table 8-9: Unicast Address Word 1 .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 15 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Pr eface About This Guide The LogiCORE™ IP 1-Gigabit Ethernet MAC User Guide pr ovides i.
16 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Preface: About This Guide R -- DISCONTINUED PROD UCT -- Con ventions This document uses the following convention s.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 17 UG144 Apr il 24, 2009 Con ventions R -- DISCONTINUED PRODUCT -- Online Document The following li nking conventi ons ar e used in this document: List of Acronyms The following table describes acr onyms used in this manual.
18 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Preface: About This Guide R -- DISCONTINUED PROD UCT -- NCD N ative Circuit Descri ption NGC Native Generic Circuit NG.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 19 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 1 Intr oduction The 1-Gigabit Ethernet MAC (G EMAC) core is a fully verified solution that supports V erilog-HDL and VHDL . In addition, the exam ple design provided with the cor e is provided in bo th V erilog and VHDL.
20 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 1: Introd uction R -- DISCONTINUED PRODUCT -- Specifications • IEEE 802.3 2005 • Reduced Gigabit Media Indepen dent Interface (RGMII) version 2. 0 T echnical Suppor t For technical support, see s upport.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 21 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 2 Cor e Ar chitectur e This chapter describes the GEMAC core ar chitec ture, including the major functional block s and all interfaces.
22 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 2: Core Arc hitecture R -- DISCONTINUED PRODUCT -- Core Components T ransmit Engine The T ransmit Engine accep.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 23 UG144 Apr il 24, 2009 Core Interfaces R -- DISCONTINUED PRODUCT - - Core Interfaces GMA C Core with Optio nal Management Interf ace Figur e 2-2 shows the pinout for the GEMAC cor e using the optional Management Interface.
24 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 2: Core Arc hitecture R -- DISCONTINUED PRODUCT -- GMA C Core Without Management In terf ace and With Address .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 25 UG144 Apr il 24, 2009 Core Interfaces R -- DISCONTINUED PRODUCT - - GEMA C Core Without Management Inte rf ace and Withou t Address Filter Figur e 2-4 shows the pinout for the GEMAC core when the optional Management Interface is omitted and the optional Address Filter is omitted.
26 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 2: Core Arc hitecture R -- DISCONTINUED PRODUCT -- All ports of the core ar e internal connection s in FPGA fabric.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 27 UG144 Apr il 24, 2009 Core Interfaces R -- DISCONTINUED PRODUCT - - Receiv er Interface Ta b l e 2 - 2 describes the client-side r eceiver signals of the GEMAC cor e. These signals ar e used by to transfer data to the client.
28 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 2: Core Arc hitecture R -- DISCONTINUED PRODUCT -- Management Interf ace (Optional) Ta b l e 2 - 4 describes the optional signals used by the client to access the ma nagement features of the GEMAC cor e.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 29 UG144 Apr il 24, 2009 Core Interfaces R -- DISCONTINUED PRODUCT - - Configuration V ector (Optional) Ta b l e 2 - 6 describes the alternative to the optional Management Interface signals.
30 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 2: Core Arc hitecture R -- DISCONTINUED PRODUCT -- MDIO Interf ace Ta b l e 2 - 9 describes the MDIO Interface signals . See “Using the MDIO interface,” on page 76 .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 31 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 3 Generating the Cor e The GEMAC core is generated through the Xilinx CORE Generator™ using a graphical user interface (GUI). This chapter descri bes the GUI options used to generate and customize the core.
32 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 3: Generating the Core R -- DISCONTINUED PRODUCT -- Component Name The component name is used as the bas e name of the output files generated for the cor e.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 33 UG144 Apr il 24, 2009 Output Generation R -- DISCONTINUED PRODUCT - - Output Generation The output files generated fr om the CORE Generator tool are placed in the CORE Generator pr oject directory .
34 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 3: Generating the Core R -- DISCONTINUED PRODUCT --.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 35 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 4 Designing with the Cor e This chapter provides general guidelines for creating designs using the GEMAC core. T o work with the example design included with the GEMAC core, see the 1-Gigabit Ethernet MAC Getting Started Guide .
36 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 4: Designing with the Core R -- DISCONTINUED PRODUCT -- Using the example design as a starting point, you can do the followi ng: • Edit the HDL top level of the example design file to: ♦ Change the clocking scheme.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 37 UG144 Apr il 24, 2009 General Design Guidelines R -- DISCONTINUED PRODUCT - - Implementing the 1-Gigabit Ether net MAC in Y o ur Application The example design can be s tudied as an example of how to do the following: • Instantiate the core fr om HDL.
38 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 4: Designing with the Core R -- DISCONTINUED PRODUCT -- See also Appendix C, “Calculati ng DCM Phase-Shifting” to meet Spartan-3, Spartan-3E and Spartan-3A device setup and hold requir ements for external GMII.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 39 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 5 Using the Client Side Data Path This chapter provides general guidelines for creating designs using the GEMAC core, including a detailed d escription of each client-side data flow in terface of the core.
40 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 5: Using the Client Side Data P ath R -- DISCONTINUED PRODUCT -- Frame parameter s (destination addr ess, sour ce address, l ength/type and opt ionally FCS) are supplied on the data bus according to the timing diagram.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 41 UG144 Apr il 24, 2009 Receiving Inbound Frames R -- DISCONTINUED PRODUCT - - F rame Reception with Errors Figur e 5-2 illustrates an unsuccessful frame r eceptio n (for example, a fragment frame or a frame with an incorr ect FCS).
42 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 5: Using the Client Side Data P ath R -- DISCONTINUED PRODUCT -- Client-Supplied FCS P a ssing If the GEMAC core is co nfigured to pass the FCS field to the client (see “Configur ation Registers,” on page 78 ), this is handled as shown in Fi gure 5-3 .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 43 UG144 Apr il 24, 2009 Receiving Inbound Frames R -- DISCONTINUED PRODUCT - - Maximum P er mitted F rame Length The maximum legal length of a frame specified in IEEE 802.3-2005 is 1518 bytes for non- VLAN tagged frames.
44 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 5: Using the Client Side Data P ath R -- DISCONTINUED PRODUCT -- Address Filter If the optional Address Filter is included in the core, the MAC is able to reject frames that do not contain a known addres s in their destination addr ess field.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 45 UG144 Apr il 24, 2009 Receiving Inbound Frames R -- DISCONTINUED PRODUCT - - T able 5-2: Bit Definition f or the Receiver St atistics V ector.
46 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 5: Using the Client Side Data P ath R -- DISCONTINUED PRODUCT -- Ta b l e 5 - 3 provides conversion information agai nst pr evious versions of the GEMAC. 20 Out of Bounds Asserted if the previous frame exceeded the specified IEEE802.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 47 UG144 Apr il 24, 2009 T ransmitting Outbound Frames R -- DISCONTINUED PRODUCT - - T ransmitting Outbound Frames Ethernet frames to be transmitted are pr esented to the client logic on the T ransmitter subset of the Client-Side Interface.
48 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 5: Using the Client Side Data P ath R -- DISCONTINUED PRODUCT -- Client-Supplied FCS P a ssing The transmission timing de picted in Figure 5-7 shows the GEMAC core co nfigured to have the FCS field passed in by the client.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 49 UG144 Apr il 24, 2009 T ransmitting Outbound Frames R -- DISCONTINUED PRODUCT - - VLAN T agged F rames Figur e 5-9 illustrates tran smission of a VLAN ta gged fr ame (if enabled).
50 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 5: Using the Client Side Data P ath R -- DISCONTINUED PRODUCT -- T ransmitter Stat istics V ector The statistics for the transmitted frame are contained within the tx_statistic_vector .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 51 UG144 Apr il 24, 2009 T ransmitting Outbound Frames R -- DISCONTINUED PRODUCT - - T able 5-4: Bit Definition for the T ransmitter Statistic s.
52 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 5: Using the Client Side Data P ath R -- DISCONTINUED PRODUCT -- Ta b l e 5 - 5 provides conversion information agai nst pr evious versions of the GEMAC. T able 5-5: Tx Statistics con versio n to prev ious core GEMA C core versions V ersio n 8.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 53 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 6 Using Flow Contr ol This chapter describes the operation of the fl ow-contr ol logic of the GEMAC core. The flow control block is designed to clause 31 of the IEEE 802.
54 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 6: Using Flow Contr ol R -- DISCONTINUED PRODUCT -- The user MAC on the left side has a refere nce clock slightly slower than the nominal 125 MHz. The link partner MAC on the right side has a refe rence clock slightly faster than the nominal 125 MHz.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 55 UG144 Apr il 24, 2009 Overvie w of Flow Cont ro l R -- DISCONTINUED PRODUCT - - P ause Control F rames Control frames ar e a unique type of Ethe rnet frame, defined in clause 31 of the IEEE 802.
56 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 6: Using Flow Contr ol R -- DISCONTINUED PRODUCT -- Flow Contr ol Operation of the GEMA C T ransmitting a P A .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 57 UG144 Apr il 24, 2009 Flow Contr ol Operation of the GEMA C R -- DISCONTINUED PRODUCT - - Receiving a P ause Control F rame Core Initiated Respons e to a P ause Request An error fr ee control frame is a received frame matching the format of Figur e 6-2 .
58 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 6: Using Flow Contr ol R -- DISCONTINUED PRODUCT -- Flow Contr ol Implementation Example This section provides a basic overview of a Flow Control implementation, using Figure 6-1 as a sample.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 59 UG144 Apr il 24, 2009 Flow Contr ol Implementation Example R -- DISCONTINUED PRODUCT - - Operation Figur e 6-4 illustrates the FIFO occupancy over a period of time. The following describes the s equence of flow contr ol operation.
60 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 6: Using Flow Contr ol R -- DISCONTINUED PRODUCT --.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 61 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 7 Using the Physical Side Interface This chapter provides general guidelines fo r creating designs using the Physica l Side Interface of the GEMAC core.
62 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 7: Using the Physi cal Side I nterface R -- DISCONTINUED PRODUCT -- Figure 7-1: External GMII T rans mitter Lo.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 63 UG144 Apr il 24, 2009 Implementing Ext ernal GMII R -- DISCONTINUED PRODUCT - - GMII Receiv er Logic Spar tan-3, Spar tan-3E, Spar tan-3A and.
64 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 7: Using the Physi cal Side I nterface R -- DISCONTINUED PRODUCT -- DCM Reset circuitr y A DCM reset module, not illustrate d in Figu re 7-2 , is also present and is instantiated in the example design ne xt to the DCM.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 65 UG144 Apr il 24, 2009 Implementing Ext ernal GMII R -- DISCONTINUED PRODUCT - - Vir tex-5 De vices An IODELA Y component may be used on the cloc k, data and control paths, as illustrated in Figure 7- 3 .
66 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 7: Using the Physi cal Side I nterface R -- DISCONTINUED PRODUCT -- Implementing External RGMII The HDL exampl.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 67 UG144 Apr il 24, 2009 Implementing Ext ernal RGMII R -- DISCONTINUED PRODUCT - - Figur e 7-4 shows that th e output transmitter signals ar e .
68 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 7: Using the Physi cal Side I nterface R -- DISCONTINUED PRODUCT -- The logic required to forward the transmit.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 69 UG144 Apr il 24, 2009 Implementing Ext ernal RGMII R -- DISCONTINUED PRODUCT - - Vir tex-5 De vices The same logic that is used in Figur e 7-5 can also be used without modification for V irtex-5 devices.
70 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 7: Using the Physi cal Side I nterface R -- DISCONTINUED PRODUCT -- The logic required to forward the transmitter clock is also shown. It has ma tching logic to the data and control signals to pr ovide a kn own relationship between the signals.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 71 UG144 Apr il 24, 2009 Implementing Ext ernal RGMII R -- DISCONTINUED PRODUCT - - Figure 7-7: External RGMI I Receiver Logic rgmii_rxc IBUFG I.
72 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 7: Using the Physi cal Side I nterface R -- DISCONTINUED PRODUCT -- Vir tex-4 De vices Figur e 7-8 shows using the physical r eceiver interf ace of the core to create an external RGMII in a V irtex-4 device.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 73 UG144 Apr il 24, 2009 Implementing Ext ernal RGMII R -- DISCONTINUED PRODUCT - - • This can be achieved by connecting the reset_200ms signal to the reset_200ms_in signal at any level of example design HDL hierarchy .
74 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 7: Using the Physi cal Side I nterface R -- DISCONTINUED PRODUCT -- Vir tex-5 De vices Figur e 7-9 shows using the physical r eceiver interf ace of the core to create an external RGMII in a V irtex-5 device.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 75 UG144 Apr il 24, 2009 Implementing Ext ernal RGMII R -- DISCONTINUED PRODUCT - - RGMII Inband Status Decoding Logic The inband status decoding logic is common to all device fam ilies. Figure 7-10 illustrates the decoding of RGMII inband status information.
76 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 7: Using the Physi cal Side I nterface R -- DISCONTINUED PRODUCT -- Using the MDIO interface The MDIO interfac.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 77 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 8 Configuration and Status This chapter provides general guidelines f or configuring and monitoring the GEMAC core, including a detailed description of the client-si de management inter face and r egisters present in the cor e.
78 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 8: Configurat ion and Status R -- DISCONTINUED PRODUCT -- Configuration Registers After a power -up or system reset, the client may reconf igure the core parameters using their defaults.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 79 UG144 Apr il 24, 2009 Using the Optional Mana g ement Interface R -- DISCONTINUED PRODUCT - - Receiv er Configuration The register con tents for the two r eceiver configuration words ar e shown in Ta b l e 8 - 3 and Ta b l e 8 - 4 .
80 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 8: Configurat ion and Status R -- DISCONTINUED PRODUCT -- T ransmitter Configuration The register contents for the T ransmitte r Configuration W ord ar e d escribed in Ta b l e 8 - 5 .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 81 UG144 Apr il 24, 2009 Using the Optional Mana g ement Interface R -- DISCONTINUED PRODUCT - - Flow Control Configur ation Ta b l e 8 - 6 li sts the register contents for the Flow Control Configuration W ord.
82 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 8: Configurat ion and Status R -- DISCONTINUED PRODUCT -- MDIO Configuration The register contents for the Management Configur ation W ord ar e described in Ta b l e 8 - 7 .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 83 UG144 Apr il 24, 2009 Using the Optional Mana g ement Interface R -- DISCONTINUED PRODUCT - - The Addr ess Filter can be programmed to r esp ond to four separate additional ad dresses stored in an addr ess table in the Addr ess Filter .
84 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 8: Configurat ion and Status R -- DISCONTINUED PRODUCT -- Reading fr om the configuration r egister words is similar , but the upper host_opcode bit should be ‘1,’ as shown in Figure 8- 2 .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 85 UG144 Apr il 24, 2009 Using the Optional Mana g ement Interface R -- DISCONTINUED PRODUCT - - Accessing the Address T able T o write to a spe.
86 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 8: Configurat ion and Status R -- DISCONTINUED PRODUCT -- MDIO Interf ace Introduction to MDIO The MDIO interface for 1 Gbps operation (and slower speeds) is defined in IEEE 802.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 87 UG144 Apr il 24, 2009 Using the Optional Mana g ement Interface R -- DISCONTINUED PRODUCT - - There ar e two different transaction types of MDIO for write and read. They ar e described in this section.
88 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 8: Configurat ion and Status R -- DISCONTINUED PRODUCT -- Read T ransaction Figur e 8-7 shows a Read transaction; this is defined by OP=”10”. The addressed MMD (PHY AD) device ret urns the 16-bit wor d from the r egister at REGAD.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 89 UG144 Apr il 24, 2009 Using the Optional Mana g ement Interface R -- DISCONTINUED PRODUCT - - Figur e 8-8 shows access to the MDIO interfac e thr ough the Management Interface.
90 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 8: Configurat ion and Status R -- DISCONTINUED PRODUCT -- Access without the Management Interface If the optio.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 91 UG144 Apr il 24, 2009 Access without t he Management Int erface R -- DISCONTINUED PRODUCT - - 53 “Receiver Configuration Wo r d 1 ” bit 31 n/a Receiver Reset . When this bit is ‘1,’ the receiver is held in reset.
92 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 8: Configurat ion and Status R -- DISCONTINUED PRODUCT -- 62 “Flow Control Configuration Wo r d ” bit 30 gtx_clk Receive Flow Control Enable .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 93 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 9 Constraining the Cor e This chapter defines the GEMAC core constr a int requirements. An exa mple UCF that implements the constraints de fined in this chapter is pr ovided with the HDL example design for the cor e.
94 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 9: Constrai ning the Co re R -- DISCONTINUED PRODUCT -- PERIOD Constraints f or Clock Net s gtx_clk The clock provided to gtx_clk must be constrained for a clock fr equency of 12 5 MHz.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 95 UG144 Apr il 24, 2009 Required Constraint s R -- DISCONTINUED PRODUCT - - The UCF syntax which follows targ ets the MDIO logic flip-flops and gr oups them together . Reduced clock period constraints are then appli ed.
96 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 9: Constrai ning the Co re R -- DISCONTINUED PRODUCT -- Timespecs f or Reset Logic within the Core Internally , the core is divided into clock/r e set domains that group elements with common clock and r eset signals.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 97 UG144 Apr il 24, 2009 Required Constraint s R -- DISCONTINUED PRODUCT - - GMII Input Setup/Hold Timing Figur e 9-1 and Ta b l e 9 - 1 illustrate the setup and hold time window for the i nput GMII signals.
98 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 9: Constrai ning the Co re R -- DISCONTINUED PRODUCT -- The fixed phase-s hift is applied to the DCM using the.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 99 UG144 Apr il 24, 2009 Required Constraint s R -- DISCONTINUED PRODUCT - - Understanding Timing Repor t s f o r GMII Setup/Hold Timing Non-Vir tex-5 de vices Setup and Hold results for t he GMII input bus can be foun d in the data sheet se ction of the T iming Report.
100 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 9: Constrai ning the Co re R -- DISCONTINUED PRODUCT -- Data Sheet report: ----------------- All values displ.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 101 UG144 Apr il 24, 2009 Required Constraint s R -- DISCONTINUED PRODUCT - - The implementation requir es 7.
102 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 9: Constrai ning the Co re R -- DISCONTINUED PRODUCT -- The RGMII v2.0 is a 1.5 volt signal-lev el in terface. The 1.5 volt HSTL Class I SelectI O standard is used for RGMII interface p ins.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 103 UG144 Apr il 24, 2009 Required Constraint s R -- DISCONTINUED PRODUCT - - INST "rgmii_rxd<?>" TNM = IN_RGMII; INST "rgm.
104 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 9: Constrai ning the Co re R -- DISCONTINUED PRODUCT -- INST *rgmii_interface/delay_rgmii_tx _clk IDELAY_TYPE.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 105 UG144 Apr il 24, 2009 Required Constraint s R -- DISCONTINUED PRODUCT - - Understanding Timing Repor ts f or RGMII Setup/Hold timing Non-Vir tex-5 De vices Setup and Hold r esults for the RGMII i nput bus can be found in the data sheet section of the T iming Report.
106 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 9: Constrai ning the Co re R -- DISCONTINUED PRODUCT -- Data Sheet report: ----------------- All values displ.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 107 UG144 Apr il 24, 2009 Required Constraint s R -- DISCONTINUED PRODUCT - - This is less than the 1 ns required, so ther e is slack. Equally for the –ve edge, we have –1 1.179 ns of setup—this edge is at time 12 ns and therefor e this equates to a setup of 0.
108 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 9: Constrai ning the Co re R -- DISCONTINUED PRODUCT --.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 109 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 10 Clocking and Resetting This chapter describes clock management co nsiderations that are associated with implementing the GEMAC core.
110 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 10: Clocking and Resett ing R -- DISCONTINUED PRODUCT -- With RGMII Standard Cloc king Scheme Figure 10- 2 illustrates the clock management used with an external RGMII inter face.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 111 UG144 Apr il 24, 2009 Multiple Cores R -- DISCONTINUED PRODUCT - - Note: Although not illustrated, if the optional Management Interface is used, host_clk can also be shared between cores.
112 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 10: Clocking and Resett ing R -- DISCONTINUED PRODUCT -- Reset Conditions Internally , the core is divided up into clock/reset domains that gr oup together elements with common clock and r eset signals.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 113 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 1 1 Interfacing to Other Cor es Ethernet 1000Base-X PCS/PMA or SGMII Core The GEM.
114 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 11 : Interfacing to Other Cores R -- DISCONTINUED PRODUCT -- Integr ation to Provide 1000BASE-X PCS with TBI .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 115 UG144 Apr il 24, 2009 Ethernet 1000 Base-X PCS/PMA or SGMII Core R -- DISCONTINUED PRODUCT - - Integr ation to Provide 1000BASE-X PCS and PM.
116 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 11 : Interfacing to Other Cores R -- DISCONTINUED PRODUCT -- Figure 1 1-2 illustrates the foll owing: • Direct internal connections are made between the GMII interfaces between the two cores.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 117 UG144 Apr il 24, 2009 Ethernet 1000 Base-X PCS/PMA or SGMII Core R -- DISCONTINUED PRODUCT - - Vir tex-5 LXT and SXT De vices Figure 1 1-3 i.
118 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 11 : Interfacing to Other Cores R -- DISCONTINUED PRODUCT -- • Due to the embedded Receiver Elastic Buffer in the Ethernet 1000 BASE-X PCS/PMA or SGMII cor e , the entir e GMII is synchr onous to a single clock domain.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 119 UG144 Apr il 24, 2009 Ethernet Stat istics Core R -- DISCONTINUED PRODUCT - - Features of this configuration include: • Direct internal connections are made between the GMII interfaces between the two cores.
120 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 11 : Interfacing to Other Cores R -- DISCONTINUED PRODUCT -- Figure 1 1-5 illustrates connecting the Ethern et Statistics core to the MAC.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 121 UG144 Apr il 24, 2009 Ethernet Stat istics Core R -- DISCONTINUED PRODUCT - - The management interfaces of the two cores ca n be shar ed by avoidi ng bus conflict, as follows: • Selecting a dif ferent addr ess range for the st atistics to that of the M AC configuration regis ters.
122 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 11 : Interfacing to Other Cores R -- DISCONTINUED PRODUCT --.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 123 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 12 Implementing Y our Design This chapter describes how to simulate an d implement your d esign containing the GEMAC core.
124 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 12: Implementing Y our Design R -- DISCONTINUED PRODUCT -- T o synthesize the design, run: $ xst -ifn top_level_module_name .scr See the XST User Gu ide for mor e information on creating pr oject and synthesis script files, and running the xst pr ogram.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 125 UG144 Apr il 24, 2009 P ost-Implementation Simulation R -- DISCONTINUED PRODUCT - - Placing-and-Routing the Design Execute the par command t.
126 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Chapter 12: Implementing Y our Design R -- DISCONTINUED PRODUCT -- Using the Model For information about settin g up .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 127 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Appendix A Using the Client-Side FIFO The example design provide d with the GEMAC core contains a FIFO used on the client- side of the core.
128 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Appendix A: Using the Client-Side FIFO R -- DISCONTINUED PRODUCT -- Interfaces Tr a n s m i t F I F O Ta b l e A - 1 describ es the transmit FIFO client interface. For more information on the MAC client interface, see “T ransmitting Outbound Frames,” on page 47 .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 129 UG144 Apr il 24, 2009 Interfaces R -- DISCONTINUED PRODUCT -- Receiv e FIFO Ta b l e A - 3 describes the recei ve FIFO client interface. For mor e information on the MAC client interface, see “Receiving Inbound Frames,” on page 39 .
130 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Appendix A: Using the Client-Side FIFO R -- DISCONTINUED PRODUCT -- Overview of LocalLink Interface Data Flow Data is.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 131 UG144 Apr il 24, 2009 Functional Operat ion R -- DISCONTINUED PRODUCT -- Functional Operation Cloc k Requirements The FIFO is designed t o work with rx_clk and tx_clk running at MAC clock speeds up to 125 MHz.
132 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Appendix A: Using the Client-Side FIFO R -- DISCONTINUED PRODUCT -- V erilog The compiler directive FULL_DUPLEX_ONLY .
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 133 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Appendix B Cor e V erification, Compliance, and Inter operability The GEMAC core has been verified with ex tensive simulation and har d ware testing.
134 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Appendix B: Core V erification, Compli ance, and Interopera bility R -- DISCONTINUED PRODUCT --.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 135 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Appendix C Calculating DCM Phase-Shifting DCM Phase-Shifting A DCM is used in the receive.
136 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Appendix C: Calculating DCM Phase-Shifting R -- DISCONTINUED PRODUCT -- Perform a complete sweep o f phase-shift settings during your initial system test.
1-Gigabit Ethernet MA C v8.5 User Guide www .xilinx.com 137 UG144 Apr il 24, 2009 R -- DISCONTINUED PRODUCT -- Appendix D Cor e Latency T ransmit P ath Latency As measured fr om a data octet accepted .
138 www .xilinx.com 1-Gigabit Ethernet MA C v8.5 Use r Guide UG144 Apr il 24, 2009 Appendix D: Core Latenc y R -- DISCONTINUED PRODUCT --.
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté Xilinx UG144 c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du Xilinx UG144 - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation Xilinx UG144, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le Xilinx UG144 va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le Xilinx UG144, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du Xilinx UG144.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le Xilinx UG144. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei Xilinx UG144 ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.