Interface sign-off / 02
PCIe 4.0 and 5.0 Signal Integrity: Loss and Equalization
PCIe is the serial link the rest of the site's machinery was built for: one differential pair per lane, clock embedded in the data, and a receiver with real equalisation. Each generation doubles the rate, which doubles the frequency the channel must survive — and because loss climbs steeply with frequency, each step has been harder than a factor of two.
PCI Express (PCIe) is the universal computational fabric connecting server processors to graphics processing units (GPUs), NVMe solid-state storage, and high-speed network interfaces. For earlier generations, standard PCB design practices and modest FR-4 laminates were sufficient. But with PCIe Gen 4 (16 GT/s) and Gen 5 (32 GT/s), NRZ signalling was pushed to its absolute physical limits over copper.
At Gen 5's 32 GT/s, the unit interval shrinks to an astonishing 31.25 picoseconds, establishing a Nyquist frequency of 16 GHz. Across an enterprise motherboard — spanning CPU package BGA vias, 12 to 14 inches of PCB trace, a standard Card Electromechanical (CEM) card-edge connector, and an add-in card — total insertion loss reaches 36 dB. At 16 GHz, less than one part in sixty of the launched signal amplitude reaches the receiver pins. The eye diagram at the receiver pad is not just degraded; it is completely, 100% closed shut.
To make a 36 dB channel functional, PCIe does not rely on passive routing margin alone. It operates as an actively negotiated, co-optimized communication system: an automated hardware state machine sweeps transmitter equalization presets, tunes receiver continuous-time filters (CTLE), and trains multi-tap decision feedback equalizers (DFE) at boot. Understanding how this equalization negotiation works and how the 36 dB budget is partitioned across real system form factors is the foundation of high-speed PCIe board design.
What "serial with an embedded clock" buys and costs
A parallel bus sends a clock alongside the data. A serial link does not — the receiver recovers timing from the data's own transitions, using a clock-and-data-recovery loop.
That removes the hardest problem a wide bus has: skew between a clock and many data wires. With one pair, there is nothing to skew against. It is why serial links scale to rates a parallel bus cannot reach on the same copper.
The cost is that everything now has to survive on one pair. There is no strobe to cancel common-mode delay, the data must contain enough transitions for the loop to track — which is what the encoding is for — and the receiver has to do real work to recover a signal the channel has badly degraded.
What it is
A differential serial link, NRZ, at 16 GT/s for Gen 4 and 32 GT/s for Gen 5, with 128b/130b encoding and an embedded clock. The unit interval is 62.5 ps at Gen 4 and 31.25 ps at Gen 5, and the Nyquist frequencies that matter are 8 GHz and 16 GHz. Each doubling of rate doubles the frequency at which the channel has to behave, which is why each generation has been harder than the last by more than a factor of two.
The channel
A realistic system channel is a package, a board escape, several inches of trace, at least one connector, an add-in card, and another package. Every one of those contributes loss and at least one discontinuity. The commonly quoted end-to-end budgets are roughly 28 dB at Gen 4's 8 GHz and 36 dB at Gen 5's 16 GHz, with the split between system board, connector and add-in card set by the CEM specification rather than by the base spec — the base spec defines the electrical layer, CEM defines the form factor's share of it.
Treat those two numbers as sizing figures, not as quotations. Each belongs to a particular specification edition and a particular reference plane, and they are repeated widely enough that the qualifications fall off in transit. Before one goes into a budget you are going to defend, take it from the base or CEM document for the revision you are building to — and note that a single number at Nyquist is a screening check, not a description of what the whole waveform experiences.
Thirty-six decibels means the signal at the receiver pad is roughly one part in sixty of what was launched. The eye there is fully, unambiguously closed. That is not a failure; it is the design point.
How the link recovers it
Equalisation is split across both ends and negotiated at link-up rather than fixed:
- Transmitter presets. Eleven defined combinations of de-emphasis and preshoot (P0–P10), pre-distorting the launched signal to compensate for the channel's slope.
- Receiver CTLE — a continuous-time filter that boosts high frequencies to flatten the channel, and which amplifies noise and crosstalk along with the signal.
- Receiver DFE — cancels post-cursor ISI exactly, using bits already decided. It cannot touch pre-cursor, and it propagates its own errors.
- Link equalisation. The two ends run a defined negotiation at link-up, sweeping presets and reporting back, converging on a combination that works for the channel actually present. The channel is characterised at run time, not at design time.
Sign-off
Channel compliance is statistical rather than time-domain. PCI-SIG's reference flow takes the channel's S-parameters, applies a defined reference transmitter and receiver equaliser, and computes an eye at a target bit error rate of 10−12 — far below anything a bit-by-bit simulation could reach in reasonable time. The output is an eye height and width at that BER, checked against a mask.
Two habits matter here. Check the S-parameter file for passivity and causality before trusting any of it — a non-causal file produces eye openings that do not exist. And when the budget will not close, the honest options are a lower-loss laminate, a shorter channel, or a retimer; adding equaliser strength past the reference model is a way of passing a simulation rather than a link.
Sources
- PCI-SIG Base and CEM specifications — per-edition loss budgets, reference planes and transmitter presets — ledger claims C-6, C-18
Why this decides how your board behaves
- Loss is the headline constraint, and it sets reach. The budget is a subtraction and what is left is inches of trace. See channel budgeting.
- Return loss matters more than its decibels suggest. An echo arriving near a sampling instant costs far more than the same energy arriving between samples.
- A resonance is fatal in a way loss is not. The reference equaliser can undo smooth attenuation and cannot restore a cancelled frequency, which is why via stubs and backdrilling get the attention they do on thick boards.
- The eye at the receiver pad may be closed, by design. Judging a modern link on an analogue eye photograph at the pad is judging the wrong thing.
What to do about it
Budget by row and name the owner of each. Package, breakout, board, connector, add-in card, far package. The breakout is the row people forget.
Attack discontinuities before attacking loss. Loss is equalisable and predictable; reflections and resonances are neither. Vias, launches and connector footprints first.
Design the stackup for the stub, not just the impedance. Board thickness decides whether a stub resonance lands in band, and exit-layer choice is free where backdrilling is not.
Report adapted equaliser settings, not eye photographs. What the receiver converged to, and how much range it had left, is the margin information.
- A link that trains but reports poor margin. Read the adapted settings. Coefficients sitting at their limits mean the channel is outside what the reference equaliser was defined against.
- Deep narrow null in S21. Invert the stub formula and compare with the board's thickness and the exit layer. See vias.
- Regular ripple in S21. Two reflecting structures; the ripple period gives their separation.
- Works on one slot and not another. Compare the breakout and the connector launch, not the trace lengths.
Go deeper — what doubling the rate actually costs, and where the sourced numbers stop
LTSSM link equalization training and presets (P0–P10). Because high-speed channels vary widely in trace length and materials, PCIe does not hardcode transmitter settings. Instead, the Link Training and Status State Machine (LTSSM) executes an automated four-phase hardware handshake at link-up (Recovery.Equalization):
- Phase 0 & 1: Downstream and upstream ports establish basic bit lock at 32 GT/s and advertise starting transmitter presets (typically Preset 4, 5, or 7).
- Phase 2: The downstream port (e.g. the add-in card) fine-tunes the upstream port's transmitter (the CPU/host). The card's receiver measures incoming eye quality (using eye height/width monitors or internal BER counters) and commands the host to step through different FFE coefficients until the optimal setting is locked.
- Phase 3: The host repeats the identical optimization process in reverse, tuning the add-in card's transmitter.
The specification standardizes 11 discrete FIR coefficient presets:
- Preset 0 (P0): Flat output, 0 dB preshoot, 0 dB de-emphasis. Useful only for ultra-short chip-to-chip connections.
- Preset 4 (P4): 0 dB preshoot, -2.2 dB de-emphasis. The universal starting point for link training.
- Preset 7 (P7) & Preset 8 (P8): Aggressive equalization (P7: -6.0 dB de-emphasis, 3.5 dB preshoot; P8: -3.5 dB de-emphasis, 3.5 dB preshoot). Mandatory for long-reach 36 dB channels to boost high-frequency transitions before entering the lossy board.
Loss budget partitioning: CEM vs. OCP/EDSFF topologies. The PCIe Base Specification defines the total 36 dB electrical envelope at 16 GHz, but the physical form factor determines how those decibels are divided:
- Standard PCIe CEM (Desktop/Server Expansion Slot): 36.0 dB total budget. Allocated as: TX package (3.5 dB), motherboard trace + breakout vias (17.0 dB), PCIe CEM card-edge connector (1.5 dB), Add-in Card trace (9.5 dB), RX package (3.5 dB), and AC coupling / board parasitics (1.0 dB). This leaves roughly 12 to 14 inches of motherboard routing on mid-loss laminates.
- OCP NIC 3.0 / EDSFF Enterprise Storage Form Factors: These high-density enterprise form factors replace the bulky legacy CEM connector with high-performance mezzanine connectors (such as 4C+ or EDSFF E1/E3 interfaces). These connectors exhibit lower parasitic inductance and lower reflection loss (≈ 1.0 dB), and daughtercards are physically much shorter (consuming only 4 to 6 dB). This frees up an additional 3 to 5 dB of budget, allowing motherboard designers to route longer server traces or utilize more cost-effective PCB dielectric materials without compromising the 36 dB ceiling.
In the real world
PCIe is the interface where the whole toolchain gets exercised: S-parameters, channel simulation, AMI models, compliance masks and a receiver that adapts. It is also where the gap between a channel that meets its budget and a link that works is smallest, because the specification's assumptions are unusually explicit.
The part that still surprises people is how much of the margin lives in structures rather than in trace length — the breakout, the vias, the connector launch. Inches are easy to count and discontinuities are easy to overlook, and the budget is usually lost to the second.
Related
Sources
- Texas Instruments SNLA426 — High-speed PCB layout for PCIe Gen 5 C-6a
- Tektronix — 10 Things to Know about PCIe C-18
Rows marked with a claim id are tracked in the claim ledger, which records what each source can and cannot establish.