EE Primers · Communication interfaces · High-speed serial

PCIe Gen 6: PAM4, FLITs and FEC, carrying CXL memory at 64 GT/s

Gen 6 doubles the rate again, but not by doubling the symbol rate: it switches from NRZ to PAM4, four levels carrying two bits per symbol, so 64 GT/s runs at 32 GBd with the same 16 GHz Nyquist frequency as Gen 5. PAM4's eyes are a third the height, so the raw error rate rises, and Gen 6 answers with a new link format: fixed 256-byte FLITs with a lightweight FEC and a strong CRC, replacing 128b/130b and the per-packet LCRC. This page follows a CPU loading data from a CXL memory expander on an x8 link, because CXL 3.x runs on exactly this PHY and FLIT format and shows why the latency of the new layers matters.

Specifications: PCI Express Base Specification 6.0 [1], Compute Express Link 3.x [2]. Earlier generations: Gen 4 (layers, TLPs, NVMe) and Gen 5 (32 GT/s NRZ, retimers, read bandwidth).

New to PCIe? Start with PCI Express: how it works and why it exists.

01 · At a glance

Gen 6 against Gen 5 and Gen 7

Gen 5Gen 6Gen 7
Data rate per lane32 GT/s64 GT/s128 GT/s
SignalingNRZ, 32 GBdPAM4, 32 GBdPAM4, 64 GBd
Nyquist frequency16 GHz16 GHz32 GHz
Encoding128b/130bFLIT mode (1b/1b): 256 B FLITsFLIT mode
Error protectionLCRC + replay per TLPFEC (3 × 2 B) + 8 B CRC + replay per FLITSame
x8 per direction31.5 GB/s≈ 59 GB/s of FLIT payload≈ 118 GB/s
Channel loss budget (approx.)≈ 36 dB @ 16 GHz≈ 32 dB @ 16 GHz—
Refclk jitter (common clock)0.15 ps RMS0.10 ps RMStighter
  • Same Nyquist, smaller eyes: the channel looks like Gen 5's in frequency, but the signal-to-noise needed is about 9.5 dB higher, so the allowed loss is lower than Gen 5 and the board must be cleaner (reflections, crosstalk, linearity).
  • FLIT mode is mandatory at 64 GT/s and, once negotiated, is used at every rate on that link, so the data-link format does not change during speed changes.
  • New L0p power state: the link can shut down some lanes and keep running on the rest without retraining or stopping traffic.
  • Backward compatible: a Gen 6 port trains with Gen 1–5 partners using the older formats.
00 · Layers

PCIe Gen 6 and CXL against the OSI model

CXL reuses the PCIe physical layer and adds its own protocol stack beside PCIe's. CXL.io is ordinary PCIe (TLPs) and is used for discovery, configuration and interrupts. CXL.mem and CXL.cache are separate, latency-optimized protocols with their own messages. An ARB/MUX layer interleaves the three onto one link, in 256-byte FLITs on the Gen 6 PHY. Click a layer; every section carries the same tags.

One memory read request, wrapped layer by layer

A CXL.mem read request (a few bytes of message) shares a 256-byte FLIT with other messages. FEC and CRC protect the whole FLIT, which is then sent as PAM4 symbols across eight lanes. Widths not to scale.
00 · The example system

CPU to a CXL Type 3 memory expander, x8 at 64 GT/s

CPU (CXL host) Cores + L1/L2ordinary loads/stores LLC + home agentcoherence, address map Local DDR5near memory≈ 100 ns CXL root port x8 CXL.mem / .io TL CXL link layers ARB/MUX PHY: FLIT, FEC, CRCPAM4 64 GT/sTX FIR · ADC/DSP RX Clock buffer100 MHz, ≤ 0.1 ps PERST#, PRSNT#, CLKREQ#SMBus / I3C sideband 8 lanes → · PAM4 · 64 GT/s ← 8 lanes REFCLK± 100 MHz 12 V main + 3.3 Vaux CEM / E3.S CXL memory expander (Type 3) CXL controller PHY: PAM4, FLIT,FEC, CRC, replay+ ARB/MUX CXL.mem link + TL CXL.io (PCIe TLPs) HDM decoder, RAS MemorycontrollerDDR5 PHY, ECC DDR5DIMMs ordevices on card Management µCfirmware, telemetry
To software the expander is just more physical memory: the BIOS and OS map its capacity into the system address space through Host-managed Device Memory (HDM) decoders. A cache miss to that range goes out as a CXL.mem request instead of to the local memory controller. Each lane arrow is eight differential pairs, AC-coupled at the transmitter.
00 · Signals

Every critical signal on the x8 link

SignalDirectionElectricalFunctionWhat to get right at Gen 6
TX0±…TX7±CPU → devicePAM4, 32 GBd, AC-coupled, multi-tap TX FIR, precodingDownstream lanes (CXL and PCIe traffic share them)≈ 32 dB budget, very low reflections, back-drilled vias, transmitter linearity (RLM)
RX0±…RX7±Device → CPUUsually ADC + DSP receiver (FFE, DFE, CDR)Upstream lanesCrosstalk is now an SNR term against a 1/3-size eye
REFCLK±Host → device100 MHz HCSL / LP-HCSL, SSCCommon reference (SRIS also defined)≤ 0.10 ps RMS including every buffer
PERST#Host → device3.3 V (1.8 V on EDSFF)Fundamental resetSame rules as earlier generations; the device's DDR5 and firmware must also be ready
PRSNT#, CLKREQ#Slot ↔ deviceStatic / open-drainPresence, clock requestHot-plug of memory devices needs the OS to offline the capacity first
PWRDIS (EDSFF)Host → device3.3 VForces the device offUsed to power-cycle a hung module
SMBus / I3CBidirectionalOpen-drain / push-pullManagement, FRU, thermalOut-of-band access when the link is down
12 V, 3.3 VauxHost → deviceMain and auxiliary railsDevice power (memory expanders draw 20–70 W)DDR5 and controller transients; separate quiet supply for the PHY
00 · PAM4

Four levels, three eyes

PAM4 sends one of four levels per symbol (−3, −1, +1, +3 in normalized units), two bits each. With the same transmitter swing the distance between adjacent levels is one third of NRZ's, which costs about 9.5 dB of signal-to-noise (20·log103). Three details make it workable:

  • Gray coding (00, 01, 11, 10 from bottom to top): adjacent levels differ in one bit, so the most likely error, slipping to a neighbouring level, corrupts one bit, not two.
  • Precoding (mod 4): stops DFE error propagation from turning one slip into a run, as in Gen 5.
  • Linearity: the four levels must be evenly spaced (level separation mismatch ratio, RLM), or the inner and outer eyes shrink unequally.

The simulator below drives a PAM4 PRBS through a transmitter setting and a lossy channel, without receiver equalization. A perfect PAM4 eye is 33 % of the full swing, against 100 % for NRZ.

PAM4 eye simulator · 32 GBd

00 · Signaling and encoding

From 128b/130b to FLIT mode

WhereSignalingEncoding / codingNote
Data lanes, 64 GT/sPAM4, 32 GBd, Gray-coded, mod-4 precoding when requestedFLIT mode (1b/1b): no sync headers, no per-TLP STP/LCRC; 256 B FLITs with FEC + CRC; scrambledCoding is "1b/1b": every bit on the wire belongs to a FLIT
Data lanes, ≤ 32 GT/sNRZ128b/130b or 8b/10b, but carrying FLITs once FLIT mode is negotiatedThe link layer stays in FLIT format at every speed
Training and controlNRZ at lower rates, then PAM4TS1/TS2 (with FLIT mode supported/enabled bits), SKP, EIEOSEqualization at 64 GT/s after 32 GT/s (or with skips)
Reference clock100 MHz HCSL—0.10 ps RMS
CXL on topSame PHYCXL 3.x: 256 B FLITs (and a latency-optimized variant) carrying CXL.io, .mem and .cacheCXL 1.1/2.0 used 68 B FLITs on Gen 5 NRZ
00 · FLIT mode

The 256-byte FLIT, and how packets fill it

Every FLIT is exactly 256 bytes: 236 B of TLP bytes, 6 B of data-link payload (DLP: the FLIT sequence number, ACK/NAK and flow-control information that used to travel as separate DLLPs), 8 B of CRC over those 242 bytes, and 6 B of FEC. TLPs are packed back to back and may straddle FLIT boundaries. Because the sequence number and CRC are per FLIT, a TLP no longer carries its own STP token or LCRC: small packets get cheaper, while every FLIT pays a fixed 20 bytes (7.8 %).

FEC first, CRC second, replay last

The 6 FEC bytes form three interleaved groups: byte i of the FLIT belongs to group i mod 3, and each group can correct one wrong byte. Interleaving means a burst of up to three consecutive bad bytes (typical of DFE error propagation) still lands one per group. Anything FEC cannot fix is caught by the 8-byte CRC, and the receiver NAKs the FLIT for a replay. The target first-bit error rate is about 10−6, so FEC is busy all the time and replays stay rare.

Error injection on one FLIT

 

00 · Link training

Bring-up to 64 GT/s in FLIT mode

The link still starts at 2.5 GT/s with NRZ. Both ports advertise FLIT mode in their training sets; if both support it, the link switches to FLIT mode at the end of Configuration and stays in it at every rate. Equalization runs at 32 GT/s (NRZ) and then at 64 GT/s (PAM4), with options to skip earlier stages. Click a stage.

00 · Worked example

A CPU load that lands in CXL memory

A program reads a 64-byte cache line whose address falls in the expander's range. No driver is involved per access: the CPU's coherent fabric sends the miss to the CXL root port, which issues a CXL.mem read. CXL.io (ordinary PCIe TLPs) was used once, at boot, to discover and configure the device.

00 · Throughput

FLIT efficiency against 128b/130b

Gen 6: B/W = lanes × 64 GT/s ÷ 8 × 236/256 × TLP payload / (payload + header) Gen 5: lanes × 32 GT/s ÷ 8 × 128/130 × payload / (payload + header + 8)
00 · Design constraints

Board rules for 64 GT/s PAM4

Loss and SNR
  • About 32 dB at 16 GHz end to end, less than Gen 5 despite the same Nyquist: PAM4 needs more SNR.
  • Ultra-low-loss laminate and smooth copper; shorter routes or retimers sooner than at Gen 5.
Reflections
  • Return loss matters more: a reflection that closes 10 % of an NRZ eye can close 30 % of a PAM4 eye.
  • Back-drill everything, optimize every via, connector footprint and AC-cap pad; model the full channel in 3D.
Crosstalk
  • Crosstalk is an SNR term against an eye one third the size: larger pair spacing, TX/RX layer separation, ground vias around pin fields.
  • Connector choice (CEM 6.0 / EDSFF) dominates.
Clock and power
  • REFCLK ≤ 0.10 ps RMS including buffers.
  • PHY supply noise turns into level noise on PAM4: dedicated filtered rails for the SerDes.
Unchanged
  • 85 Ω differential, ≤ 5 mil intra-pair skew, no lane-to-lane matching, AC caps at each transmitter, continuous reference planes.
00 · When it breaks

Failure modes and debug signatures

SymptomLikely causeCheck / fix
Trains at 32 GT/s, not 6464 GT/s equalization failed: reflections, crosstalk, refclk jitter, a partner without Gen 6EQ status, lane margining at 64 GT/s, refclk jitter
High FEC correction counts, rising with temperatureMarginal SNR on a lane: correction is hiding a weakening channelTrack per-lane FEC statistics over time; it is an early warning before replays start
FLIT replays and latency spikesUncorrectable FLITs (errors beyond FEC), often burstsCheck precoding negotiation, power-supply noise, crosstalk aggressors
CXL memory missing from the OSCXL.io enumeration fine but HDM decoders or BIOS memory map not set upDevice and host HDM decoder programming; CXL DVSEC registers
Memory latency far above expectationRetimer or switch in the path, power-state exits (L0p, L1), device DRAM refresh or ECC scrubbingLatency histogram per path; disable power states to compare
Link width drops at idle and stays narrowL0p width changes not returning to full widthL0p policy and status registers
00 · Self-check

Questions

Gen 6 doubles the bit rate of Gen 5 at the same Nyquist frequency. How?

PAM4 carries two bits per symbol, so 64 GT/s needs only 32 GBd, the same symbol rate as Gen 5 NRZ, and therefore the same 16 GHz Nyquist frequency.

If the Nyquist frequency is the same, why is Gen 6's loss budget lower than Gen 5's?

The PAM4 eye is a third the height for the same swing, a ~9.5 dB SNR penalty. The channel must therefore deliver more signal relative to noise, crosstalk and reflections, which means less tolerable loss.

Why can the FEC be so light (6 bytes per 256)?

It only has to bring a raw error rate around 10−6 down far enough that the CRC and replay rarely act. A heavy FEC (like Ethernet's RS(544,514)) would add tens of nanoseconds of latency, unacceptable for memory and cache traffic.

Three bad bytes in a row: corrected or replayed? Three bad bytes 0, 3 and 6?

Consecutive bytes fall in groups 0, 1 and 2, one each: corrected. Bytes 0, 3 and 6 are all in group 0: that group has three errors, FEC fails, CRC detects it, and the FLIT is replayed.

What does CXL.mem add over doing memory reads with PCIe TLPs?

Small fixed-format messages without PCIe ordering and completion machinery, a direct path into the CPU's coherent fabric so ordinary loads and stores reach the device, and lower latency. CXL.io (plain PCIe) remains for configuration and management.

00 · Further reading

References

  1. PCI-SIG, PCI Express Base Specification, Revision 6.0: PAM4 electrical, FLIT mode, FEC and CRC, L0p, equalization at 64 GT/s.
  2. CXL Consortium, Compute Express Link Specification 3.x: CXL.io, CXL.cache, CXL.mem, ARB/MUX, 256 B FLITs, Type 3 devices and HDM decoders.
  3. SerDes, retimer and CXL controller vendor application notes for board-level numbers.
PCIe Gen 5 →PCIe Gen 4 →PAM4 →DDR5 →