Physical coding sublayer

From HandWiki

The physical coding sublayer (PCS) is a networking protocol sublayer in the Fast Ethernet, Gigabit Ethernet, and 10 Gigabit Ethernet standards. It resides at the top of the physical layer (PHY), and provides an interface between the physical medium attachment (PMA) sublayer and the media-independent interface (MII). It is responsible for data encoding and decoding, scrambling and descrambling, alignment marker insertion and removal, block and symbol redistribution, and lane block synchronization and deskew.[1]

Description

The Ethernet PCS sublayer is at the top of the Ethernet physical layer (PHY). The hierarchy is as follows:

  • Data link layer (Layer 2)
  • PHY Layer (Layer 1)
    • Physical coding sublayer (PCS) – This sublayer determines when a functional link has been established, provides rate difference compensation, and performs coding such as 64b/66b encoding and [math]\displaystyle{ x^{58}+x^{39}+1 }[/math] scrambling/descrambling
    • Physical medium attachment (PMA) sublayer – This sublayer performs PMA framing, octet synchronization/detection, and [math]\displaystyle{ x^{7}+x^{6}+1 }[/math] scrambling/descrambling
    • Physical medium dependent (PMD) sublayer – This sublayer consists of a transceiver for the physical medium

Specifications

10 Mbit/s Ethernet

  • Classic Ethernet uses Manchester code in the Physical signaling sublayer (PLS), encoding each bit as a high-low (logical zero) or low-high transition (logical one).[2]

Fast Ethernet

  • 100BASE-X for fiber (100BASE-FX) and twisted pair copper (100BASE-TX) encodes data nibbles to five-bit code groups (4B5B).[3]

Gigabit Ethernet

  • 1000BASE-X for fiber and 150 Ω balanced copper (twinaxial) uses 8b/10b encoding with a symbol rate of 1.25 GBd.[4]
  • 1000BASE-T for twisted pair copper splits the data into four lanes and uses four-dimensional, five-level (quinary) trellis modulation with PAM-5 and a symbol rate of 125 MBd.[5]

2.5 and 5 Gigabit Ethernet

  • 2.5GBASE-T and 5GBASE-T use the same encoding as 10GBASE-T slowed by a factor of four or two, respectively.

10 Gigabit Ethernet

  • 10GBASE-R (LAN) is the serial encoded PCS using 64b/66b encoding that allows for Ethernet framing at a rate of 10.3125 Gbit/s. This rate does not match the rate 9.953 Gbit/s used in SONET and SDH and is not supported over a WAN based on SONET or SDH.
  • 10GBASE-X (LAN/WAN) uses 8b/10b encoding over four lanes at 3.125 GBd each and is used for 10GBASE-LX4 (single-mode and multi-mode fiber), 10GBASE-CX4 (twinax), and 10GBASE-KX4 (backplane).[6]
  • 10GBASE-W (WAN) defines WAN encoding for 10GbE. It uses 64/66b encoding and lowers the MAC rate to 9.95 Gbit/s, so that is compatible with SONET STS-192c data rates and SDH VC-4-64 transmission standards when wrapped into a SONET frame.
  • 10GBASE-T for twisted pair copper splits the data into four lanes and uses 64B/65B encoding, scrambling, and 128 double-square (DSQ128) checkerboard encoding with PAM-16 generated at 800 MBd.[7]

25 Gigabit Ethernet

  • 25GBASE-R uses the same 64b/66b encoding as 10GBASE-R with a speed-up to 25.78125 GBd.[8]

40/100 Gigabit Ethernet

  • 40GBASE-R and 100GBASE-R use 64b/66b encoding over multiple lanes of 10.3125 GBd or 25.78125 GBd each. These lanes – four for 40 Gbit/s, four or ten for 100 Gbit/s per direction – are either transmitted separately over short distance or together with coarse wavelength division multiplexing on long distance fiber (-LR).[9]

References

  1. Spurgeon, Charles (2014). Ethernet: The Definitive Guide. O'Reilly. pp. 198. ISBN 978-1449361846. 
  2. IEEE 802.3 1.4 Definitions
  3. IEEE 802.3 Clause 24.1.4.1
  4. IEEE 802.3-2012 Clause 36
  5. IEEE 802.3-2012 Clause 40
  6. IEEE 802.3 48. Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) sublayer, type 10GBASE-X
  7. IEEE 802.3 Clause 55.3.2
  8. "IEEE 802.3by 25G Ethernet TF, A BASELINE PROPOSAL FOR RS, PCS, AND FEC". 2015-01-12. http://www.ieee802.org/3/by/public/Jan15/baden_3by_01b_0115.pdf. 
  9. IEEE 802.3 Clauses 82-89

External links