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.
| Gen 5 | Gen 6 | Gen 7 | |
|---|---|---|---|
| Data rate per lane | 32 GT/s | 64 GT/s | 128 GT/s |
| Signaling | NRZ, 32 GBd | PAM4, 32 GBd | PAM4, 64 GBd |
| Nyquist frequency | 16 GHz | 16 GHz | 32 GHz |
| Encoding | 128b/130b | FLIT mode (1b/1b): 256 B FLITs | FLIT mode |
| Error protection | LCRC + replay per TLP | FEC (3 × 2 B) + 8 B CRC + replay per FLIT | Same |
| x8 per direction | 31.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 RMS | 0.10 ps RMS | tighter |
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.
| Signal | Direction | Electrical | Function | What to get right at Gen 6 |
|---|---|---|---|---|
| TX0±…TX7± | CPU → device | PAM4, 32 GBd, AC-coupled, multi-tap TX FIR, precoding | Downstream lanes (CXL and PCIe traffic share them) | ≈ 32 dB budget, very low reflections, back-drilled vias, transmitter linearity (RLM) |
| RX0±…RX7± | Device → CPU | Usually ADC + DSP receiver (FFE, DFE, CDR) | Upstream lanes | Crosstalk is now an SNR term against a 1/3-size eye |
| REFCLK± | Host → device | 100 MHz HCSL / LP-HCSL, SSC | Common reference (SRIS also defined) | ≤ 0.10 ps RMS including every buffer |
| PERST# | Host → device | 3.3 V (1.8 V on EDSFF) | Fundamental reset | Same rules as earlier generations; the device's DDR5 and firmware must also be ready |
| PRSNT#, CLKREQ# | Slot ↔ device | Static / open-drain | Presence, clock request | Hot-plug of memory devices needs the OS to offline the capacity first |
| PWRDIS (EDSFF) | Host → device | 3.3 V | Forces the device off | Used to power-cycle a hung module |
| SMBus / I3C | Bidirectional | Open-drain / push-pull | Management, FRU, thermal | Out-of-band access when the link is down |
| 12 V, 3.3 Vaux | Host → device | Main and auxiliary rails | Device power (memory expanders draw 20–70 W) | DDR5 and controller transients; separate quiet supply for the PHY |
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:
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.
| Where | Signaling | Encoding / coding | Note |
|---|---|---|---|
| Data lanes, 64 GT/s | PAM4, 32 GBd, Gray-coded, mod-4 precoding when requested | FLIT mode (1b/1b): no sync headers, no per-TLP STP/LCRC; 256 B FLITs with FEC + CRC; scrambled | Coding is "1b/1b": every bit on the wire belongs to a FLIT |
| Data lanes, ≤ 32 GT/s | NRZ | 128b/130b or 8b/10b, but carrying FLITs once FLIT mode is negotiated | The link layer stays in FLIT format at every speed |
| Training and control | NRZ at lower rates, then PAM4 | TS1/TS2 (with FLIT mode supported/enabled bits), SKP, EIEOS | Equalization at 64 GT/s after 32 GT/s (or with skips) |
| Reference clock | 100 MHz HCSL | — | 0.10 ps RMS |
| CXL on top | Same PHY | CXL 3.x: 256 B FLITs (and a latency-optimized variant) carrying CXL.io, .mem and .cache | CXL 1.1/2.0 used 68 B FLITs on Gen 5 NRZ |
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 %).
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.
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.
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.
| Symptom | Likely cause | Check / fix |
|---|---|---|
| Trains at 32 GT/s, not 64 | 64 GT/s equalization failed: reflections, crosstalk, refclk jitter, a partner without Gen 6 | EQ status, lane margining at 64 GT/s, refclk jitter |
| High FEC correction counts, rising with temperature | Marginal SNR on a lane: correction is hiding a weakening channel | Track per-lane FEC statistics over time; it is an early warning before replays start |
| FLIT replays and latency spikes | Uncorrectable FLITs (errors beyond FEC), often bursts | Check precoding negotiation, power-supply noise, crosstalk aggressors |
| CXL memory missing from the OS | CXL.io enumeration fine but HDM decoders or BIOS memory map not set up | Device and host HDM decoder programming; CXL DVSEC registers |
| Memory latency far above expectation | Retimer or switch in the path, power-state exits (L0p, L1), device DRAM refresh or ECC scrubbing | Latency histogram per path; disable power states to compare |
| Link width drops at idle and stays narrow | L0p width changes not returning to full width | L0p policy and status registers |
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.
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.
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.
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.
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.