Page 3 - Revision History
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com UG144 April 24, 2009 -- DISCONTINUED PRODUCT -- Revision History The following table shows the revision history for this document. Date Version Revision 09/30/04 1.0 Initial Xilinx release. 04/28/05 2.0 Updated to 1-Gigabit Ethernet MAC version 6...
Page 5 - Table of Contents
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com UG144 April 24, 2009 -- DISCONTINUED PRODUCT -- Schedule of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Schedule of Tables . . . . . . . . . . . . . . . . . . . . ....
Page 9 - Schedule of Figures
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 9 UG144 April 24, 2009 -- DISCONTINUED PRODUCT -- Chapter 1: Introduction Chapter 2: Core Architecture Figure 2-1: Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Figure 2...
Page 13 - Schedule of Tables
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 13 UG144 April 24, 2009 -- DISCONTINUED PRODUCT -- Chapter 1: Introduction Chapter 2: Core Architecture Table 2-1: Transmitter Client Interface Signal Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Table 2-2: Receive Clie...
Page 15 - Preface; About This Guide; Guide Contents
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 15 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Preface About This Guide The LogiCORE™ IP 1-Gigabit Ethernet MAC User Guide provides information about generating the core, customizing and simulating the core utilizing the provided example de...
Page 16 - Conventions; Typographical
16 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Preface: About This Guide R -- DISCONTINUED PRODUCT -- Conventions This document uses the following conventions. An example illustrates each convention. Typographical The following typographical conventions are used in thi...
Page 17 - The following table describes acronyms used in this manual.
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 17 UG144 April 24, 2009 Conventions R -- DISCONTINUED PRODUCT -- Online Document The following linking conventions are used in this document: List of Acronyms The following table describes acronyms used in this manual. Convention Meaning or Use E...
Page 19 - Chapter 1; Introduction; About the Core; Recommended Design Experience; Related Xilinx Ethernet Products and Services
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 19 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 1 Introduction The 1-Gigabit Ethernet MAC (GEMAC) core is a fully verified solution that supports Verilog-HDL and VHDL. In addition, the example design provided with the core is provide...
Page 20 - Specifications; Feedback; GEMAC Core
20 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 1: Introduction R -- DISCONTINUED PRODUCT -- Specifications • IEEE 802.3 2005 • Reduced Gigabit Media Independent Interface (RGMII) version 2.0 Technical Support For technical support, see support.xilinx.com/ . Que...
Page 21 - Chapter 2; Core Architecture; System Overview
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 21 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 2 Core Architecture This chapter describes the GEMAC core architecture, including the major functional blocks and all interfaces. System Overview Figure 2-1 illustrates a block diagram ...
Page 22 - Core Components
22 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 2: Core Architecture R -- DISCONTINUED PRODUCT -- Core Components Transmit Engine The Transmit Engine accepts Ethernet frame data from the Client Transmitter Interface, adds the preamble field to the start of the f...
Page 23 - Core Interfaces; GMAC Core with Optional Management Interface
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 23 UG144 April 24, 2009 Core Interfaces R -- DISCONTINUED PRODUCT -- Core Interfaces GMAC Core with Optional Management Interface Figure 2-2 shows the pinout for the GEMAC core using the optional Management Interface. The interface is unchanged, ...
Page 24 - GMAC Core Without Management Interface and With Address Filter
24 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 2: Core Architecture R -- DISCONTINUED PRODUCT -- GMAC Core Without Management Interface and With Address Filter Figure 2-3 shows the pinout for the GEMAC core when the optional Management Interface is omitted and ...
Page 26 - Transmitter Interface
26 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 2: Core Architecture R -- DISCONTINUED PRODUCT -- All ports of the core are internal connections in FPGA fabric. An HDL example design is delivered with the core that will add IBUFs, OBUFs, and IOB flip-flops to th...
Page 27 - Receiver Interface; Flow Control Interface
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 27 UG144 April 24, 2009 Core Interfaces R -- DISCONTINUED PRODUCT -- Receiver Interface Table 2-2 describes the client-side receiver signals of the GEMAC core. These signals are used by to transfer data to the client. See “Receiving Inbound Frame...
Page 29 - Asynchronous Reset; Physical Side Interface; GMII
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 29 UG144 April 24, 2009 Core Interfaces R -- DISCONTINUED PRODUCT -- Configuration Vector (Optional) Table 2-6 describes the alternative to the optional Management Interface signals. The Configuration Vector uses direct inputs to the core to repl...
Page 31 - Chapter 3; Generating the Core; Graphical User Interface
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 31 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 3 Generating the Core The GEMAC core is generated through the Xilinx CORE Generator™ using a graphical user interface (GUI). This chapter describes the GUI options used to generate and ...
Page 32 - Component Name; Address Filter; Number of Address Table Entries; Parameter Values in the XCO File
32 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 3: Generating the Core R -- DISCONTINUED PRODUCT -- Component Name The component name is used as the base name of the output files generated for the core. Names must begin with a letter and must be composed from th...
Page 33 - Output Generation
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 33 UG144 April 24, 2009 Output Generation R -- DISCONTINUED PRODUCT -- Output Generation The output files generated from the CORE Generator tool are placed in the CORE Generator project directory. The list of output files includes the following i...
Page 35 - Chapter 4; Designing with the Core; General Design Guidelines; Design Steps; Using the Example Design as a Starting Point
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 35 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 4 Designing with the Core This chapter provides general guidelines for creating designs using the GEMAC core. To work with the example design included with the GEMAC core, see the 1-Gig...
Page 37 - Implementing the 1-Gigabit Ethernet MAC in Your Application; Know the Degree of Difficulty
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 37 UG144 April 24, 2009 General Design Guidelines R -- DISCONTINUED PRODUCT -- Implementing the 1-Gigabit Ethernet MAC in Your Application The example design can be studied as an example of how to do the following: • Instantiate the core from HDL...
Page 38 - Keep it Registered; Use Supported Design Flows
38 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 4: Designing with the Core R -- DISCONTINUED PRODUCT -- See also Appendix C, “Calculating DCM Phase-Shifting” to meet Spartan-3, Spartan-3E and Spartan-3A device setup and hold requirements for external GMII. Keep ...
Page 39 - Chapter 5; Using the Client Side Data Path; Receiving Inbound Frames; Normal Frame Reception
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 39 UG144 April 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 description of each client-side data flow inte...
Page 41 - Frame Reception with Errors
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 41 UG144 April 24, 2009 Receiving Inbound Frames R -- DISCONTINUED PRODUCT -- Frame Reception with Errors Figure 5-2 illustrates an unsuccessful frame reception (for example, a fragment frame or a frame with an incorrect FCS). In this case, the r...
Page 42 - Client-Supplied FCS Passing; VLAN Tagged Frames
42 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 5: Using the Client Side Data Path R -- DISCONTINUED PRODUCT -- Client-Supplied FCS Passing If the GEMAC core is configured to pass the FCS field to the client (see “Configuration Registers,” on page 78 ), this is ...
Page 43 - Maximum Permitted Frame Length; Length/Type Field Error Checks; Enabled; Disabled
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 43 UG144 April 24, 2009 Receiving Inbound Frames R -- DISCONTINUED PRODUCT -- Maximum Permitted Frame Length The maximum legal length of a frame specified in IEEE 802.3-2005 is 1518 bytes for non- VLAN tagged frames. VLAN tagged frames may be ext...
Page 47 - Transmitting Outbound Frames; Normal Frame Transmission; Padding
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 47 UG144 April 24, 2009 Transmitting Outbound Frames R -- DISCONTINUED PRODUCT -- Transmitting Outbound Frames Ethernet frames to be transmitted are presented to the client logic on the Transmitter subset of the Client-Side Interface. For port de...
Page 48 - Client Underrun
48 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 5: Using the Client Side Data Path R -- DISCONTINUED PRODUCT -- Client-Supplied FCS Passing The transmission timing depicted in Figure 5-7 shows the GEMAC core configured to have the FCS field passed in by the clie...
Page 49 - Inter-Frame Gap Adjustment
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 49 UG144 April 24, 2009 Transmitting Outbound Frames R -- DISCONTINUED PRODUCT -- VLAN Tagged Frames Figure 5-9 illustrates transmission of a VLAN tagged frame (if enabled). The handshaking signals across the interface do not change; however, the...
Page 50 - Transmitter Statistics Vector
50 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 5: Using the Client Side Data Path R -- DISCONTINUED PRODUCT -- Transmitter Statistics Vector The statistics for the transmitted frame are contained within the tx_statistic_vector . The vector is driven synchronous...
Page 53 - Chapter 6; Using Flow Control; Overview of Flow Control; Flow Control Requirement
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 53 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 6 Using Flow Control This chapter describes the operation of the flow-control logic of the GEMAC core. The flow control block is designed to clause 31 of the IEEE 802.3-2005 standard. T...
Page 54 - Flow Control Basics
54 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 6: Using Flow Control R -- DISCONTINUED PRODUCT -- The user MAC on the left side has a reference clock slightly slower than the nominal 125 MHz. The link partner MAC on the right side has a reference clock slightly...
Page 55 - Pause Control Frames
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 55 UG144 April 24, 2009 Overview of Flow Control R -- DISCONTINUED PRODUCT -- Pause Control Frames Control frames are a unique type of Ethernet frame, defined in clause 31 of the IEEE 802.3- 2005 standard. Control frames are differentiated from o...
Page 56 - Flow Control Operation of the GEMAC; Transmitting a PAUSE Control Frame; Core-initiated Pause Request; Client Initiated Pause Request
56 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 6: Using Flow Control R -- DISCONTINUED PRODUCT -- Flow Control Operation of the GEMAC Transmitting a PAUSE Control Frame Core-initiated Pause Request If the GEMAC core is configured to support transmit flow contro...
Page 57 - Receiving a Pause Control Frame; Core Initiated Response to a Pause Request; Pause Frame Reception Disabled; Client Initiated Response to a Pause Request
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 57 UG144 April 24, 2009 Flow Control Operation of the GEMAC R -- DISCONTINUED PRODUCT -- Receiving a Pause Control Frame Core Initiated Response to a Pause Request An error free control frame is a received frame matching the format of Figure 6-2 ...
Page 58 - Flow Control Implementation Example; Method
58 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 6: Using Flow Control R -- DISCONTINUED PRODUCT -- Flow Control Implementation Example This section provides a basic overview of a Flow Control implementation, using Figure 6-1 as a sample. To summarize the example...
Page 59 - Operation; time
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 59 UG144 April 24, 2009 Flow Control Implementation Example R -- DISCONTINUED PRODUCT -- Operation Figure 6-4 illustrates the FIFO occupancy over a period of time. The following describes the sequence of flow control operation. 1. The average FIF...
Page 61 - Chapter 7; Using the Physical Side Interface; Implementing External GMII; GMII Transmitter Logic
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 61 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 7 Using the Physical Side Interface This chapter provides general guidelines for creating designs using the Physical Side Interface of the GEMAC core. The physical side interface implem...
Page 63 - GMII Receiver Logic
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 63 UG144 April 24, 2009 Implementing External GMII R -- DISCONTINUED PRODUCT -- GMII Receiver Logic Spartan-3, Spartan-3E, Spartan-3A and Virtex-4 Devices A DCM must be used on the gmii_rx_clk clock path, as illustrated in Figure 7-2 , to meet th...
Page 64 - DCM Reset circuitry
64 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 7: Using the Physical Side Interface R -- DISCONTINUED PRODUCT -- DCM Reset circuitry A DCM reset module, not illustrated in Figure 7-2 , is also present and is instantiated in the example design next to the DCM. S...
Page 66 - Implementing External RGMII; RGMII Transmitter Logic
66 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 7: Using the Physical Side Interface R -- DISCONTINUED PRODUCT -- Implementing External RGMII The HDL example design delivered with the core implements an external RGMII when RGMII is selected from the CORE Generat...
Page 70 - RGMII Receiver Logic
70 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 7: Using the Physical Side Interface R -- DISCONTINUED PRODUCT -- The logic required to forward the transmitter clock is also shown. It has matching logic to the data and control signals to provide a known relation...
Page 76 - Using the MDIO interface; Connecting the MDIO to an Internally Integrated PHY; Connecting the MDIO to an External PHY
76 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 7: Using the Physical Side Interface R -- DISCONTINUED PRODUCT -- Using the MDIO interface The MDIO interface is accessed through the optional management interface and is typically connected to the MDIO port of a p...
Page 77 - Chapter 8; Configuration and Status; Using the Optional Management Interface; Host Clock Frequency
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 77 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 8 Configuration and Status This chapter provides general guidelines for configuring and monitoring the GEMAC core, including a detailed description of the client-side management interfa...
Page 79 - Receiver Configuration
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 79 UG144 April 24, 2009 Using the Optional Management Interface R -- DISCONTINUED PRODUCT -- Receiver Configuration The register contents for the two receiver configuration words are shown in Table 8-3 and Table 8-4 . Table 8-3: Receiver Configur...
Page 80 - Transmitter Configuration
80 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 8: Configuration and Status R -- DISCONTINUED PRODUCT -- Transmitter Configuration The register contents for the Transmitter Configuration Word are described in Table 8-5 . 29 0 In-band FCS Enable When this bit is ...
Page 81 - Flow Control Configuration
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 81 UG144 April 24, 2009 Using the Optional Management Interface R -- DISCONTINUED PRODUCT -- Flow Control Configuration Table 8-6 lists the register contents for the Flow Control Configuration Word. 29 0 In-band FCS Enable When this bit is ‘1,’ t...
Page 83 - Writing and Reading to and from the Configuration Registers
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 83 UG144 April 24, 2009 Using the Optional Management Interface R -- DISCONTINUED PRODUCT -- The Address Filter can be programmed to respond to four separate additional addresses stored in an address table in the Address Filter. Table 8-10 and Ta...
Page 85 - Accessing the Address Table
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 85 UG144 April 24, 2009 Using the Optional Management Interface R -- DISCONTINUED PRODUCT -- Accessing the Address Table To write to a specific entry in the address table, you must first write the least significant 32-bits of the address into the...
Page 86 - Introduction to MDIO
86 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 8: Configuration and Status R -- DISCONTINUED PRODUCT -- MDIO Interface Introduction to MDIO The MDIO interface for 1 Gbps operation (and slower speeds) is defined in IEEE 802.3 clause 22. This is a two wire interf...
Page 87 - Abbreviations Used; Write Transaction
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 87 UG144 April 24, 2009 Using the Optional Management Interface R -- DISCONTINUED PRODUCT -- There are two different transaction types of MDIO for write and read. They are described in this section. Abbreviations Used The following abbreviations ...
Page 88 - Read Transaction
88 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 8: Configuration and Status R -- DISCONTINUED PRODUCT -- Read Transaction Figure 8-7 shows a Read transaction; this is defined by OP=”10”. The addressed MMD (PHYAD) device returns the 16-bit word from the register ...
Page 90 - Access without the Management Interface
90 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 8: Configuration and Status R -- DISCONTINUED PRODUCT -- Access without the Management Interface If the optional management interface is omitted from the core, all of the relevant configuration settings described i...
Page 93 - Chapter 9; Constraining the Core; Required Constraints; Device, Package, and Speedgrade Selection
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 93 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 9 Constraining the Core This chapter defines the GEMAC core constraint requirements. An example UCF that implements the constraints defined in this chapter is provided with the HDL exam...
Page 94 - PERIOD Constraints for Clock Nets; MDIO Logic
94 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 9: Constraining the Core R -- DISCONTINUED PRODUCT -- PERIOD Constraints for Clock Nets gtx_clk The clock provided to gtx_clk must be constrained for a clock frequency of 125 MHz. The following UCF syntax shows the...
Page 95 - Timespecs for Critical Logic within the Core; Flow Control
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 95 UG144 April 24, 2009 Required Constraints R -- DISCONTINUED PRODUCT -- The UCF syntax which follows targets the MDIO logic flip-flops and groups them together. Reduced clock period constraints are then applied. ################################...
Page 96 - Timespecs for Reset Logic within the Core; Constraints when Implementing an External GMII; GMII IOB Constraints
96 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 9: Constraining the Core R -- DISCONTINUED PRODUCT -- Timespecs for Reset Logic within the Core Internally, the core is divided into clock/reset domains that group elements with common clock and reset signals. The ...
Page 97 - GMII Input Setup/Hold Timing
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 97 UG144 April 24, 2009 Required Constraints R -- DISCONTINUED PRODUCT -- GMII Input Setup/Hold Timing Figure 9-1 and Table 9-1 illustrate the setup and hold time window for the input GMII signals. This is the worst-case data valid window present...
Page 99 - Understanding Timing Reports for GMII Setup/Hold Timing; Virtex-5 devices with Delayed Data/Control
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 99 UG144 April 24, 2009 Required Constraints R -- DISCONTINUED PRODUCT -- Understanding Timing Reports for GMII Setup/Hold Timing Non-Virtex-5 devices Setup and Hold results for the GMII input bus can be found in the data sheet section of the Tim...
Page 100 - Virtex-5 Devices with Delayed Clock
100 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 9: Constraining the Core R -- DISCONTINUED PRODUCT -- Data Sheet report: ----------------- All values displayed in nanoseconds (ns) Setup/Hold to clock gmii_rx_clk ------------+------------+------------+----------...
Page 101 - Constraints when Implementing an External RGMII; RGMII IOB Constraints
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 101 UG144 April 24, 2009 Required Constraints R -- DISCONTINUED PRODUCT -- The implementation requires 7.554 ns of hold. Figure 9-2 illustrates that this represents a figure of -0.446 ns relative to the following rising edge of the clock (since t...
Page 102 - RGMII Input Setup/Hold Timing
102 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 9: Constraining the Core R -- DISCONTINUED PRODUCT -- The RGMII v2.0 is a 1.5 volt signal-level interface. The 1.5 volt HSTL Class I SelectIO standard is used for RGMII interface pins. Use the following constraint...
Page 104 - RGMII DDR Constraints
104 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 9: Constraining the Core R -- DISCONTINUED PRODUCT -- INST *rgmii_interface/delay_rgmii_tx_clk IDELAY_TYPE = “FIXED”; INST *rgmii_interface/delay_rgmii_tx_clk ODELAY_VALUE = 25; INST *rgmii_interface/delay_rgmii_t...
Page 105 - Understanding Timing Reports for RGMII Setup/Hold timing; Virtex-5 devices with delayed Data/Control
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 105 UG144 April 24, 2009 Required Constraints R -- DISCONTINUED PRODUCT -- Understanding Timing Reports for RGMII Setup/Hold timing Non-Virtex-5 Devices Setup and Hold results for the RGMII input bus can be found in the data sheet section of the ...
Page 109 - Clocking and Resetting; Clocking the Core; With Internal GMII; With External GMII
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 109 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 10 Clocking and Resetting This chapter describes clock management considerations that are associated with implementing the GEMAC core. It describes the clock management logic for all i...
Page 110 - With RGMII; Standard Clocking Scheme; Multiple Cores
110 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 10: Clocking and Resetting R -- DISCONTINUED PRODUCT -- With RGMII Standard Clocking Scheme Figure 10-2 illustrates the clock management used with an external RGMII interface. All clocks illustrated have a frequen...
Page 112 - Reset Conditions
112 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 10: Clocking and Resetting R -- DISCONTINUED PRODUCT -- Reset Conditions Internally, the core is divided up into clock/reset domains that group together elements with common clock and reset signals. The reset circ...
Page 113 - Interfacing to Other Cores; Ethernet 1000Base-X PCS/PMA or SGMII Core
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 113 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 11 Interfacing to Other Cores Ethernet 1000Base-X PCS/PMA or SGMII Core The GEMAC core can be integrated in a single device with the Ethernet 1000BASE-X PCS/PMA or SGMII core to extend...
Page 114 - Integration to Provide 1000BASE-X PCS with TBI
114 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 11: Interfacing to Other Cores R -- DISCONTINUED PRODUCT -- Integration to Provide 1000BASE-X PCS with TBI Figure 11-1 illustrates the connections and clock management logic required to interface the GEMAC core to...
Page 117 - Virtex-5 LXT and SXT Devices
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 117 UG144 April 24, 2009 Ethernet 1000Base-X PCS/PMA or SGMII Core R -- DISCONTINUED PRODUCT -- Virtex-5 LXT and SXT Devices Figure 11-3 illustrates the connections and clock management logic required to interface the GEMAC core to the Ethernet 1...
Page 119 - Integration to Provide SGMII Functionality; Ethernet Statistics Core
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 119 UG144 April 24, 2009 Ethernet Statistics Core R -- DISCONTINUED PRODUCT -- Features of this configuration include: • Direct internal connections are made between the GMII interfaces between the two cores. • If the GEMAC has been generated wit...
Page 123 - Implementing Your Design; Pre-implementation Simulation; Using the Simulation Model; Synthesis; XST—VHDL
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 123 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Chapter 12 Implementing Your Design This chapter describes how to simulate and implement your design containing the GEMAC core. Pre-implementation Simulation A unit delay structural model of t...
Page 124 - XST—Verilog; Implementation; Generating the Xilinx Netlist
124 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 12: Implementing Your Design R -- DISCONTINUED PRODUCT -- To synthesize the design, run: $ xst -ifn top_level_module_name.scr See the XST User Guide for more information on creating project and synthesis script fi...
Page 125 - Static Timing Analysis; Generating a Bitstream; Post-Implementation Simulation; Generating a Simulation Model
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 125 UG144 April 24, 2009 Post-Implementation Simulation R -- DISCONTINUED PRODUCT -- Placing-and-Routing the Design Execute the par command to place-and-route your design logic components (mapped physical logic cells) contained within an NCD file...
Page 126 - Using the Model; Other Implementation Information
126 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Chapter 12: Implementing Your Design R -- DISCONTINUED PRODUCT -- Using the Model For information about setting up your simulator to use the pre-implemented model, see the Xilinx Synthesis and Verification Design Guide in...
Page 127 - Appendix A; Using the Client-Side FIFO
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 127 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Appendix A Using the Client-Side FIFO The example design provided with the GEMAC core contains a FIFO used on the client-side of the core. The source code for the FIFO is provided, and may be ...
Page 128 - Interfaces; Transmit FIFO
128 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Appendix A: Using the Client-Side FIFO R -- DISCONTINUED PRODUCT -- Interfaces Transmit FIFO Table A-1 describes the transmit FIFO client interface. For more information on the MAC client interface, see “Transmitting Outb...
Page 129 - Receive FIFO
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 129 UG144 April 24, 2009 Interfaces R -- DISCONTINUED PRODUCT -- Receive FIFO Table A-3 describes the receive FIFO client interface. For more information on the MAC client interface, see “Receiving Inbound Frames,” on page 39 . Table A-4 describe...
Page 130 - Overview of LocalLink Interface; Data Flow
130 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Appendix A: Using the Client-Side FIFO R -- DISCONTINUED PRODUCT -- Overview of LocalLink Interface Data Flow Data is transferred on the LocalLink interface from source to destination, with the flow being governed by the ...
Page 131 - Functional Operation; Clock Requirements
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 131 UG144 April 24, 2009 Functional Operation R -- DISCONTINUED PRODUCT -- Functional Operation Clock Requirements The FIFO is designed to work with rx_clk and tx_clk running at MAC clock speeds up to 125 MHz. The rx_ll_clock should be no slower ...
Page 132 - Verilog; Expanding Maximum Frame Size
132 www.xilinx.com 1-Gigabit Ethernet MAC v8.5 User Guide UG144 April 24, 2009 Appendix A: Using the Client-Side FIFO R -- DISCONTINUED PRODUCT -- Verilog The compiler directive FULL_DUPLEX_ONLY is defined to allow for removal of logic and performance constraints that are necessary only in half-dupl...
Page 133 - Appendix B; Verification by Simulation
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 133 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Appendix B Core Verification, Compliance, and Interoperability The GEMAC core has been verified with extensive simulation and hardware testing. Verification by Simulation A highly parameteriza...
Page 135 - Appendix C; Calculating DCM Phase-Shifting; Finding the Ideal Phase-Shift
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 135 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Appendix C Calculating DCM Phase-Shifting DCM Phase-Shifting A DCM is used in the receiver clock path to meet the input setup and hold requirements when using the core with an RGMII (see “Impl...
Page 137 - Appendix D; Core Latency; Transmit Path Latency
1-Gigabit Ethernet MAC v8.5 User Guide www.xilinx.com 137 UG144 April 24, 2009 R -- DISCONTINUED PRODUCT -- Appendix D Core Latency Transmit Path Latency As measured from a data octet accepted on tx_data[7:0] of the transmitter client-side interface, until that data octet appears on gmii_txd[7:0] of...