Arya Li, Project Manager at NextPCB.com
Support Team
Feedback:
support@nextpcb.comPCIe Gen5 (PCIe 5.0) doubles the per-lane data rate of Gen4 from 16 GT/s to 32 GT/s, delivering approximately 128 GB/s of bandwidth across a ×16 link. This doubling in speed comes with a corresponding increase in the difficulty of the PCB design problem: the Nyquist frequency of a Gen5 lane is 16 GHz, compared to 8 GHz for Gen4, and dielectric losses, copper conductor losses, via reflections, and crosstalk all scale unfavorably with frequency.
In AI server baseboards, PCIe Gen5 is the standard host interface connecting CPUs to GPU accelerators. The H100 SXM5, AMD MI300X, and Intel Gaudi 3 all use PCIe Gen5 ×16 as their primary host bus. Every AI server PCB built for these accelerators must implement one or more PCIe Gen5 channels correctly. Getting the design wrong results in link training failures, reduced effective throughput due to FEC overhead, or outright inability to train the PCIe link at Gen5 speeds—forcing fallback to Gen4 and halving the available CPU-to-GPU bandwidth.
This article provides a complete PCIe Gen5 PCB design guide, covering channel loss budget, impedance control, laminate selection, via optimization, routing rules, and compliance testing. Where relevant, the guidelines are placed in the context of AI server baseboard design.
| Parameter | PCIe Gen3 | PCIe Gen4 | PCIe Gen5 |
|---|---|---|---|
| Line rate (GT/s) | 8 | 16 | 32 |
| Encoding | 128b/130b NRZ | 128b/130b NRZ | 128b/130b NRZ |
| Effective bandwidth per lane (each direction) | ~1 GB/s | ~2 GB/s | ~4 GB/s |
| ×16 link bandwidth (bidirectional) | ~32 GB/s | ~64 GB/s | ~128 GB/s |
| Nyquist frequency | 4 GHz | 8 GHz | 16 GHz |
| UI (Unit Interval) | 125 ps | 62.5 ps | 31.25 ps |
| Differential impedance | 85 Ω ± 15% | 85 Ω ± 15% | 85 Ω ± 10% |
| Maximum channel insertion loss | < 20 dB at 4 GHz | < 28 dB at 8 GHz | < 28 dB at 16 GHz |
| FEC | No | No | Yes (mandatory) |
PCIe Gen5 retains NRZ (Non-Return-to-Zero) signaling, unlike the PAM4 modulation used in PCIe Gen6. This is significant: NRZ Gen5 has better noise margins than PAM4 at the same data rate, which is why the Gen5 channel insertion loss limit (28 dB at 16 GHz) is achievable with careful PCB design using commercially available materials, whereas Gen6 PAM4 at the same frequency imposes a far tighter effective noise budget per bit.
Forward Error Correction (FEC) is mandatory in PCIe Gen5. FEC can correct burst errors that would cause link failures in Gen4, but it does so at the cost of approximately 2–4 ns of additional latency per direction. FEC does not substitute for good channel design—excessive raw bit error rate before FEC correction degrades throughput and increases FEC correction overhead even when the link remains up.
The PCIe Gen5 channel loss budget is the envelope within which the complete signal path from transmitter output pad to receiver input pad must fit. The budget is defined in the PCIe Base Specification 5.0 and covers four loss mechanisms.
Insertion loss is the ratio of signal power delivered to the load versus power available from the source, expressed in decibels (dB). For PCIe Gen5, the maximum allowed channel insertion loss is:
Insertion loss accumulates from multiple contributors along the channel. A representative budget breakdown for a PCIe Gen5 channel on an AI server baseboard:
| Loss Contributor | Typical Loss at 16 GHz | Notes |
|---|---|---|
| PCB trace (dielectric loss) | 10–18 dB | Dominant contributor; depends on trace length, laminate Df, and copper roughness |
| PCB trace (conductor loss) | 3–8 dB | Skin-effect loss; reduced by smooth (LP/VLP) copper foil |
| Via structures (launch + transition vias) | 1–4 dB | Anti-pad geometry, stub resonance (if not backdrilled), via wall roughness |
| Connector loss (if present) | 0.5–3 dB | PCIe slot edge connector, press-fit connectors; depends on connector quality |
| Package and die pad launch | 1–2 dB | Package substrate routing and ball/pad launch; specified by component vendor |
| Total budget | < 28 dB | Must not exceed specification limit |
On a 300 mm long PCIe Gen5 trace in standard FR4, dielectric loss alone at 16 GHz exceeds 28 dB—the total channel budget. This is why standard FR4 cannot be used for PCIe Gen5 signal routing layers.
Return loss measures the impedance discontinuities in the channel. The PCIe Gen5 specification requires:
The primary sources of return loss in a PCIe Gen5 channel are via transitions (impedance discontinuity at the pad launch into the via barrel), connector transitions, and any trace width changes introduced by routing topology decisions or manufacturing variation. Each return loss source also reflects energy back toward the transmitter, which appears as intersymbol interference (ISI) at the receiver and degrades the eye opening.
Crosstalk specifications for PCIe Gen5:
These limits apply to the crosstalk coupling between any two adjacent PCIe lanes in the same direction. At 16 GHz, crosstalk coupling increases relative to Gen4 at 8 GHz, requiring larger lane-to-lane spacing or more aggressive shielding (ground traces between lanes, or routing on dedicated layers with ground planes above and below).
The following table shows how the 28 dB budget is typically allocated for different PCIe Gen5 channel topologies on AI server baseboards:
| Channel Topology | Trace Length | Trace Loss Allocation | Via + Connector Allocation | Margin |
|---|---|---|---|---|
| CPU to GPU (no connector) | 150–200 mm | 18–22 dB | 3–5 dB | 1–7 dB |
| CPU to GPU (with PCIe slot/riser) | 200–300 mm | 22–26 dB | 3–6 dB | Tight; requires low-loss material |
| CPU to PCIe switch then to device | 300–450 mm total | 24–28 dB | 4–8 dB | Requires retimer or low-loss premium material |
Channels that exceed the 28 dB budget require a PCIe retimer (a signal conditioning chip that regenerates the PCIe signal partway through the channel) to meet the specification. Retimers add cost, board area, power, and latency; good channel design avoids the need for retimers where possible.
PCIe Gen5 specifies 85 Ω ± 10% differential impedance for the PCB trace (tighter than the Gen3/Gen4 ± 15% tolerance). The narrowed tolerance reflects the sensitivity of the Gen5 channel loss budget to impedance discontinuities: a ± 15% impedance excursion produces a reflection coefficient of approximately −20 dB, which is acceptable at Gen4 frequencies but too large at Gen5 given the tighter return loss budget.
The 85 Ω differential impedance target applies to edge-coupled differential pairs (the standard orientation for PCIe traces). This corresponds to a single-ended impedance of approximately 45–48 Ω per conductor, with the coupling between the two conductors providing the balance of the differential impedance.
The trace width and spacing required to achieve 85 Ω differential impedance depend on the dielectric constant (Dk) of the laminate and the dielectric thickness between the trace layer and the adjacent reference plane. Representative geometries for common laminate materials:
| Laminate | Dk (at 10 GHz) | Dielectric Thickness (μm) | Trace Width (μm) | Trace Spacing (μm) | Resulting Zdiff |
|---|---|---|---|---|---|
| Standard FR4 | 4.5 | 100 | 90 | 90 | ~85 Ω |
| Panasonic Megtron 6 | 3.6 | 100 | 105 | 90 | ~85 Ω |
| Panasonic Megtron 6E | 3.4 | 100 | 110 | 90 | ~85 Ω |
| Isola Tachyon 100G | 3.6 | 100 | 105 | 90 | ~85 Ω |
| Panasonic Megtron 7 | 3.4 | 100 | 112 | 90 | ~85 Ω |
Note that lower Dk materials (Megtron 6E, Megtron 7) require slightly wider traces to achieve the same 85 Ω target compared to higher Dk materials at the same dielectric thickness. Wider traces have lower conductor resistance, which partially compensates for the lower dielectric loss of the premium material.
All impedance values above are approximate and must be verified by the fabricator using their actual process parameters. Fabricators should provide impedance test coupon data from the same production run to verify that as-built impedance is within ± 10% of the 85 Ω target.
The primary contributors to impedance variation in PCIe Gen5 traces are:
Dielectric loss is proportional to frequency × Df (dissipation factor). At 16 GHz (PCIe Gen5 Nyquist), the dielectric loss per unit length is approximately 2× the loss at 8 GHz (PCIe Gen4 Nyquist) for the same material. This frequency scaling makes laminate Df selection critical:
Conductor (skin-effect) loss is the second significant loss mechanism at 16 GHz. Skin effect concentrates current flow in a thin surface layer of the conductor; the rougher the conductor surface, the more the effective current path length increases, raising resistance and loss.
| Laminate | Df (10 GHz) | Dk (10 GHz) | PCIe Gen5 Suitability | Recommended Channel Length |
|---|---|---|---|---|
| Standard FR4 | ~0.020 | ~4.5 | Not suitable | < 50 mm only (marginal even then) |
| Isola FR408HR | ~0.010 | ~3.7 | Marginal; short channels only | < 100 mm with careful via design |
| Panasonic Megtron 6 | ~0.004 | ~3.6 | Good for direct on-board channels | Up to 200 mm (no connector) |
| Isola Tachyon 100G | ~0.0021 | ~3.6 | Excellent | Up to 250 mm; suitable with one connector |
| Panasonic Megtron 6E | ~0.0024 | ~3.4 | Excellent | Up to 250 mm; suitable with one connector |
| Panasonic Megtron 7 | ~0.0020 | ~3.4 | Best-in-class; overspec for Gen5 alone | Required for NVLink 5.0 co-routed boards |
For AI server baseboards where PCIe Gen5 traces share a stackup with NVLink 4.0 or NVLink 5.0 routing, the laminate selection is driven by the NVLink requirement (Megtron 6E or Megtron 7), and PCIe Gen5 performance benefits automatically from the better material. See the AI Accelerator PCB Design Guide for a full material selection framework for AI server boards.
Via optimization is arguably the single most impactful PCB design step for PCIe Gen5 performance. Via structures introduce impedance discontinuities (reflections) and resonances (insertion loss spikes) at frequencies that fall directly within the Gen5 signal band. Getting via design wrong can cost 3–8 dB of channel margin—enough to push a borderline channel over the 28 dB insertion loss limit.
A through-hole via that connects a signal from layer L1 to layer L5 in a 12-layer board has an unused section from layer L5 to layer L12—the stub. This stub is an unterminated transmission line segment. Its electrical length depends on the stub physical length and the propagation velocity in the board material.
The stub resonates at a frequency where its length equals a quarter wavelength (λ/4). At resonance, the stub presents a short circuit at the via junction, creating a null in the insertion loss response. For a 2 mm stub in Megtron 6 (propagation velocity ~17 cm/ns):
fnull = vp / (4 × Lstub) = 170 mm/ns / (4 × 2 mm) = 21.25 GHz
A 2 mm stub creates a null at 21.25 GHz—above the PCIe Gen5 Nyquist of 16 GHz, so the 28 dB budget at 16 GHz is not directly affected. However, the skirt of the resonance extends below the null frequency, and the resulting insertion loss increase at 14–16 GHz can consume 1–3 dB of the budget.
For a 1 mm stub:
fnull = 170 / (4 × 1) = 42.5 GHz (well clear of Gen5 band)
Reducing stub length to < 1 mm (approximately 40 mils) brings the stub resonance frequency to > 40 GHz, safely above the Gen5 signal band. At stubs below this length, the impact on Gen5 channel loss is typically < 0.5 dB.
Backdrilling drills from the opposite board face to remove the stub portion of the via, leaving only the functional barrel section. For PCIe Gen5:
The via pad (the annular copper ring around the drill hole) and anti-pad (the clearance hole in adjacent copper planes) geometry significantly affect the via's contribution to channel loss and return loss:
Blind vias (connecting an outer layer to an inner layer, not passing through the full board thickness) eliminate stubs entirely for the layers they connect. For PCIe Gen5 in AI server boards using HDI technology:
Each time a PCIe Gen5 trace transitions from one routing layer to another (to escape a BGA, avoid an obstruction, or change routing direction), the via structure introduces discontinuities. Best practices:
Intra-pair skew is the difference in electrical length between the positive (P) and negative (N) conductors of a differential pair. Unequal lengths cause the two signals to arrive at the receiver at different times, converting differential mode signal into common mode noise. PCIe Gen5 requires:
PCIe Gen5 uses 8b/10b and 128b/130b encoded data that is striped across multiple lanes in a link. The PCIe specification accommodates inter-lane skew through link training, but excessive inter-lane skew increases training time and can cause training failures on marginal channels:
PCIe Gen5 lane-to-lane crosstalk must stay below the ICN and ICF limits. Recommended spacing rules:
The reference plane adjacent to a PCIe Gen5 routing layer must be continuous and unbroken beneath all active signal traces:
At PCIe Gen5 frequencies, right-angle corners in traces cause excess capacitance and minor impedance discontinuities. Best practice:
The transition from PCB trace to component package (GPU, CPU, or PCIe switch) and to connectors (PCIe slot, press-fit, or board-to-board) are the highest-risk impedance discontinuities in the PCIe Gen5 channel. Design guidelines:
For a standalone PCIe Gen5 board (e.g., a PCIe add-in card or a smaller inference board), a practical 12–16 layer stackup for PCIe Gen5:
| Layer | Function | Material | Notes |
|---|---|---|---|
| L1 | SMT pads; short low-speed signals | Core prepreg | ENIG surface finish |
| L2 | Ground reference plane | Core | Solid pour; no splits under PCIe traces |
| L3 | PCIe Gen5 TX signal routing (horizontal) | Megtron 6E or equivalent | VLP copper; 85 Ω differential; backdrilled vias |
| L4 | Ground reference plane | Core | Separates TX and RX layers |
| L5 | PCIe Gen5 RX signal routing (vertical) | Megtron 6E or equivalent | VLP copper; opposite direction to TX |
| L6 | Ground reference plane | Core | |
| L7 | Power plane (VCC) | Standard laminate | 1–2 oz copper |
| L8 | Ground plane (power return) | Standard laminate | |
| L9 | Low-speed signal routing | Standard laminate | Management, I2C, UART |
| L10 | Ground reference | Standard laminate | |
| L11 | Additional power plane | Standard laminate | 1.8 V, 3.3 V auxiliary |
| L12 | SMT pads; bottom-side components | Core prepreg | ENIG surface finish |
For AI server baseboards where PCIe Gen5 shares the stackup with NVLink routing (see Why AI GPUs Require 30+ Layer HDI PCBs), the PCIe Gen5 signal layers are additional layers within the full 20–32+ layer stackup, and the laminate material selection is driven by the NVLink requirement.
Pre-layout simulation is strongly recommended for PCIe Gen5 channels, particularly those with multiple layer transitions, connectors, or trace lengths approaching the 28 dB budget limit. The simulation workflow:
PCIe Gen5 compliance testing verifies that devices and channels meet the Base Specification requirements. For PCB design, the relevant tests are:
| Design Parameter | PCIe Gen4 | PCIe Gen5 | Impact |
|---|---|---|---|
| Nyquist frequency | 8 GHz | 16 GHz | All frequency-dependent losses roughly double |
| Differential impedance tolerance | 85 Ω ± 15% | 85 Ω ± 10% | Tighter manufacturing tolerance required |
| Max channel insertion loss | < 28 dB at 8 GHz | < 28 dB at 16 GHz | Same limit, harder to achieve at 2× frequency |
| FEC | Not required | Mandatory | Adds latency; does not replace good channel design |
| Laminate minimum | Megtron 6 (Df ~0.004) | Megtron 6E or Tachyon 100G (Df ~0.002–0.003) | Higher material cost on Gen5 signal layers |
| Copper foil grade | LP acceptable | LP minimum; VLP recommended | Marginally higher fabrication cost |
| Via backdrilling | Recommended; not always required | Required on boards > 2 mm thick | Additional fabrication step; adds lead time and cost |
| Crosstalk spacing | 2W rule acceptable | 3W rule strongly recommended | Slightly wider routing channels required |
| Retimer requirement | Optional for long channels | May be required for channels > 250–300 mm | Additional cost and complexity if retimer needed |
In AI server baseboards for H100, MI300X, and Gaudi 3, PCIe Gen5 is the host interface connecting the CPU to each GPU or accelerator. The PCIe Gen5 design challenges on these boards are compounded by several factors not present in a standalone PCIe add-in card design:
For a complete treatment of AI server baseboard PCB design across all high-speed interfaces, see the AI Accelerator PCB Design Guide and A100 vs H100: PCB Stack Differences Explained.
Can standard FR4 be used for PCIe Gen5 PCB design?
No, for any practical channel length. Standard FR4 (Df ~0.020) generates approximately 1.5–2.0 dB/cm of insertion loss at 16 GHz. A 150 mm channel trace would contribute 22–30 dB of dielectric loss alone, consuming or exceeding the entire 28 dB channel budget before via and connector losses are added. PCIe Gen5 signal routing layers require low-loss laminates with Df ≤ 0.005 at 10 GHz—at minimum Megtron 6, and preferably Megtron 6E or Tachyon 100G for channels longer than 150 mm.
Is backdrilling always required for PCIe Gen5?
On boards thicker than approximately 1.5–2 mm, yes. The stub from a through-hole via in a 3–5 mm thick board (typical for multi-layer AI server PCBs) is long enough to create stub resonances whose skirts degrade the channel insertion loss at 16 GHz. For boards thinner than 1.5 mm (e.g., thin PCIe add-in cards), the stub is short enough that its resonance frequency is above 40 GHz and its impact on Gen5 channel performance is negligible. In practice, all AI server baseboards are thick enough to require backdrilling on PCIe Gen5 signal vias.
What is the maximum PCIe Gen5 trace length without a retimer?
It depends on the laminate material and via design. With Megtron 6E (Df ~0.0024) and VLP copper, well-designed vias (< 1 mm stub after backdrilling), and no connectors, a trace length of approximately 200–250 mm is achievable within the 28 dB budget. Adding a PCIe slot connector reduces this to approximately 150–200 mm. Beyond these lengths, a retimer is typically required to regenerate the signal before the next stage of the channel.
Does PCIe Gen5 require a different connector than Gen4?
The PCIe physical slot connector (CEM connector) is backward compatible across generations—a PCIe Gen5 card will physically fit in a Gen4 slot. However, PCIe Gen5 signal integrity requirements demand that connectors used at 32 GT/s meet tighter insertion loss and return loss specifications than many Gen4-era connectors. For PCB-to-PCB applications (press-fit or SMT connectors between the baseboard and a riser or switch card), connectors must be specifically rated for 32 GT/s / 16 GHz operation; not all Gen4-qualified connectors meet this requirement.
How does PCIe Gen5 FEC affect system design?
FEC adds approximately 2–4 ns of latency per PCIe direction. For most AI workloads, where the GPU-to-CPU PCIe channel is used for relatively infrequent data transfers (model loading, checkpoint writing), this latency is not performance-critical. FEC also reduces the sensitivity of the PCIe link to individual bit errors, providing some margin against marginal channel performance. However, FEC increases the overhead of error correction under high bit error rate conditions, potentially reducing effective throughput on consistently poor channels. Good channel design targets a pre-FEC BER < 10−4, leaving adequate FEC headroom without throughput degradation.
What test equipment is needed to verify a PCIe Gen5 channel?
Comprehensive PCIe Gen5 channel verification requires: a VNA (Vector Network Analyzer) capable of measurements to at least 20 GHz for S-parameter measurement of channel coupons; a high-speed oscilloscope (100 GHz+ analog bandwidth, or 50 GHz minimum) for eye diagram measurement; and a BERT (Bit Error Rate Tester) with a PCIe Gen5-capable pattern generator and error detector for link-level BER testing. For AI server board development programs, all three instrument types are typically used at different stages of the design verification process.
PCIe Gen5 PCB design requires the right laminate materials, precise impedance control, controlled-depth backdrilling, and manufacturing expertise to deliver channels that consistently pass compliance testing. NextPCB provides low-loss laminate processing, ± 5% impedance control, backdrilling, HDI, and complete PCBA services for AI server and data center PCB programs.
Related Articles:
Still, need help? Contact Us: support@nextpcb.com
Need a PCB or PCBA quote? Quote now