SIPI

Interface sign-off / 04

PCIe 4.0 vs 5.0: Loss Budget, Tx Presets, Link Equalization

PCIe 4.0 runs 16 GT/s (gigatransfers per second) and PCIe 5.0 32 GT/s per lane, both NRZ with 128b/130b coding, so each generation doubles the Nyquist frequency the channel must carry: 8 GHz, then 16 GHz. The commonly quoted end-to-end loss budgets are 28 dB at 8 GHz and 36 dB at 16 GHz, and at that loss the eye at the receiver pin is typically closed. The link reopens it with transmitter presets, a receiver equaliser (an analogue CTLE and a decision feedback equaliser, DFE), and an equalization handshake that runs every time the link trains.

At a glance

PCIe 4.0 vs PCIe 5.0: what is the difference?

PCIe 5.0 (2019) doubled PCIe 4.0’s (2017) 16 GT/s to 32 GT/s with the same NRZ signalling and 128b/130b coding (C-125, C-137). The unit interval halved from 62.5 to 31.25 ps and the Nyquist frequency doubled from 8 to 16 GHz. The commonly quoted channel budget grew from 28 to 36 dB (C-6a, C-6b), the reference receiver’s decision feedback equaliser (DFE) grew from 2 taps to 3 (C-138), and Gen 5 added optional modes that shorten link training (C-140). The side-by-side table has Gen 3 as well.

How fast are PCIe 4.0 and PCIe 5.0?

After 128b/130b coding, PCIe 4.0 carries 1.97 GB/s per lane in each direction and PCIe 5.0 3.94 GB/s. That makes 7.88 and 15.8 GB/s on an x4 SSD link, and 31.5 and 63.0 GB/s on an x16 slot, twice that counting both directions: 126 GB/s for a PCIe 5.0 x16 slot. GT/s counts transfers on the wire; GB/s here is data after the coding. The PCIe bandwidth table on the PCIe 6.0 page covers every generation from 1.0 to 7.0.

What is the PCIe 5.0 loss budget?

About 36 dB at 16 GHz end to end, against about 28 dB at 8 GHz for PCIe 4.0 (C-6a, C-6b). One Texas Instruments layout note splits the Gen 5 figure as 9 dB for the CPU package, 16 dB for 9 in of high-loss motherboard trace, 1.5 dB for the slot connector and 9.5 dB for a 4 in add-in card, and asks for another 4 to 5 dB of margin against crosstalk at Gen 5 (C-134). The budget diagram draws Gen 3 to Gen 5 to scale.

How long can a PCIe 5.0 trace be?

It depends on everything else in the channel and on the laminate. TI’s example allots 16 dB to 9 in of high-loss motherboard trace (C-134), and its own materials table puts 1 in of trace at 16 GHz between 0.336 dB on Megtron 6 and 1.844 dB on a tetra-functional FR-4 (C-141). So 16 dB is about 9 in on the worst of those and several times that on the best, before vias, breakout and connectors take their share. Past that you need a lower-loss laminate or a repeater: PCIe 4.0 already called for a redriver or retimer on longer channels or a second connector (C-137). The loss budget calculator turns your board’s share into inches.

What are PCIe transmitter presets?

Eleven standard settings, P0 to P10, of the transmitter’s three-tap equaliser, each a combination of preshoot and de-emphasis (C-18, C-136). P4 is flat; P0 to P3 add only de-emphasis, P5, P6 and P9 only preshoot, P7 and P8 both, and P10 sets its de-emphasis from the low-frequency (LF) level the transmitter advertises during training. The preset table lists all eleven with their tap weights.

How does PCIe link equalization work?

In four phases each time the link moves to a new rate (C-139, C-140). The host hands the card a starting preset for the card’s transmitter (Phase 0); both ends reach the new rate and trade their equalisation abilities (Phase 1); the card tunes the host’s transmitter (Phase 2); and the host tunes the card’s (Phase 3). Each end tunes its own receiver as it goes. The phase diagram walks through it.

Are PCIe 4.0 and 5.0 backward compatible?

Yes. A PCIe 5.0 or 4.0 device works in an older slot, or with an older device, at the highest rate both support; a public PCI-SIG overview gives the example of an x16 PCIe 5.0 device working with an x1 PCIe 1.0 device (C-125). The PCIe 4.0 connector stayed compatible with Gen 1 to 3 (C-137).

What impedance does PCIe use?

The specification allows 70 to 100 Ω differential for the high-speed lanes. Add-in cards are built to 85 Ω so that they work with any host, and the 100 MHz reference clock is routed at 100 Ω (C-142). Vias, capacitor pads and connectors are exempt, but each mismatch is a reflection the receiver has to absorb.

What a transmitter preset does · P7 on a bit pattern
preset P7: c₋₁ = −0.10, c₀ = 0.70, c₊₁ = −0.20 +1 0 −1 Va Vb Vb Vc Vd 0 0 0 1 1 1 1 0 1 0 0 0 de-emphasis = 20·log(Vb/Va) = −6.0 dB preshoot = 20·log(Vc/Vb) = +3.5 dB boost = 20·log(Vd/Vb) = 7.9 dB
The transmitter shapes the launch to undo the channel. A three-tap equaliser adds a little of the next bit and of the previous bit, both with a negative weight. Inside a long run the level sags to Vb; the first bit after a transition stands higher at Va, the last before one at Vc, and a lone bit reaches the full swing Vd. The edges carry more swing than the steady state, a high-frequency boost of 20·log(Vd/Vb). The three ratios are the Base specification’s, as Tektronix reproduces them; which bit sits at which level follows from the three-tap model, and the tap weights are derived from P7’s +3.5 dB preshoot and −6.0 dB de-emphasis (C-136). The preset section below works through the numbers.

Why PCIe is serial, with an embedded clock

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 PCIe 4.0 and 5.0 are

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, and loss in dB grows faster than the square root of frequency, so each step has asked more of the channel than the one before.

PCIe 3.0 vs 4.0 vs 5.0, side by side

What changed for signal integrity (ledger rows in brackets; electrical values as reported from the Base specification)
PCIe 3.0PCIe 4.0PCIe 5.0
Released201020172019 (C-125)
Data rate per lane8 GT/s16 GT/s32 GT/s (C-125)
Signalling, codingNRZ, 128b/130bNRZ, 128b/130bNRZ, 128b/130b (C-125)
Unit interval125 ps62.5 ps31.25 ps
Nyquist frequency4 GHz8 GHz16 GHz
Example channel budget23.5 dB28 dB36 dB (C-134)
Crosstalk allowancenegligibleunder 2 dB4 to 5 dB (C-134)
Eye height after EQ25 mV15 mV15 mV (C-135)
Eye width after EQ0.3 UI, 37.5 ps0.3 UI, 18.75 ps0.3 UI, 9.375 ps (C-135)
Transmitter equaliser3-tap feed-forward equaliser (FFE), 11 presets P0 to P10 (C-18, C-138)
Reference receivernot covered hereCTLE (7 settings) + 2-tap DFECTLE (11 settings) + 3-tap DFE (C-138)
New in this generation128b/130b (C-125), link equalisation (C-139)lane margining (C-137)equalisation bypass modes (C-140)

PCIe 5.0 loss budget: where the decibels go

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 (Card Electromechanical) specification rather than by the base spec — the base spec defines the electrical layer, CEM defines the form factor's share of it.

One example allocation, Gen 3 to Gen 5 · drawn to scale in dB
package board, 9 in connector card, 4 in Gen 3 · 23.5 dB total 3.5 13 0.5 6.5 Gen 4 · 28 dB total 5 14 0.5 8.5 Gen 5 · 36 dB total 9 16 1.5 9.5 package and connector shares grew fastest
Doubling the rate did not double every line. Texas Instruments’ example allocation for a CPU, 9 in of high-loss motherboard trace, a CEM slot and a 4 in add-in card: a budget split, not a measured loss (C-134). TI does not state the frequency; the Gen 4 and Gen 5 totals match the budgets usually quoted at 8 and 16 GHz (C-6a, C-6b). The board share grew from 13 to 16 dB, while the package grew from 3.5 to 9 dB and the connector from 0.5 to 1.5 dB. At Gen 5 the same note asks for another 4 to 5 dB against crosstalk and 2 to 3 dB for temperature and humidity.

From Gen 3 to Gen 5 the total grew about 1.5 times, while two doublings of the Nyquist frequency multiply a trace’s loss per inch by 2 to 4 times, so on the same laminate the reach shrank. Treat these as sizing figures, not as quotations. Each belongs to a particular specification edition and a particular reference plane, and they are often quoted without those conditions. 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 at 16 GHz means the 16 GHz content of the signal arrives at roughly one part in sixty of what was launched. The low-frequency content is barely attenuated, so what reaches the pad is not a small copy of the launch but a smeared one, and the eye there is typically closed by dispersion. That is expected: the receiver is built to reconstruct the waveform rather than to find it intact.

PCIe Tx presets P0 to P10 and their coefficients

The transmitter’s equaliser has three taps: one for the bit about to be sent (the pre-cursor, c₋₁), the bit being sent (c₀) and the bit just sent (the post-cursor, c₊₁) (C-138). De-emphasis lowers the steady level after a transition and handles the channel’s post-cursor smearing; preshoot raises the bit before a transition and handles the pre-cursor, which the receiver’s DFE cannot, because only the transmitter knows the next bit. The eleven presets fix their mix (C-136):

PCIe transmitter presets at 8 and 16 GT/s; preshoot and de-emphasis as reproduced by Tektronix (C-136), tap weights and boost derived from them
PresetPreshootDe-emphasisc₋₁c₀c₊₁Boost
P00 dB−6.0 dB00.750−0.2506.0 dB
P10 dB−3.5 dB00.834−0.1663.5 dB
P20 dB−4.4 dB00.801−0.1994.4 dB
P30 dB−2.5 dB00.875−0.1252.5 dB
P40 dB0 dB0100 dB
P51.9 dB0 dB−0.0980.90201.9 dB
P62.5 dB0 dB−0.1250.87502.5 dB
P73.5 dB−6.0 dB−0.1000.701−0.2007.9 dB
P83.5 dB−3.5 dB−0.1250.751−0.1256.0 dB
P93.5 dB0 dB−0.1660.83403.5 dB
P100 dBset by the advertised LF level0———

The tap weights follow from the two dB values once the three taps are scaled to the full swing, |c₋₁| + c₀ + |c₊₁| = 1, and c₀ is what is left. Each preset is nominal: the measured values may sit within ±1 to ±1.5 dB of it (C-136). Tektronix gives the table for 8 and 16 GT/s; PCIe 5.0 also defines P0 to P10 (C-18), so check its values and tolerances against the revision you sign off to. The host chooses the starting preset and the handshake below refines it, by preset or by finer coefficient steps, for the channel actually present (C-139). That is why no single preset suits every board, although by the table’s arithmetic P7 carries the most boost of the fixed presets. The equalisation page shows what each block does to a pulse.

PCIe link equalization: how the link recovers the eye

Equalisation is split across both ends and negotiated at link-up rather than fixed:

Link equalisation · four phases, at each new rate
link equalisation, every time the link trains Phase 0 host → card starting Tx preset, sent with the speed change Phase 1 both ends new rate, errors ≤ 1e-4; trade EQ abilities Phase 2 card tunes the host’s transmitter and tunes its own receiver Phase 3 host tunes the card’s transmitter and tunes its own receiver exit: aiming at a bit error ratio of 1e-12 repeated at 8, 16 and 32 GT/s, ~100 ms each
Negotiated, not designed. Neither designer can know which card will meet which host, so the two ends tune each other at run time (C-139). The host gives the card a starting preset for its transmitter; once both reach the new rate with an error ratio no worse than 10−4, the card tunes the host’s transmitter and then the host tunes the card’s, each adjusting its own receiver as it goes. A link going to 32 GT/s runs this at 8, 16 and 32 GT/s in turn, about 100 ms per step by vendors’ accounts; PCIe 5.0 added optional modes that shorten this, including a bypass straight to the highest rate (C-140).

The panel below runs a compressed version of Phases 2 and 3 on a channel you build. The package, connector and add-in card are TI’s allocation for the generation you pick (C-134); the motherboard trace is yours, its laminate given in dB per inch at 16 GHz so the same board is the same board at either rate. The transmitter takes a preset from the table above, launched at 800 mV peak to peak, the low end of a full-swing transmitter as one FPGA vendor quotes it, not a figure tied to either generation (C-198). The receiver tries each of its reference CTLE settings (C-197) and a DFE whose taps stop at their limits (C-138). The eye is judged against TI’s tabulated minimum, 15 mV by 0.3 UI (C-135). Try predicting first: on TI’s Gen 5 channel, does the unshaped preset P4 meet 15 mV, and which preset would you send instead?

Best viewed on a laptop or desktop. These panels are built so you can move a slider and watch several charts answer at once. A phone has no room to put them side by side.

Negotiated, not designed numerical loss at Nyquist — eye height — width at 15 mV — CTLE — best preset —
The eye at the receiver · after CTLE and DFE
dataworst case15 mV × 0.3 UI
Insertion loss · against the budget
Every preset, each with its best CTLE
9 in
1.78 dB/in
—
Where the margin actually goes at Gen 5 Via stubs. At 16 GHz Nyquist, a 200 mil stub on a thick board resonates at around 7.4 GHz — inside the band — and puts a notch in the channel that no equaliser can undo, because the energy at that frequency is gone rather than attenuated. TI’s Gen 5 note says to back-drill any via stub longer than 15 mil (C-7) — but back-drilling is an implementation remedy for a particular stackup and stub length, not something a specification mandates. A thin board may need none of it; a thick backplane may need it at Gen 3. The other large terms are connector footprint discontinuities and crosstalk from neighbouring lanes in the escape, which is why TI sets aside 4 to 5 dB for crosstalk at Gen 5 (C-134).

How PCIe 4.0 and 5.0 channels are signed off

Compliance judges the eye after equalisation, extrapolated to a target bit error ratio of 10−12 rather than counted bit by bit, which no simulation or bench run could reach in reasonable time. TI tabulates the minimum: an extrapolated eye height of 15 mV and a width of 0.3 UI (one unit interval being one bit time) at Gen 4 and Gen 5, measured after equalisation but, in TI’s case, before the DFE at a redriver output (C-135). The Base specification’s exact reference receiver and procedure are not covered here.

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 practical options are a lower-loss laminate, a shorter channel, or a retimer; adding equaliser strength beyond the reference model makes the simulation pass without making the link any more likely to.

Why this decides how your board behaves

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. From Gen 4, lane margining measures eye height and width margin at the end of the channel (C-137).

Using this to find a fault
  • 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.
  • A link that trains at a lower rate than expected. Equalisation failed at the higher rate and the link fell back. Look at the phase it stopped in and the preset it was given in Phase 0.
  • 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 — presets as arithmetic, the reference receivers, and link-training time

From dB to tap weights. Write the transmitted level as y[n] = c₋₁·x[n+1] + c₀·x[n] + c₊₁·x[n−1] for bits x = ±1, with both outer taps negative and |c₋₁| + c₀ + |c₊₁| = 1. A lone bit reaches Vd = 1; inside a long run the level is Vb = 1 − 2|c₋₁| − 2|c₊₁|; the first bit after a transition is Va = 1 − 2|c₋₁|, and the last before one Vc = 1 − 2|c₊₁|. Put those into the definitions of de-emphasis and preshoot (C-136) and two equations give the two outer taps. For P7, +3.5 dB and −6.0 dB give c₋₁ = −0.10 and c₊₁ = −0.20 to two decimals, so Vb = 0.401 and the boost is 20·log(1/0.401) = 7.9 dB. A preset with only de-emphasis has a boost equal to it, and one with only preshoot a boost equal to the preshoot.

The reference receivers. Compliance scores a channel through a defined receiver, not the one in your silicon. As MathWorks models them from the Base specifications, Gen 4’s is a CTLE with 7 settings and a 2-tap DFE limited to ±30 and ±20 mV, and Gen 5’s a CTLE with 11 settings and a 3-tap DFE limited to ±80, ±20 and ±20 mV (C-138). The first tap’s limit rose from ±30 mV at Gen 4 to ±80 mV at Gen 5. The limits also draw a line: a channel that needs more subtraction than they allow falls outside what compliance covers, whatever a real receiver might manage.

How long training takes. A link trains at 2.5 GT/s and then equalises at 8, 16 and 32 GT/s in turn, the same four phases at each rate, and vendors put each step at about 100 ms, about 300 ms to reach 32 GT/s. PCIe 5.0 added two optional shortcuts, an equalisation bypass to the highest rate and a mode in which no equalisation is required (C-140). Both exist for faster bring-up; neither changes what the channel has to support.

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. PCIe 6.0 keeps the same 16 GHz Nyquist frequency with a tighter 32 dB budget; the PCIe 6.0 vs 5.0 page picks up the story there.

Where the numbers come from

Rates and dates from a public overview by a PCI-SIG board director. Budgets, eye limits and the loss breakdown from a Texas Instruments layout note; presets and the Gen 4 changes from a Tektronix guide; reference receivers from MathWorks’ specification-based models; the equalisation procedure from Teledyne LeCroy and Synopsys. The PCI-SIG Base and CEM specifications are available to members only and have not been read for this page, so every electrical figure is marked scoped in the claim ledger; check limits against the revision you sign off to. Unit intervals, Nyquist frequencies, bandwidths and preset tap weights are arithmetic, checked by the site’s number gate.

Related

Sources

Rows marked with a claim id are tracked in the claim ledger, which records what each source can and cannot establish.