RGMII DataSheet
RGMII DataSheet
RGMII DataSheet
Interface (RGMII)
Technical Data Sheet
May 2004
Reduced Gigabit Media Independent Interface
(RGMII)
©2002 Cadence Design Foundry, UK Ltd. All rights reserved
Proprietary Notice
In the U.S. and numerous other countries, Cadence and the Cadence logo are registered
trademarks and Cadence Design Foundry is a trademark of Cadence Design Systems, Inc.
All other products or services mentioned herein may be trademarks of their respective
owners.
Neither the whole nor any part of the information contained in, or the product described in
this document may be adapted or reproduced in any material form except with the prior
written permission of the copyright owner.
The product described in this document is subject to continuous developments and
improvements and is supplied "AS IS". All warranties implied or expressed including but not
limited to implied warranties or merchantability, or fitness for purpose, are excluded.
Cadence Design Foundry, Inc shall not be liable for any loss or damage arising from the use
of any information in this document, or any error or omission in such information, or any
incorrect use of the product. Cadence Design Foundry products are not authorized for use as
critical components in life support devices or systems without the express written approval of
an authorised officer of Cadence Design Foundry, Inc. As used herein:
1. Life support devices or systems are devices of systems that are (a) intended for surgical
implant into the body or (b) support or sustain life, and whose failure to perform, when
properly used in accordance with instructions for use provided in the labelling, can be
reasonably expected to result in a significant injury to the user.
2. A critical component is any component of a life support device or system or system
whose failure to perform can reasonably be expected to cause the failure of the life
support device or system, or to affect its safety or effectiveness.
Features
• Reduced GMII interface to physical layer
• Capable of working at 1 Gb/s, 100 Mb/s and 10 Mb/s data rates
• Selectable RGMII or reduced ten bit interface (RTBI) output
• Comma code-groups realignment in RTBI mode
• Optional registered DDR transmit output signals
Description
The Reduced Gigabit Media Independent Interface (RGMII) module provides an RGMII
interface to an existing Ethernet MAC design with a GMII or TBI interface, for example the
Gigabit Ethernet MAC (GEM) available from Cadence Design Foundry. The RGMII interface
has been designed in accordance with the standards and specifications agreed in the
Hewlett Packard document Reduced Gigabit Media Independent Interface (RGMII)
Specifications. These are available for download at the following URLs
http://www.hp.com/rnd/pdfs/RGMIIv1_3.pdf and
http://www.hp.com/rnd/pdfs/RGMIIv2_0_final_hp.pdf
The RGMII module significantly reduces pin counts between the MAC and the physical layer.
In applications where a number of Ethernet MAC and PHY interfaces are necessary, savings
of up to 50% of the pin count are possible. This pin reduction is achieved by multiplexing data
and control signals on both edges of the reference clocks. There are two modes of operation,
RGMII mode and RTBI mode, with the current mode being selected by the tbi input signal.
• In RGMII mode, the number of data pins has been reduced from 8 to 4 for both
receive and transmit, with a saving of 8 pins in total. This requires the use of both
edges of the clock in order to maintain the bandwidth. In RTBI mode, the ten bit
receive and transmit code groups are each split into two separate 5 bit groups and
driven across the four data pins and the control pin, saving 10 pins in total.
• In RGMII mode, gmii_tx_er and gmii_tx_en are multiplexed over the rgmii_tx_ctl
signal for transmission into a single clock period. Similarly for receive, gmii_rx_er and
gmii_rx_dv have been encoded and multiplexed together into rgmii_rx_ctl. This
saves another 2 pins.
• In RGMII mode, both gmii_col and gmii_crs from the PHY to the MAC can be
decoded internally thus saving another 2 pins.
For 1 Gbit/s operation, clocks operate at 125 MHz. For 100 Mbit/s and 10 Mbit/s operation,
clocks operate at 25 MHz and 2.5 MHz respectively.
The RGMII standard specifies a source synchronous clock with the data. It relies on the clock
having a longer path delay than the data so that the data is resampled using the same edge
of the clock on which it was generated.
In version 1.3 of the RGMII specification a 1.5 to 2ns clock delay is achieved through a PCB
trace delay, in version 2.0 there is the option of introducing the delay on-chip at the source.
Devices which support the internal delay are referred to as RGMII-ID.
Whether to support RGMII-ID is an implementation choice. The Cadence IP supports both
versions of the specification.
Signal Interfaces
System Interface
gmii_txd[7: I Transmit data signal generated by the MAC. This input must be
0] synchronous with rgmii_tx_clk.
gmii_tx_en I Transmit enable signal generated by the MAC. This input must
be synchronous with rgmii_tx_clk.
gmii_tx_er I Transmit error signal generated by the MAC. This input must be
synchronous with rgmii_tx_clk.
driven low.
gmii_rx_dv O Receive data valid signal to the MAC to indicate that the value
on gmii_rxd[7:0] is valid. This output is generated
synchronous to rgmii_rx_clk. In RTBI mode this output is
driven low.
gmii_rx_er O Receive error signal to the MAC to indicate that a code error
has been detected at the PHY. This output is generated
synchronous to rgmii_rx_clk. In RTBI mode this output is
driven low.
gmii_col O Collision detect signal to the MAC to indicate the occurrence of
transmission and reception at the same time in half duplex
mode. This output is asserted asynchronously. In RTBI mode
this output is driven low.
tbi_tx_group[9: I 10 bit code group for transmit path. This input must be
0] synchronous with rgmii_tx_clk.
gmii_duplex_in I Signal from the MAC indicating current duplex mode. This
is used to drive gmii_col low when in full duplex mode,
which is indicated when this input is high.
Timing Requirements
Transmit Path
Tclk
rgmii_tx_clk
Tisu Tiph
GMII/TBI Input
Topv
RGMII Output
Toph
Receive Path
Tclk
rgmii_rx_clk
Tisu
RGMII Input
Tiph
Topv
Toph
GMII/TBI Output
Programming Interface
Physical Estimates
The physical estimates for the RGMII module are as follows:
Gate count 800
FF count 62
SOC internal pins 67
SOC external pins 10
Verification
Deliverables