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)
    • LLC (Logical Link Control Sublayer)
    • MAC (Medium Access Control Sublayer)
      • RS (Reconciliation Sublayer) - This sublayer processes PHY Local/Remote Fault messages and handles DDR conversion
  • PHY Layer (Layer 1)
    • PCS (Physical Coding Sublayer) - 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
    • PMA (Physical Medium Attachment Sublayer) - This sublayer performs PMA framing, octet synchronization/detection, and [math]\displaystyle{ x^{7}+x^{6}+1 }[/math] scrambling/descrambling
    • PMD (Physical Medium Dependent 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. https://www.amazon.com/Ethernet-Definitive-Charles-E-Spurgeon/dp/1449361846/ref=sr_1_1?s=books&ie=UTF8&qid=1410208370&sr=1-1&keywords=ethernet+the+definitive+guide. 
  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. Retrieved 2016-08-06. 
  9. IEEE 802.3 Clauses 82-89

External links