Qsgmii Specification
Qsgmii Specification
QSGMII Specification
          The Quad Serial Gigabit Media Independent Interface (QSGMII) is designed to satisfy the
          following requirements:
          •   Convey 4 ports of network data and port speed between a 10/100/1000 PHY and a MAC
              with significantly less signal pins than required for GMII & SGMII.
          •   Operate in both half and full duplex and at all port speeds.
          •   This implementation can be extended to other port to channel ratios. However, this is
              outside the scope of this document.
1 of 20                                                                                August 3, 2009
QSGMII Specification: EDCS-540123                                                                               Revision 1.3
Change History
                  Revision     Date                Description                                 Author
                  1.3          July 20,2009        Add Low Power Idle (LPI) signaling for      Hugh Barrass
                                                   Energy Efficient Ethernet (IEEE
                                                   802.3az)
                  1.2          September 7,2007    Updated Bit[13] and Bit[0] on Table3        Akin Koyuncuoglu
                                                   and added a statement of possible
                                                   removal of the first byte of frame in 10/
                                                   100Mbit/s operation to match SGMII
                                                   spec.
                  1.1          June 20, 2007       Reword Note1, Added a requirement to        Akin Koyuncuoglu
                                                   disable running disparity check at
                                                   receiver.
                  1.0          April 17, 2007      Updated Interconnect Loss Template-         Akin Koyuncuoglu,
                                                   Figure 11 and Channel Loss Budget-          Warren Meggitt
                                                   Table 9. Updated Differential and com-
                                                   mon mode return loss parameters and
                                                   differential voltage values in electrical
                                                   section.
                  0.5          January 4, 2007     Updated PCS Receive for carrier_detect      Akin Koyuncuoglu
                                                   function. Updated /I/ Idle Code Group
                                                   Selection for Transmission. Added a note
                                                   for running disparity support by Framers.
                                                   Updated Figure2, Figure4,
                                                   Figure5,Figure6, Table1 and Table2
                  0.4          December 4, 2006    Updated legal section in the end of the     Akin Koyuncuoglu
                                                   document
                  0.3          September 1, 2006   Updated Electrical Specification            Akin Koyuncuoglu,
                                                                                               Warren Meggitt
                  0.2          Nov. 3, 2005        Initial Release                             Jeff Provost
Definitions
                 MII – Media Independent Interface: A digital interface that provides a 4-bit wide datapath
                 between a 10/100 Mbit/s PHY and a MAC sublayer. Since MII is a subset of GMII, in this
                 document, we will use the term “GMII” to cover all of the specification regarding the MII
                 interface.
                 GMII – Gigabit Media Independent Interface: A digital interface that provides an 8-bit wide
                 datapath between a 1000 Mbit/s PHY and a MAC sublayer. It also supports the 4-bit wide MII
                 interface as defined in the IEEE 802.3z specification. In this document, the term “GMII”
                 covers all 10/100/1000 Mbit/s interface operations.
                 SGMII – Serial Gigabit Media Independent Interface: A digital interface that provides a 1.25
                 Gbps serial dual-data-rate datapath between a 1000 Mbit/s PHY and a MAC sublayer. Refer to
                 ENG-46158 or ftp://ftp-eng.cisco.com/smii/smii.html for details.
                 LPI – Low Power Idle: An alternative form of idle signaling that is used by the MAC to
                 indicate that the PHY may enter a low power state and signal this change of state to the link
                 partner; and is used by the PHY to signal to the MAC that the link partner has entered a low
                 power state. The functions are defined by IEEE 802.3az in IEEE 802.3 clauses 22, 24, 25 (for
                 100Mb/s); 35, 36, 40, 70 (for 1Gb/s); 46, 48, 49, 55, 71, 72 (for 10Gb/s); and 78 (for overall
                 descriptions).
2 of 20                                                                                                       August 3, 2009
Overview
              QSGMII uses two data signals in each direction to convey frame data and link rate information
              between a multi-port 10/100/1000 PHY and Ethernet MAC. The data signals operate at 5.0
              Gbps using CDR technology to recover the clock at the MAC and PHY interfaces. Due to the
              high speed of operation, each of these signal pairs are realized as differential pairs thus
              optimizing signal integrity while minimizing system noise. When EEE is supported the
              clocking of the signals may be stopped during idle periods according to the status and control
              settings in the PHY.
              Figure 1 compares the IEEE 802.3 PCS reference diagram before and after the QSGMII
              modification.
              The IEEE 802.3 reference diagrams in Figure 2 shows where the modification to the receive
              PCS function occurs.
              The transmit and receive data paths leverage the 1000BASE-X PCS defined in the IEEE
              802.3z specification (clause 36). Four ports of traditional GMII data signals (TXD/RXD), data
              valid signals (TX_EN/RX_DV), and error signals (TX_ER/RX_ER) are muxed, encoded, and
              serialized. Carrier Sense (CRS) is derived/inferred from RX_DV, and collision (COL) is
              logically derived in the MAC when RX_DV and TX_EN are simultaneously asserted. There is
              a small block in the PHY transmit path to suppress TX_ER in full duplex mode when TX_EN
              is not asserted. Since four 1.25Gbps SGMII ports are interleaved onto a single link, the data-
              rate becomes 5.0 Gbps.
              Figure 3 illustrates the resulting bit times on the QSGMII 5.0 Gbps link.
                           bit-time
                            800ps          1UI
            SGMII TX          9        8         7    6   5     4     3      2     1      0
             (1 port)
                                                      tx_code-group<9:0>
                                       800ps (1UI) x 10bits = 8000ps per 10B code-group
                            bit-time
                             200ps          1UI
           QSGMII TX
                               9        8         7   6   5      4     3     2     1      0
              (1 port)
                                                    tx_code-group<9:0>
                                   200ps (1UI) x 10bits = 2000ps per 10B code-group
            QSGMII = 4-ports x [2000ps 10B code-group per port] = 8000ps for 4-ports of 10B code-groups
Figure 3 10B Encoded Data on the 5.0 Gbps QSGMII Link vs. SGMII 1.25 Gbps
              In order to determine the port number based time slots the port 0 transmit side incorporates a
              “K28.5” swapper function that modifies the IDLE /I/ and Configuration /C/ ordered_sets by
              replacing /K28.5/ with /K28.1/ every time /K28.5/ occurs as shown in table 1. Note that the
              swapper operates on the GMII octets (8 + control), not on the 10B code-group directly. The
              data will appear on the QSGMII link in the order: port 0 first, then port 1,then port 2, and lastly
              port 3. Port 0 data then appears on the link again, and so on.
              802.3z Section 36.2.4.12 explains the rules for running disparity by sending out one of the two
              IDLE /I/ ordered_sets whenever the GMII is idle. However, since 8B/10B encoder is detached
 3 of 20                                                                                                  August 3, 2009
  QSGMII Specification: EDCS-540123                                                                                      Revision 1.3
76543210 76543210
8 + control 8 + control
                                                                                                                      no swapper
                                                                                             8 + control              ports 1, 2, 3
  Output of ENCODE function a b c d e i f g h j
                                              10                  2-bit free-running counter               Port 0 1        2          3
  IEEE 802.3 Figure 36-3-PCS reference diagram                    QSGMII Modified Figure 36-3-PCS reference diagram
                                                                      (changes are shown with italicized text)
Figure 1 “Standard” and Modified Transmit Path Diagrams per IEEE 802.3 PCS/PMA
                      from PCS Transmit Function, it is no longer feasible to use /I1/ and /I2/ ordered_sets to force
                      the disparity. Therefore, the transmitter may be simplified to only generate /I1/ ordered_sets.
                      This change requires more functionality from the framer as documented in Note1.
  4 of 20                                                                                                             August 3, 2009
Management Registers                                                     Management Registers
rx_Config_Reg<D7:D0>                GMII
rx_Config_Reg<D15:D8>                                                      rx_Config_Reg<D7:D0>                       GMII
                                  RXD<7:0>                                rx_Config_Reg<D15:D8>                     RXD<7:0>
     76543210
                                                                                         ports 1, 2, 3
                          (125 million octets/s)
                                                                                                                            2-bit counter
                                                                             0       1      2       3
                8 + control                                                                                                  clear
                                                                                             8 + control+carrier detect
   H G F E D C B A Output of DECODE function
                                                                                     “K28.1”             K28.1 detect
                                                                                     Swapper
        8B/10B            PCS DECODE function
        Decoder
                                                                                    76543210
    a b c d e i f g h j Input to DECODE function                                                          (500 million octets/s)
              10
    0 0 1 1 1 1 1 x x x Properly aligned comma+symbol
                                                                                             8 + control + carrier_detect
                               PMA Service Interface
                                                                                 H G F E D C B A Output of DECODE function
                              (125 million code-groups/s)
                              rx_code-group<9:0>                                     8B/10B
   0123456789
                                                                                     Decoder &
                                                                                     carrier_detect        PCS DECODE & carrier_detect
                                                                                                           function
                                                                                     function
                PMD Service Interface
                                                                      disparityEN
               (1250 million rx_bits/s)
                 bit 0 is received first                                          abcdeifghj          Input to DECODE function
                                                                                           10
                                                                                  0 0 1 1 1 1 1 x x x Properly aligned comma+symbol
                                                                                                             PMA Service Interface
                                                                                                            (500 million code-groups/s)
                                                                                                            rx_code-group<9:0>
                                                                                 0123456789
                                                                                                               *See Note1
Figure 2 “Standard” and Modified Receive Path Diagram per IEEE 802.3 PCS/PMA
                         Note1: QSGMII Receivers should not rely upon receipt of /I2/ ordered_sets for proper
                         operation.
                                               Number of
                  Code       Ordered_Set                     Port 0 ”pre-swapper” Encoding          Port 0 “post-swapper” Encoding
                                               Code Groups
                  /C/        Configuration                   Alternating /C1/ and /C2/              Alternating /C1/ and /C2/
                  /C1/       Configuration 1   4             /K28.5/D21.5/Config_Reg                /K28.1/D21.5/Config_Reg
                  /C2/       Configuration 2   4             /K28.5/D2.2/Config_Reg                 /K28.1/D2.2/Config_Reg
     5 of 20                                                                                                                    August 3, 2009
QSGMII Specification: EDCS-540123                                                                       Revision 1.3
                                    Number of
           Code    Ordered_Set                    Port 0 ”pre-swapper” Encoding   Port 0 “post-swapper” Encoding
                                    Code Groups
           /I/     IDLE                           Correcting /I1/                 Correcting /I1/
           /I1/    IDLE 1           2             /K28.5/D5.6/                    /K28.1/D5.6/
6 of 20                                                                                              August 3, 2009
                 The receive 10B code-groups pass through a “K28.1” swapper that undoes the modification of
                 the IDLE /I/ and Configuration /C/ ordered_sets by replacing /K28.1/ with /K28.5/ for every
                 occurrence. The K28.1 swapper also clears the de-mux (sets the counter to 2’b00) in order to
                 determine the port 0 data according to table 2. Note that the swapper operates on the GMII
                 octets (8 + control + carrier_detect), not on the 10B code-group directly.
                 On the receive side, carrier_detect function is done on 10B code-groups and this is shown in
                 Figure 2. Please note that, there is a new carrier_detect function that needs to operate on K28.1
                 for Port0. K28.1 can be locally converted to K28.5 to generate the carrier_detect function.
                 Please refer to 802.3z Section 36.2.5.1.4 for the carrier_detect function that operates on K28.5.
                 Due to the nature of QSGMII, bit errors on the link may cause a running disparity error to
                 propogate across ports. A software register bit that would enable/disable running disparity
                 checking at the receiver is required. Disabling running disparity checking at the receiver
                 prevents error propogation to other ports. It is not necessary to disable ALL disparity checking
                 in the decoder to prevent error propogation to other ports. It is only necessary to disable the
                 disparity checks that rely on the running disparity value from the previous symbol. Note that
                 code violations due to invalid code-words (and current symbol running disparity errors) should
                 continue to be detected regardless of the state of running disparity checking. Please also note
                 that, 802.3z Section 36.2.4.6 and DECODE([/x/]) function in Section 36.2.5.1.4 will be
                 affected by this requirement.
                                       Number of
          Code    Ordered_Set                            Port 0 ”pre-swapper” Encoding    Port 0 “post-swapper” Encoding
                                       Code Groups
          /C/     Configuration                          Alternating /C1/ and /C2/        Alternating /C1/ and /C2/
          /C1/    Configuration 1      4                 /K28.1/D21.5/Config_Reg          /K28.5/D21.5/Config_Reg
          /C2/    Configuration 2      4                 /K28.1/D2.2/Config_Reg           /K28.5/D2.2/Config_Reg
          /I/     IDLE                                   Correcting /I1/                  Correcting /I1/
          /I1/    IDLE 1               2                 /K28.1/D5.6/                     /K28.5/D5.6/
7 of 20                                                                                                           August 3, 2009
QSGMII Specification: EDCS-540123                                                                                Revision 1.3
                 QSGMII’s 5.0 Gbps transfer rate is excessive for PHYs operating at 10 or 100 Mbit/s. When
                 these situations occur, the interface “elongates” the frame by replicating each frame byte 10
                 times for 100 Mbit/s and 100 times for 10 Mbit/s. This frame elongation takes place “above”
                 the 802.3z PCS layer, thus the start frame delimiter only appears once per frame. The 802.3z
                 PCS layer may remove the first byte of the “elongated” frame.
8 of 20                                                                                                        August 3, 2009
Implementation Specification
                                 This section discusses how this QSGMII interface shall be implemented by incorporating and
                                 modifying the PCS layer of the IEEE Specification 802.3z. Figure 4 illustrates the connections
                                 between the MAC and the PHY in a system utilizing QSGMII, as well as the overall scheme of
                                 muxing, demuxing 4 ports into a single QSGMII channel.
                                                                                                    Deserializer
                                                    3                                                                                                               3
                                                                                                                        Serializer
                                                                                                                   RX
                                                                    “K28.1”
                                                                    Swapper
RX_ER
                                                                                                                                                  Encoder
                                                 P2 2                         10     Decoder   10                                          10                 9     2       P2                                           TX_EN
     RXD[7:0]                                    P1 1                                                                                                               1       P1                                           TX_ER
                                                                                                                                                                                           Swapper
                                                                                                                                                                                           “K28.5”
      RX_CLK                                     P0 0                                                                                                                       P0                       P0                TXD[7:0]
                                                                                                                                                                    0
                                  GMII (8) + CNTL (1)
                                   + carrier_detect(1)                                                                                                                                                                TX_CLK
     ( only port 0 is shown )
                                                                                                                                                                                                           ( only port 0 is shown )
                                                                                  disparityEN
P2 TX
                                                                                                                                                                   Swapper
                                                                                                                                                   Decoder
                                                                                                                                                                   “K28.1”
                                                                       2      9                10                                                                                       P2
          TX_EN                                                                                                                            10                 10                       2                                         RX_DV
                                                               P1      1                                                                                                              1 P1                                       RX_ER
                                              Swapper
          TX_ER
                                              “K28.5”
                                       P0                      P0
          TXD[7:0]                                                     0                                                                                                              0 P0                                     RXD[7:0]
                                                                                                                                                                                             GMII (8) + CNTL (1)
            TX_CLK                                                                                                                                                                           + carrier_detect(1)              RX_CLK
           ( only port 0 is shown )
                                                                                                                                                                                                                   ( only port 0 is shown )
                                                                                                                                                disparityEN
9 of 20                                                                                                                                                                                                                       August 3, 2009
QSGMII Specification: EDCS-540123                                                                                                                Revision 1.3
                                                                   *Modified
                                                                   PCS Transmit                                       PHY Receive
                                                                                                      RX_DV
                    Serializer
                                                                                                                     Rate Adaptation
      RX                                                           State Machine    TX_EN                                               GMII Signals from
                                    10                                                                RX_ER
                                                                                    TX_ER                                               10/100/1000PHY
                                                                                                      RXD[7:0]
                                                                                   TXD[7:0]
                                                                                                   Reference Clock                      RX_CLK
                                                                                TX_CLK
                                                                                                      (125MHz)                         (2.5/25/125 MHz)
                                                                                                                           PHY Transmit
                                                                                                              TX_EN       Rate Adaptation
                                                                           PCS Receive                                                      GMII Signals to
                                                                           State Machine RX_DV
                  Deserializer
                                                                                                              TX_ER                         10/100/1000PHY
      TX                            10                  Synchronization   from 802.3z    RX_ER
                                                        Figure 36-9       Figure 36-7                         TXD[7:0]
                                                                                        RXD[7:0]                                               TX_CLK
                                                                                                              TX_CLK                           (2.5/25/125 MHz)
                                                                                        RX_CLK
             *See Note1                                                                                      (125 MHz)
                                 At the receive side, GMII signals come in at 10/100/1000 Mbit/s clocked at 2.5/25/125 MHz.
                                 The PHY passes these signals through the PHY Receive Rate Adaptation to output the 8-bit
                                 data RXD[7:0] in Reference Clock domain. Please note that since 4 ports are multiplexed,
                                 recovered RX_CLK can not be used to output the 8-bit data RXD[7:0]. RXD is sent to the PCS
                                 Transmit State Machine to generate an encoded 10-bit segment ENC_RXD[0:9]. The PHY
                                 serializes ENC_RXD[0:9] to create RX and sends it to the MAC at 5.0 Gbps.
                                 802.3z Section 36.2.4.12 explains the rules for running disparity by sending out one of the two
                                 IDLE /I/ ordered_sets whenever the GMII is idle. However, since 8B/10B encoder is detached
                                 from PCS Transmit Function, it is no longer feasible to use /I1/ and /I2/ ordered_sets to force
                                 the disparity. Therefore, the transmitter may be simplified to only generate /I1/ ordered_sets.
                                 This change requires more functionality from the framer as documented in Note1.
                                 Due to the nature of QSGMII, bit errors on the link may cause a running disparity error to
                                 propogate across ports. A software register bit that would enable/disable running disparity
                                 checking at the receiver is required. Disabling running disparity checking at the receiver
                                 prevents error propogation to other ports. It is not necessary to disable ALL disparity checking
                                 in the decoder to prevent error propogation to other ports. It is only necessary to disable the
                                 disparity checks that rely on the running disparity value from the previous symbol. Note that
10 of 20                                                                                                                                       August 3, 2009
           code violations due to invalid code-words (and current symbol running disparity errors) should
           continue to be detected regardless of the state of running disparity checking. Please also note
           that, 802.3z Section 36.2.4.6 and DECODE([/x/]) function in Section 36.2.5.1.4 will be
           affected by this requirement.
           At the transmit side, the PHY deserializes TX to recover encoded ENC_TXD[0:9]. The PHY
           passes ENC_TXD[0:9] through the PCS Receive State Machine to recover the GMII signals.
           In the mean time, Synchronization block checks ENC_TXD[0:9] to determine the
           synchronization status between links, and to realign if it detects the loss of synchronization.
           The decoded GMII signals have to pass the PHY Transmit Rate Adaptation block to output
           data segments according to the PHY port speed.
           To make the PCS layer from 802.3z work properly, the PHY must provide a frame beginning
           with at least two preamble symbols followed by a SFD symbol. To be more specific, at the
           beginning of a frame, RXD[7:0] in Figure 5 shall be {8’h55, 8’h55, (8’h55...), 8’h55} followed
           by valid frame data.
           Some legacy end points will drop frames when RX_ER asserts during the first clock after a
           frame ends. The receive PCS state machine generates this signalling at the end of certain
           frames. To avoid this problem, there is a small block in the PHY transmit path to suppress
           TX_ER in full duplex mode when RX_DV (from the PHY receive PCS state machine) is not
           asserted.
           Low Power Idle operation requires that the LPI symbols are passed across the QSGMII in the
           manner defined in 802.3 Clause 36. If the EEE clock stop capability is asserted (by the PHY)
           then the MAC may stop the signals on the QSGMII may be stopped in the same manner as
           1000BASE-KX (defined in 802.3 clauses 36 and 70), if and only if all 4 transmit channels are
           in transmitting LPI. If the EEE clock stop enable is asserted (by the MAC) then the PHY may
           stop the signals on the QSGMII in the same manner. In cases where the MAC or PHY requires
           constant signaling on the QSGMII (i.e. EEE clock stop enable or capable = 0), it is assumed
           that the LPI signal latency is the same as the datapath signal latency and therefore the PHY
           timing constraints remain unchanged. In cases where the MAC allows the QSGMII clocking to
           be stopped during Low Power Idle, the system must negotiate an extra 20 uS of wake time via
           LLDP (see 802.3 clause 78) in the receive direction on all 4 channels to allow time for the
           QSGMII to wake and resynchronize after the PHY has woken. Similarly, if the MAC stops the
           QSGMII clocking in the transmit direction, then the system must wait for an additional 20uS
           between sending normal IDLE on the first channel to wake and sending data on any channel to
           allow extra time for the QSGMII to wake and resynchronize in the transmit direction.
11 of 20                                                                                   August 3, 2009
   QSGMII Specification: EDCS-540123                                                                                                  Revision 1.3
                                                                                                     ENC_RXD[0:9]
       CRS
                                                                                                                     Deserializer
                                            RX_DV                 from 802.3z
   GMII Signals from                                   RX_DV                                         10                              RX
                                            RX_ER                 Figure 36-7      Synchronization
    10/100/1000PHY                                     RX_ER
                                            RXD[7:0]   RXD[7:0]                      Figure 36-9
     Speed Information                      RX_CLK
                                                        RX_CLK
                                           (125 MHz)                                                         *See Note1
                                                                      Auto-Negotiation
                                                                        Figure 37-6
                                                                                                      ENC_TXD[0:9]
                         MAC Transmit
                         Rate Adaptation                                  *Modified
                                            TX_EN                       PCS Transmit
    GMII Signals to                                            TX_EN
                                            TX_ER                       State Machine
   10/100/1000PHY                                              TX_ER
                                                                                                                     Serializer
                                            TXD[7:0]                                                 10                               TX
     Speed Information                                         TXD[7:0]
                                            TX_CLK
                                                                 TX_CLK
                                           (125 MHz)
                         At the receive side, the MAC deserializes RX to recover encoded ENC_RXD[0:9]. The MAC
                         passes ENC_RXD[0:9] through the PCS Receive State Machine to recover the GMII signals.
                         In the mean time, Synchronization block checks ENC_RXD[0:9] to determine the
                         synchronization status between links, and to realign once it detects the loss of synchronization.
                         The decoded GMII signals have to pass the MAC Receive Rate Adaptation block to output
                         data segments according to the PHY port speed, passed from the PHY to MAC via Auto-
                         Negotiation process.
                         At the transmit side, GMII signals come in at 10/100/1000 Mbit/s data clocked at 2.5/25/125
                         MHz. The MAC passes these signals through the MAC Transmit Rate Adaptation to output the
                         8-bit data TXD[7:0] in 125MHz clock domain. TXD is sent to the PCS Transmit State
                         Machine to generate an encoded 10-bit segment ENC_TXD[0:9]. The MAC serializes
                         ENC_TXD[0:9] to create TX and sends it to the PHY at 5.0 Gbps
   12 of 20                                                                                                                         August 3, 2009
           Control Information Exchanged Between Links
           As described in Overview, it is necessary for the PHY to pass control information to the MAC
           to notify the change of the link status. QSGMII interface uses Auto-Negotiation block to pass
           the control information via tx_config_Reg[15:0].
           If the PHY detects the link change, it starts its Auto-Negotiation process, switching its
           Transmit block from “data” to “configuration” state and sending out the updated control
           information via tx_config_Reg[15:0]. The Receive block in the MAC receives and decodes
           control information, and starts the MAC’s Auto-Negotiation process. The Transmit block in
           the MAC acknowledges the update of link status via tx_config_Reg[15:0] with bit 14 asserted,
           as specified in table 3. Upon receiving the acknowledgement from the MAC, the PHY
           completes the auto-negotiation process and returns to the normal data process.
           As specified in Overview, inside the QSGMII interface the Auto-Negotiation link_timer has
           been changed from 10 msec to 1.6 msec, ensuring a prompt update of the link status. The
           expected latency for the update of link is 3.4 msec (two link_timer time + an acknowledgement
           process).
13 of 20                                                                                  August 3, 2009
QSGMII Specification: EDCS-540123                                                                                                                                     Revision 1.3
RX_DV
   RXD[7:0] after       D0    D0   D0   D0    D0     D0   D0   D0   D0   D0   D1   D1   D1   D1    D1      D1   D1     D1    D1   D1    D2   D2   D2   D2     D2     D2   D2   D2   D2
  Rate Adaptation
ENC_RXD[0:9] /S/ d0 d0 d0 d0 d0 d0 d0 d0 d0 d1 d1 d1 d1 d1 d1 d1 d1 d1 d1 d2 d2 d2 d2 d2 d2 d2 d2 d2
SAMPLE_EN
Electrical Specification
                     CML, (Current Mode Logic) is by far the most common serdes IO standard in use today. The
                     signal swing provided by the CML output is small, resulting in low power consumption. The
                     driver and receiver are often self-terminated, eliminating external components and minimizing
                     transmission line impedance discontinuity effects on timing and signal integrity.
                     The following section details the requirements for the high speed electrical interface that will
                     operate at 5Gsym/s using NRZ coding (hence 1 bit per symbol at electrical level). Connections
                     are point to point balanced differential pair with 100 Ohm nominal differential impedance and
                     signalling is unidirectional. Clock and data are embedded hence CDR is required in the
                     receiver. The link should operate with a BER of 10-15. It supports both AC and DC coupled
                     operation. However, DC coupling of PHY to MAC is required since it optimizes system cost,
                     complexity, and signal integrity.
                     This section is based on the Optical Internetworking Forum’s(OIF) Common Electrical I/O
                     CEI-6G-SR Short Reach Standard IA#OIF-CEI-02.0 with some modifications listed in below
                     sections.
                      Characteristic                 Load Type 0(AC Coupling)                     Load Type 1(DC Coupling)                         Units
                      R_Zvtt                         >1K                                          <30                                              Ohms
                      Nominal Vtt                     Undefined                                   1.2                                              V
14 of 20                                                                                                                                                            August 3, 2009
            Parameter                               Symbol         Min     Typ    Max       Units     Notes
            Differential Output Return Loss (2.5    T_SDD22                                 dB        d
            GHz to 5 GHz)
            Common Mode Return Loss                 T_SCC22                       -6        dB        e
                                                                                                          f
            Eye Mask                             T_Y2                            450        mV
15 of 20                                                                                            August 3, 2009
QSGMII Specification: EDCS-540123                                                                                Revision 1.3
f. See Figure 8
16 of 20                                                                                                       August 3, 2009
                          Parameter             Symbol       Min            Typ           Max     Units         Notes
                          Sinusodial Jitter,    R_SJ-hf                                   0.05    UIpp
                          High Frequency
                          Total Jitter(Does     R_TJ                                      0.60    UIpp          b
                                                                                                                e
                          Eye Mask              R_Y2                                      450     mV
T_Y2 R_Y2
                T_Y1
                                                                                   R_Y1
          Amplitude 0                                                                 0
            mV
                                                                                  -R_Y1
                 -T_Y1
-T_Y2 -R_Y2
                    0.0        T_X1      T_X2       1-T_X2   1-T_X1   1.0           0.0          R_X1     0.5       1-R_X1         1.0
          Transmit Eye Mask               Time UI                                 Receiver Eye Mask       Time UI
17 of 20                                                                                                                August 3, 2009
QSGMII Specification: EDCS-540123                                                                                     Revision 1.3
                                              Slope
             Loss dB                                                        Parameter Value   Units
                                                                           A0     -8          dB
                                                                           f0      100        MHz
                   A0                                                      f1      2.5         GHz
                                                                            f2      5          GHz
                                    Acceptable Region
                                                                           Slope    16.6      dB/dec
                                                                         Note:
                               f0            f1             f2
                                        Frequency                  The reference impedance for differential return loss is 100Ohm
                                                                 The reference impedance for common mode return loss is 25Ohm
                                             Vhigh
                True
                                                                                                         VCM=(Vhigh+Vlow)/2
                VCM
                                              Max abs output
                GND
             Complement                                     Min abs output
                                              Vlow
             True-Complement
                                                                  Differential Voltage pp
18 of 20                                                                                                          August 3, 2009
                      Figure 11 shows the interconnect loss template for the channel. At 2.5 GHz, maximum allowed
                      interconnect loss is -10.0 dB which represents a typical 20 inch trace on FR4 PCB.
                 0
                                    (0.05G, -1.0)
-2
-4
                 -6
                           (0.5G, -4.0)
dB -8
                -10
                                            (2.5G, -10.0)
                -12
-14
                -16
                                                                    (5G, -17.5)
                -18
                      0              1               2         3            4     5       6
                                                            f GHz
  Figure 11               Interconnect Loss Template for QSGMII Channel
19 of 20                                                                                           August 3, 2009
QSGMII Specification: EDCS-540123                                                                        Revision 1.3
  Cisco encourages others to adopt this specification. To the extent that Cisco has proprietary rights to
  information contained in this specification, any company wishing to use this specification may do so under
  reasonable, non-discriminatory terms, with reciprocity, to implement and fully comply with the
  specification.
  Cisco will not assert any claims of any patents essential for implementing this specification that are owned
  or controlled by Cisco against any party for making, using, selling, importing or offering for sale a product
  that implements the specification, provided, however, that Cisco retains the right to assert its patents
  (including the right to claim past royalties) against any party that asserts a patent it owns or controls (either
  directly or indirectly) against any products that comply with this specification. Cisco retains the right to
  assert its patents against any product or portion thereof that is not necessary for compliance with the
  specification.
  Dan Lang
  Senior IP Counsel
  Cisco Systems
  408-526-6672
  standards-ipr@cisco.com
20 of 20 August 3, 2009