Recent from talks
All channels
Be the first to start a discussion here.
Be the first to start a discussion here.
Be the first to start a discussion here.
Be the first to start a discussion here.
Welcome to the community hub built to collect knowledge and have discussions related to Physical coding sublayer.
Nothing was collected or created yet.
Physical coding sublayer
View on Wikipediafrom Wikipedia
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
[edit]The Ethernet PCS sublayer is at the top of the Ethernet physical layer (PHY). The hierarchy is as follows:
- Data link layer (Layer 2)
- Logical link control (LLC) sublayer
- Medium access control (MAC) sublayer
- Reconciliation sublayer (RS) – This sublayer processes PHY local/remote fault messages and handles DDR conversion
- 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 scrambling/descrambling
- Physical medium attachment (PMA) sublayer – This sublayer performs PMA framing, octet synchronization/detection, and scrambling/descrambling
- Physical medium dependent (PMD) sublayer – This sublayer consists of a transceiver for the physical medium
Specifications
[edit]10 Mbit/s Ethernet
[edit]- 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
[edit]- 100BASE-X for fiber (100BASE-FX) and twisted pair copper (100BASE-TX) encodes data nibbles to five-bit code groups (4B5B).[3]
Gigabit Ethernet
[edit]- 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
[edit]- 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
[edit]- 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
[edit]- 25GBASE-R uses the same 64b/66b encoding as 10GBASE-R with a speed-up to 25.78125 GBd.[8]
40/100 Gigabit Ethernet
[edit]- 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]
See also
[edit]References
[edit]- ^ Spurgeon, Charles (2014). Ethernet: The Definitive Guide. O'Reilly. p. 198. ISBN 978-1449361846.
- ^ IEEE 802.3 1.4 Definitions
- ^ IEEE 802.3 Clause 24.1.4.1
- ^ IEEE 802.3-2012 Clause 36
- ^ IEEE 802.3-2012 Clause 40
- ^ IEEE 802.3 48. Physical Coding Sublayer (PCS) and Physical Medium Attachment (PMA) sublayer, type 10GBASE-X
- ^ IEEE 802.3 Clause 55.3.2
- ^ "IEEE 802.3by 25G Ethernet TF, A BASELINE PROPOSAL FOR RS, PCS, AND FEC" (PDF). 2015-01-12. Retrieved 2016-08-06.
- ^ IEEE 802.3 Clauses 82-89
- Barbieri, Alessandro. "10 GbE and Its X Factors" (PDF). Packet: Cisco Systems Users Magazine. 17 (3): 25–28. Archived from the original (PDF) on 2011-06-08. Retrieved 2007-12-31.
External links
[edit]Physical coding sublayer
View on Grokipediafrom Grokipedia
The Physical Coding Sublayer (PCS) is a functional sublayer within the Physical Layer (PHY) of the IEEE 802.3 Ethernet standard, responsible for encoding outgoing data from the Media Independent Interface (MII) into code groups suitable for transmission and decoding incoming signals from the Physical Medium Attachment (PMA) sublayer back into a bit stream for the MAC layer.[1] It ensures reliable data transfer by managing line coding, scrambling, frame delineation, and, in higher-speed variants, forward error correction (FEC), while adapting to diverse physical media such as twisted-pair copper, optical fiber, and backplanes.[2]
In the overall PHY architecture, the PCS sits between the reconciliation sublayer (or MII family interfaces like GMII for 1 Gb/s or XGMII for 10 Gb/s) and the PMA, which handles serialization and clock recovery, ultimately connecting to the Physical Medium Dependent (PMD) sublayer for medium-specific signaling.[1] Key functions include adding synchronization bits to maintain clock recovery, balancing run lengths to prevent DC bias, and distributing data across multiple lanes in multilane configurations for speeds beyond 10 Gb/s.[2] Encoding schemes vary by Ethernet variant: early implementations like Fast Ethernet (100 Mb/s) use 4B/5B coding for 100BASE-X, Gigabit Ethernet employs 8B/10B for 1000BASE-X, and modern high-speed Ethernet (e.g., 10 Gb/s and above) adopts 64B/66B block coding to minimize overhead while supporting FEC like Reed-Solomon in 200GBASE-R and 400GBASE-R.[1][2]
The PCS has evolved significantly with Ethernet's speed increases, from single-lane operations in legacy systems to complex multilane striping and transcoding (e.g., 64B/66B to 256B/257B) in 200 Gb/s and 400 Gb/s PHYs, enabling scalability for data centers and automotive applications while maintaining backward compatibility through standardized interfaces.[3] In automotive Ethernet like 1000BASE-T1, it incorporates PAM3 modulation and RS-FEC to achieve low bit error rates (≤10⁻¹⁰) over single-pair cabling.[4] This sublayer's design emphasizes flexibility, allowing PHY variants to support full-duplex operation, auto-negotiation, and energy-efficient modes across electrical and optical media.[1]
