RUE Logo

Tutorial 5.6: High-Speed Signal Layout

Routing techniques for DDR4, USB3, PCIe, Ethernet, and HDMI with impedance control and timing closure

Introduction to High-Speed Layout

High-speed signal routing requires disciplined attention to impedance continuity, return path integrity, timing alignment, and crosstalk management. Every rule has a physical basis in electromagnetic field behavior. This tutorial provides specific, actionable routing guidelines for the most common high-speed interfaces encountered in modern PCB designs.

When Is a Signal "High-Speed"?

A signal requires high-speed layout techniques when the trace length exceeds 1/6 of the signal's wavelength (one-way flight time exceeds 1/6 of the rise time):

Critical Length = Rise_Time * c / (6 * sqrt(Dk))

Example: Signal with 500ps rise time on FR-4 (Dk=4.0):
  L_critical = 500e-12 * 3e8 / (6 * 2.0) = 12.5mm

If trace length > 12.5mm, transmission line effects are significant.

Common interfaces and their critical lengths (FR-4):
  SPI at 10 MHz (tr=5ns):    125mm  (most traces are fine)
  RGMII at 125 MHz (tr=1ns): 25mm   (moderate concern)
  DDR4 at 1200 MHz (tr=200ps): 5mm  (ALL traces are critical)
  USB 3.2 (tr=100ps):         2.5mm (extremely critical)
  PCIe Gen4 (tr=35ps):        0.9mm (every mm matters)
            

High-Speed Design Fundamentals

Loss Budget Consideration

For SerDes interfaces (USB3, PCIe, SATA), the total channel loss budget is shared between:

Loss ComponentTypical AllocationHow to Minimize
PCB trace (conductor + dielectric)40-60% of budgetUse low-loss material, shorter traces, wider traces
Via transitions5-15% of budgetMinimize transitions, use blind vias, back-drill
Connectors10-20% of budgetUse high-frequency rated connectors
AC coupling capacitors5-10% of budgetUse small package (0201/0402), minimize stub
Package (BGA to die)10-20% of budgetFixed by IC vendor - cannot control

Checkpoint: Impedance-Controlled Traces on Correct Layers

Review Criteria

All impedance-controlled nets route on their designated layers with the correct trace width. No impedance-controlled trace routes on a non-controlled layer. Transitions between layers maintain impedance through proper via design.

Interface Routing Layer Assignment

InterfacePreferred LayerReasonReference Plane
DDR4 Data (DQ, DQS)Outer layers (L1, L8)Shortest path, best impedance controlAdjacent GND plane
DDR4 Address/CMDInner signal layersLonger traces acceptable, less critical timingAdjacent GND/PWR plane
USB 3.x TX/RXOuter layers preferredMinimum loss, best impedanceAdjacent GND plane
PCIe TX/RXInner striplineBetter shielding, less radiationDual GND reference (both sides)
HDMI/DisplayPortInner striplineEMC compliance (FCC/CE)Dual GND reference
Ethernet (SGMII)Any controlled layer100 ohm differential, transformer coupledAdjacent GND plane
LVDSAny controlled layer100 ohm differential, noise immuneAdjacent GND plane

Layer Verification Process

  1. Generate a "Nets by Layer" report showing which nets route on which layers
  2. Cross-reference against the impedance assignment table
  3. Flag any controlled-impedance net that routes on a non-controlled layer
  4. Verify trace width matches the field-solver calculation for that specific layer's geometry
  5. Check that via layer transitions for these nets include adjacent return vias

Checkpoint: Reference Plane Continuity Maintained

Review Criteria

The reference (return) plane beneath every high-speed signal trace is continuous and unbroken. No splits, slots, via clusters, or routing channels interrupt the return current path. Any necessary plane openings have been evaluated for their impact.

What Breaks Reference Plane Continuity

Impact of Reference Plane Breaks

When a signal trace crosses a plane gap:

  Signal trace:  ==========================================
  Plane (GND):   ========         GAP         ============
                         ^                   ^
                    Return current CANNOT cross here
                    Must detour around the gap

Effects:
  1. Impedance spike at the gap (can exceed +50% Z change)
  2. Return current takes long path around gap (increased loop area)
  3. Loop area increase = antenna (EMI radiation at signal frequency)
  4. Crosstalk increase with any other signal near the gap
  5. Timing skew if asymmetric gap affects diff pair differently

Rule: NEVER route a high-speed signal across a reference plane gap.
If unavoidable, provide stitching capacitors (100nF) at the crossing point
to provide AC continuity between the two plane sections.
            
Good: Continuous Reference

DDR4 data bus routes on Layer 1 with a solid, unbroken ground plane on Layer 2 underneath the entire routing channel. No other signals route on Layer 2 in this area. Via density under the DDR routing is minimized - only power vias for DDR VTT/VDDQ pass through, with plane restored between vias.

Bad: Broken Reference

DDR4 data traces on Layer 1 cross over a 3.3V/1.8V plane split on Layer 2. At the split boundary, return current must flow 15mm around the gap. Signal integrity simulation shows 30% impedance spike and 200ps timing skew between DQ bits. Board fails DDR4 write leveling calibration.

Interface-Specific Layout Rules

DDR4 Memory Interface

ParameterRequirementNotes
Data impedance (SE)40 ohm (+/- 10%)Some SoCs specify 50 ohm; check datasheet
DQS impedance (diff)80-100 ohm diffMatch to data impedance x2
Address/CMD impedance40 ohm SEPoint-to-point topology
Clock impedance80-100 ohm diffMatch to address length
DQ-to-DQS matching+/- 2.5mm within byteMost critical timing constraint
Byte-to-byte matching+/- 5mm (relaxed)DQ groups can differ from each other
ADDR/CMD to CLK+/- 5mmAll address/cmd relative to clock
Crosstalk spacing>= 3x trace width (3W)Between byte lanes minimum
Max trace lengthVendor-specific (typ 50-75mm)Check SoC design guide

USB 3.2 Gen 1/Gen 2

ParameterGen 1 (5 Gbps)Gen 2 (10 Gbps)
Differential impedance85 ohm +/- 15%85 ohm +/- 10%
Intra-pair skew< 5 mil< 2 mil
Max PCB trace length150mm100mm
Insertion loss budget (PCB)-4 dB @ 2.5 GHz-6 dB @ 5 GHz
Coupling spacing to other pairs>= 4x trace width>= 5x trace width
Via transitions allowed2 max (with return vias)1 preferred
Reference plane breaksNone allowedNone allowed
AC coupling cap placementNear transmitterNear transmitter (series)

PCIe Gen 3/Gen 4

ParameterGen 3 (8 GT/s)Gen 4 (16 GT/s)
Differential impedance85 ohm +/- 15%85 ohm +/- 10%
Intra-pair skew< 5 mil< 2 mil
Max PCB trace length (connector)250mm total150mm total
Insertion loss (PCB)-8 dB @ 4 GHz-8 dB @ 8 GHz
Lane-to-lane spacing>= 5W>= 5W
Preferred layerStripline (shielded)Stripline (required)
MaterialFR-4 acceptableLow-loss (Df < 0.010) recommended
AC coupling caps100nF, 0402, near TX100nF, 0201/0402, near TX

Gigabit Ethernet (RGMII / SGMII)

ParameterRGMIISGMII
Impedance50 ohm SE100 ohm differential
TX group matching+/- 50ps (5mm) to TX_CLKIntra-pair +/- 5 mil
RX group matching+/- 50ps (5mm) to RX_CLKIntra-pair +/- 5 mil
Max trace length100mm (SoC to PHY)150mm
Crosstalk spacing>= 3W>= 4W
Special requirement2ns TX_CLK delay (added by PHY or PCB)AC coupling caps at PHY

HDMI 2.0 / DisplayPort

ParameterHDMI 2.0 (TMDS)DisplayPort 1.4 (HBR3)
Differential impedance100 ohm +/- 10%100 ohm +/- 10%
Intra-pair skew< 5 mil< 3 mil
Inter-pair length match+/- 2mm between data lanes to clock+/- 2mm between lanes
Max PCB trace length100mm (connector to IC)150mm
Lane-to-lane spacing>= 4W (5W preferred)>= 5W
Preferred routing layerStripline (EMC compliance)Stripline (required for EMC)
Connector pin assignmentPer HDMI spec (check DDC/CEC routing)Per DP connector spec
ESD protectionRequired at connector (low-capacitance TVS)Required at connector

MIPI CSI-2 / DSI (Camera & Display)

ParameterMIPI CSI-2 (Camera)MIPI DSI (Display)
Differential impedance100 ohm +/- 10%100 ohm +/- 10%
Intra-pair skew< 5 mil< 5 mil
Max trace length100mm (150mm for low data rate)100mm
Clock-to-data matching+/- 5mm+/- 5mm
Spacing between lanes>= 3W>= 3W
Guard groundRecommended between lanesRecommended
EMC considerationShort traces preferred (reduces emission)Keep away from antenna

Common Pitfall: RGMII 2ns Clock Delay

RGMII specification requires a 2ns delay on the TX_CLK relative to TX_DATA (and RX_CLK relative to RX_DATA) for proper data sampling. Some PHY chips include internal delays (check datasheet for "Internal Delay" or "Add Delay" register settings). If using internal delays, do NOT add PCB delay (length matching data to clock). If the PHY has no internal delay, you must add ~300mm of trace length to the clock (or use an external delay line). Misunderstanding this requirement is one of the most common causes of Ethernet link failure.

Checkpoint: Crosstalk Spacing Maintained

Review Criteria

Parallel high-speed traces maintain minimum spacing to limit crosstalk to acceptable levels. The "3W rule" or tighter spacing requirements per interface specification are enforced. No long parallel runs between different signal groups.

Crosstalk Spacing Rules

ScenarioMinimum SpacingCoupled Length Limit
Same bus, same byte (DDR DQ)1.5W (3W preferred)Full trace length acceptable
Different byte lanes3W minimumNo limit if spacing met
Clock to data5W minimumMinimize parallel run
High-speed diff pair to diff pair4-5x diff pair widthNo limit if spacing met
High-speed to general signal4W< 20mm parallel recommended
Sensitive analog to digital5W or 0.5mm minMinimize any parallel run

Crosstalk Reduction Techniques

  1. Increase spacing: Crosstalk decreases as spacing squared for microstrip
  2. Use guard traces: Grounded guard trace between sensitive pairs (with via stitching every 5mm)
  3. Route on different layers: Orthogonal routing on adjacent layers (horizontal L1, vertical L3)
  4. Reduce parallel coupling length: Stagger routes so they don't run parallel for extended distances
  5. Use stripline: Stripline has lower crosstalk than microstrip due to shielding

Common Pitfall: BGA Escape Crosstalk

In the BGA breakout region, traces from different interfaces often run parallel at minimum spacing for 5-10mm. A DDR data bit routed adjacent to a PCIe TX pair in the breakout zone can inject switching noise. Solution: Plan BGA pin assignment to keep different interfaces in separate quadrants. Route interface groups through dedicated escape corridors with spacing between groups.

Checkpoint: Via Transitions with Return Vias

Review Criteria

Every high-speed signal via that transitions between layers has an adjacent ground return via placed within 0.5mm. Return vias connect the reference planes of both layers. For differential pairs, return vias are placed symmetrically between or adjacent to the pair.

Return Via Placement Rules

Single-Ended Signal Via Transition:

  Layer 1 (ref: L2 GND) ----[Signal Via]---- Layer 6 (ref: L5 GND)
                              [Return Via]
                              connects L2 GND to L5 GND

  Return via distance: <= 0.5mm (20mil) from signal via
  Best: immediately adjacent (touching anti-pads)

Differential Pair Via Transition:

  [Via P]   [Return Via]   [Via N]
    or
  [Return Via]  [Via P]  [Via N]  [Return Via]

  For diff pairs: place return via(s) symmetrically
  One return via minimum; two return vias (flanking) for > 5 Gbps
            

Why Return Vias Matter

Without a return via, the return current must find an alternate path between the two reference planes. This creates a large loop area that:

Checkpoint: No Stubs on High-Speed Nets

Review Criteria

High-speed nets have no unterminated stubs. T-junctions are eliminated by daisy-chain topology. Via stubs are controlled by blind vias, via-in-pad, or back-drilling. Test point connections use zero-length stubs.

Sources of Stubs

Stub SourceTypical LengthProblem FrequencySolution
Through-hole via stub0.5-1.5mm25-75 GHz (quarter-wave)Back-drill, blind via, or via-in-pad
T-junction to unused pin2-10mm4-19 GHzDaisy-chain topology, end termination
Test point branch1-5mm7-37 GHzPlace test point IN-LINE, not as branch
Unused connector pin trace5-20mm2-7 GHzRemove trace to unused pin, terminate if needed
Series component (0 ohm) body0.5-1mm37-75 GHz (usually OK)Use 0201/0402, minimize pad size

Stub Length Budget

Maximum acceptable stub length (causes 10% impedance variation):

  L_max = Rise_Time * v_prop / 4

  Where v_prop = c / sqrt(Dk) = 1.5e8 m/s for FR-4

Interface stub budgets:
  DDR4 (200ps rise): L_max = 200e-12 * 1.5e8 / 4 = 7.5mm (via stubs usually OK)
  USB 3.2 Gen1 (100ps): L_max = 3.75mm (marginal for through vias)
  PCIe Gen3 (50ps): L_max = 1.9mm (back-drill if stub > 1mm)
  PCIe Gen4 (35ps): L_max = 1.3mm (back-drill required for most stackups)
  56G PAM4 (20ps): L_max = 0.75mm (HDI/blind vias essential)
            
Good: Stub Management

PCIe Gen4 lanes route on Layer 3 (stripline). Signal vias are blind vias from L1 to L3, creating zero stub length. No T-junctions exist - all connections are point-to-point. Test points are placed in-line with zero-length branches using via-in-pad test pads.

Bad: Uncontrolled Stubs

PCIe Gen4 lanes use through-hole vias on a 1.6mm board with signal on Layer 3. Via stub from L3 to L8 = 1.0mm. No back-drill specified. Additionally, a debug header creates 8mm T-junction stubs on each lane. Eye diagram shows 40% eye closure due to reflections.

Industry Standards References
  • JEDEC JESD79-4: DDR4 SDRAM Standard - timing and layout requirements
  • USB-IF USB 3.2 Specification: Chapter 6 Physical Layer - PCB layout guidelines
  • PCI-SIG CEM 4.0: PCIe Card Electromechanical Specification - trace impedance and loss budgets
  • IEEE 802.3: Ethernet standard - PHY interface requirements
  • HDMI Specification 2.1: PCB design guidelines for TMDS/FRL routing
  • IPC-2221B Section 6.3: High-frequency design considerations
  • IPC-2141A: Design Guide for High-Speed Controlled Impedance Circuit Boards

Tool-Specific High-Speed Routing Configuration

Altium Designer - High-Speed Design
  1. Define net classes: Design > Net Classes - create classes for each interface (DDR4_DQ, DDR4_ADDR, USB3_TX, PCIe_Lane0, etc.)
  2. Impedance profiles: Layer Stack Manager > Impedance - define profiles linking to stackup geometry
  3. Differential pairs: Design > Differential Pairs - define P/N pairing (auto-detect from naming convention: _P/_N, +/-)
  4. Length matching rules: Design Rules > High Speed > Matched Net Lengths - set groups and tolerances
  5. Interactive routing: Use Interactive Differential Pair Routing mode. Enable "Timing Vision" overlay for real-time length display
  6. Length tuning: Select routed trace, use Tools > Interactive Length Tuning (accordion or trombone style)
  7. xSignals: For multi-pin interfaces spanning ICs, define xSignals to manage point-to-point segments within a bus
KiCad - High-Speed Routing
  1. Net classes: Board Setup > Net Classes - define track width, clearance, via sizes per class
  2. Differential pairs: Assign by naming convention (_P/_N or +/-) in schematic. KiCad auto-detects diff pairs
  3. Interactive diff-pair routing: Route > Route Differential Pair (D key during routing)
  4. Length tuning: Route > Tune Track Length for single-ended, Route > Tune Diff Pair Length for pairs
  5. Custom rules: Use Board Setup > Custom Rules for advanced constraints (DRC expressions)
  6. Length reports: Inspect > Net Inspector shows trace lengths per net
Cadence Allegro - High-Speed Design
  1. Constraint Manager: Central hub for all high-speed rules - Setup > Constraints
  2. Electrical CSet: Define impedance, propagation delay, relative delay, min/max length
  3. Topology: Constraint Manager > Electrical > Topology - define daisy-chain vs star, T-junction limits
  4. Timing Vision: Real-time color overlay showing length match status during routing
  5. Delay tune: Route > Delay Tune with configurable amplitude, spacing, and style
  6. Signal integrity: Analyze > Signal Integrity (Allegro SI) for IBIS simulation directly from layout
  7. Bus routing: Use Route > Bus Router for parallel high-speed buses with auto-spacing

High-Speed Layout Review Summary

Pre-Routing Checklist

  1. All impedance-controlled net classes defined with correct width/spacing
  2. Differential pairs identified and paired in constraint system
  3. Length matching groups defined with tolerances
  4. Routing layers assigned per interface priority
  5. Return via strategy documented (how many, where to place)
  6. Crosstalk spacing rules configured per interface pair

Post-Routing Verification

  1. All impedance-controlled nets route on correct layers - run constraint report
  2. Length matching within tolerance for all groups - run length report
  3. No reference plane breaks under high-speed traces - visual inspection of plane layers
  4. Return vias present at every layer transition - visual check with filter
  5. Crosstalk spacing maintained - run spacing DRC
  6. No stubs exceeding acceptable length - run stub length report
  7. Differential pairs maintain symmetry - check intra-pair skew report
  8. AC coupling capacitors placed correctly (near TX, not inline stub)
  9. Termination resistors at correct end (TX for series, RX for parallel)
  10. Clock traces isolated from data - verify routing separation visually

Signal Integrity Simulation Triggers

Run SI simulation (IBIS or S-parameter) when any of these conditions exist:

Common Pitfall: Length Matching Without Accounting for Via Delay

Length matching reports typically show trace length only, not including via transition delay. A via through a 1.6mm board adds approximately 8-10ps of delay (equivalent to ~1.5mm of trace length in FR-4). For interfaces with tight timing budgets (DDR4 DQ-to-DQS), this via delay difference can consume a significant portion of the matching tolerance. If one byte lane has 2 layer transitions while another has 0, the via delay difference is ~20ps (3mm equivalent). Account for this by either: (1) ensuring all nets in a group have the same number of via transitions, or (2) subtracting via delay from the trace length budget.