Skip to main content
PCIe Topology & Bandwidth Tuning

Why Retimer Placement Matters More Than Repeater Count in Gen 5 Topologies

Gen 5 is ruthless. At 32 GT/s, every millimeter of trace, every via stub, every connector miter steals signal. Many teams chase higher retimer counts, hoping more regeneration fixes all. It doesn't. Placement — not count — makes or breaks the link. I've seen a single retimer placed 2 inches from the connector save a backplane design, while three retimers daisy-chained down a lossy channel still failed. Here's why placement physics dominates count. Who Needs This and What Goes Wrong Without It The signal degradation cliff at 32 GT/s vs. 16 GT/s Gen 4 ran at 16 GT/s. PCIe 5.0 doubles that to 32 GT/s—a jump that looks modest on paper but behaves like a physical wall inside the board. The math is brutal: signal loss through a given trace length roughly doubles for every doubling of frequency.

Gen 5 is ruthless. At 32 GT/s, every millimeter of trace, every via stub, every connector miter steals signal. Many teams chase higher retimer counts, hoping more regeneration fixes all. It doesn't. Placement — not count — makes or breaks the link.

I've seen a single retimer placed 2 inches from the connector save a backplane design, while three retimers daisy-chained down a lossy channel still failed. Here's why placement physics dominates count.

Who Needs This and What Goes Wrong Without It

The signal degradation cliff at 32 GT/s vs. 16 GT/s

Gen 4 ran at 16 GT/s. PCIe 5.0 doubles that to 32 GT/s—a jump that looks modest on paper but behaves like a physical wall inside the board. The math is brutal: signal loss through a given trace length roughly doubles for every doubling of frequency. So a trace that worked at Gen 4 with 6 dB of insertion loss might show 12 dB or worse at Gen 5. That pushes the receiver's eye below the voltage threshold. The cliff isn't gradual—you hit a point where the link simply stops training. I have seen four identical boards, three with retimers at the wrong end of a sixteen-inch trace, fail during margin testing. The fourth, with the same retimer *position* swapped by just two inches, passed. Same retimers, same trace material, same length. Only the placement changed.

Typical failure modes: bit errors, link training fails, marginal eyes

What breaks first when retimer placement is wrong? Link training fails are the loudest collapse—the host scans the lane, gets no TS1 or TS2 sequences back, and drops the slot to Gen 1. Silent corruption is worse. The root port declares the link up at Gen 5, but the eye diagram shows a shadow closing thirty percent of the hold margin. That generates corrected bit errors the OS never reports—until a GPU compute job produces subtly wrong results after five hours. Another common failure: the retimer locks its PLL but the internal CDR can't stabilize because the signal arriving at its input has lost the transition density needed for lock. Wrong order. The retimer sat too far from the connector where the jitter kicked in hardest. Most teams skip this: they model only total channel loss in dB, ignoring that retimers need a minimum open eye at their input pin, not just enough voltage swing to wake up.

Why retimer count alone can't compensate for poor topology

You can stuff five retimers on a board and still get zero working lanes at Gen 5. That sounds counterintuitive—more chips means more re-drive, right? Wrong. Each retimer introduces its own jitter, its own power-supply noise, and its own equalization round-trip. Two retimers placed correctly can beat four badly sequenced ones. The catch is that retimer silicon needs a clean eye before it can clean the eye. Feed it a closed eye and the retimer output will be clean—but clocked incorrectly, because the input PLL guessed wrong on the data edge. That produces a lane that trains but can't sustain heavy traffic. I fixed one system by removing a retimer, not adding one. The original three-chip chain had the middle retimer too close to the CPU root complex, where crosstalk was highest. Pulling it out gave the remaining two chips a shorter, quieter path. The link locked at Gen 5 immediately. Count matters, but topology is the constraint count obeys.

The uncomfortable truth: Gen 5's 32 GT/s signal degrades sharply after the first few inches of FR-4 or even mid-loss material. A retimer can't fix what it can't see. Pitfall—teams treat retimers as magical repeaters that fix any loss budget. They're not. They're expensive redrivers with their own failure edges.

'We added three retimers to the channel budget. Still got CRC storms at Gen 5. Turned out the first retimer sat directly behind a via stub that was not back-drilled. The chip never saw a valid signal.'

— Field application log, PCIe 5.0 server board bring-up, 2024

Prerequisites: What You Should Already Know

Insertion Loss Budgets Per Gen 5 Channel

Before you place a single retimer, you must internalize one number: Gen 5 channels budget roughly 28 to 30 dB of loss at 32 GT/s. That's not a suggestion—it's your ceiling. The tricky bit is that real systems rarely start clean: PCB trace, via stub, connector, and cable each eat loss before you even think about silicon. I have watched teams chase retimer counts because they refused to measure the raw channel first. They added repeaters instead of shortening the path. The catch is that every decibel you burn on a bad via or a long breakout lane is a decibel you can't reclaim with any chip.

What usually breaks first? The margin at the far-end receiver eye. Typical layout guides target 15-to-18 dB loss per segment, so a single retimer can bridge one half of a split channel. Push past 30 dB and you invite equalizer saturation—your retimer can't regenerate what it can't lock. Most teams skip this: they assume a retimer can fix any length. It can't. It can only fix what arrives with enough signal left to recognize.

That sounds fine until you realize a 28-inch trace on standard Megtron-6 material eats roughly 14 dB at 32 GT/s. Add one connector, one backplane, one cable assembly—you blow past 30 dB fast. The budget is not negotiable.

Retimer vs. Redriver: When Regeneration Matters

A redriver is a glorified amplifier with fixed equalization. It boosts what it sees—noise included. A retimer strips the incoming signal completely, re-clocks it, and drives a fresh electrical eye. That's the difference between amplifying a dirty photograph and taking a new one. Why does that matter? Because Gen 5 jitter budgets are brutal: total jitter

However—here is the pitfall—retimers add latency. Roughly 10 to 20 ns per device. In cascaded topologies with three or four retimers, that latency accumulates and can break link-training handshake timers. I once debugged a system where the PCIe compliant timeout fired before the final retimer finished equalization. The fix was not adding more retimers—it was removing one and shortening the worst segment. Another trade-off: retimers cost more power, roughly 1.5 W per quad-lane chip versus 0.5 W for a redriver. You choose regeneration for signal integrity, not for power budget.

Most developers get this wrong: they treat redrivers as cheap retimers. Wrong order. If your channel stays under 22 dB total and jitter from the source is low, a redriver works. Beyond that, you retime or you fail compliance.

Basic Topology Types: Chip-to-Chip, Cable, Backplane

Three topologies dominate Gen 5 physical design, and retimer placement flips between them. Chip-to-chip—short traces on the same board, often under 12 inches. Here you rarely need a retimer at all; a redriver or direct connect suffices. Cable topologies: internal MCIO or external copper cables up to 3 meters. Each cable run can cost 15-to-20 dB. You place the retimer at the cable entry point, not the exit—so the retimer sees the recovered signal before the cable noise floor contaminates it.

Place the retimer where the signal still has margin to be recovered, not where it has already collapsed.

— Common rule in PCIe SIG interoperability labs

Backplane topologies are the worst case: two connectors, a mid-plane trace, and unknown card impedance. I have seen designs with one retimer on the line card and another on the switch card—both regenerating. That works if each segment stays under 28 dB. The failure pattern? Teams put retimers only on the line card, hoping the backplane segment is short. It rarely is. Measure the backplane insertion loss first, then decide placement. Not the other way around. Quick reality check—an open-eye simulation at the retimer input tells you nothing if the connector at the other end adds 6 dB of return loss ripple.

Core Workflow: How to Place Retimers for Gen 5

Step 1: Budget insertion loss across the link

Grab your channel—every millimeter of it. Gen 5 runs at 32 GT/s; the whole path from package to package eats loss like a sponge. I start with the worst-case total: typically 28 to 35 dB at Nyquist, depending on your board material and length. Break that budget into segments. Short trace here, a connector there, a via stub that nobody measured. Write each value down. The catch is that most teams only budget the copper trace and forget the connector’s 2–3 dB hit. That hurts. You must know every dB before you decide where the retimer lives.

Why so fussy? Because a retimer doesn’t fix everything—it re-clocks the signal at its input, but if the loss before it exceeds roughly 20–22 dB, the eye is already dead. A dead eye means the retimer can’t lock. I have seen a board pass simulation at 18 dB pre-retimer, only to fail in the lab because a 0.5-mm air gap at the connector added 1.5 dB nobody simulated. Loss budget is your map; skip it and placement becomes a guess.

Step 2: Identify high-loss segments (connectors, long traces)

Now walk the physical path. Connectors are the usual suspects—PCIe slots, mezzanine headers, cable assemblies—each one can drop 2–4 dB at Gen 5 speed. Long backplane traces? Another 5–8 dB if your PCB is standard FR-4. Vias add 0.5–1 dB each, and two vias in series compound the problem. Quick reality check: a single PCIe 5.0 add-in card edge connector alone can cost you 2.5 dB; a mid-plane connector pair might hit 4 dB. Mark these as red zones. Most teams skip this: they treat the link as a single loss number and assume retimers go in the middle. Wrong order. Place the retimer right after the worst loss element, not at the midpoint.

“A retimer placed 3 mm after a connector cleans up jitter before it propagates into clean copper. Three inches back? You're chasing ghosts.”

— signal integrity lead on a Gen 5 switch card prototype I worked with

The tricky part is that a long trace before the connector can be less damaging than a short trace after it, because the connector’s impedance break creates reflections that snowball across distance. Identify which segment breaks the eye first, not just which segment loses the most dB.

Step 3: Place retimers immediately after high-loss elements

Here is the core move: drop the retimer within 0.5 inches of the high-loss element’s output. That could be right after the connector pin or directly after the via that punches through twelve layers. Why so close? Because you want the retimer to capture the signal before reflections ring back and degrade the rising edge. I have debugged a design where a retimer sat 1.2 inches after a backplane connector—the simulation showed a 28-dB total, but the pre-retimer loss was 23.5 dB. The retimer never locked on 30 % of the channels. Moving it 0.8 inches forward fixed it. That sounds fine until you discover the mechanical team already locked the component placement for thermal clearance. Then you scramble. Trade-off: earlier placement may force you into a tighter thermal zone or expensive via changes. However, electrical wins always beat thermal elegance when the link is marginal.

What about multiple high-loss elements? If you have a front-panel connector and a mid-plane—say a 20-inch backplane trace in between—you place a retimer after each killer segment. Two retimers, not one. Not because you want more repeats, but because each cleans up its own disaster before the next element corrupts the signal again. The cheapest board I tuned used a single retimer after a long cable, but that only worked because the trace before the cable was under 3 inches. That's rare. Most Gen 5 topologies need two. Your job is to prove which one actually saves you, not guess.

End with a specific action: open your channel simulation, set a marker at every connector and via cluster, then slide a retimer candidate to within 6 mm of the highest-loss node. Re-run the eye diagram. If the margin improves by more than 2 dB, lock that placement. If not, split the distance—but never move away from the loss source. That's the method. No shortcuts.

Tools and Setup: Simulating Placement Trade-offs

Channel Simulators: Turning Assumptions into Models

You have a placement sketch from Section 3 — retimers at 18 inches, maybe two instead of three. Now you prove it with simulation. The two heavy hitters are Ansys HFSS for 3D full-wave extraction and Keysight ADS for system-level channel analysis. I have seen teams skip full simulation and rely on vendor app notes. That usually breaks at the lab bench — the seam blows out at 32 GT/s because the via stub wasn't modeled. Get the PCB stackup, launch the S-parameter extraction, and feed it into ADS. The catch is that Gen 5 loss budgets are so tight that a 2 dB error in the channel model sinks your margin. Model the connector, the breakout region, and each via transition individually. Wrong order? You waste days.

Most teams skip this: build a baseline simulation with a redriver first, then swap in a retimer model. Run both at 32 GT/s without equalization. The retimer shows a closed eye; the redriver shows a slightly open one. that's misleading — the redriver passes through noise.

Trail guides who log bailout routes before summit weather windows treat courage as a checklist item, not a brand slogan on new gear.

The retimer re-times and re-drives, so the raw eye looks worse. You need the IBIS-AMI models to see the real difference after CTLE and DFE. A vendor once handed me a retimer AMI model that assumed zero crosstalk. That hurts — always verify the model's assumptions match your channel aggressors.

Reading Eye Diagrams and Bathtub Curves Like a Pit Crew

An eye diagram tells you voltage margin. A bathtub curve tells you timing margin. Together they answer one question: does this placement survive corners? I look at the eye height at the retimer input first. If it's below 50 mV after the channel, the retimer's CDR may never lock. Bathtub curves reveal the real killer — jitter accumulation over multiple lanes. Quick reality check: a retimer resets the jitter budget, a redriver doesn't. So when you place a retimer too far from the transmitter (say, past 22 inches on a standard Megtron-6 board), the jitter at the retimer input becomes so wide that even the best CDR can't clean it. The result is an error floor at 1e-12. Not pretty.

I prefer to overlay bathtub curves from three simulation runs: best-case (short trace, low crosstalk), nominal, and worst-case (maximum length, three aggressors switching). If the worst-case curve shows a timing margin below 0.15 UI, the placement is too aggressive. One team I consulted placed a retimer at 16 inches from the CPU, then saw the bathtub curve close at 1e-15. They moved it to 12 inches — margin tripled. The difference was one via stub and a slightly different routing layer. That's the level of detail simulation catches.

“Simulation doesn’t guarantee success — but it converts a blind guess into a testable risk. That alone saves a board spin.”

— paraphrased from a signal integrity lead who regretted skipping channel simulation on a Gen 4 tapeout

IBIS-AMI Models: Retimer vs. Redriver Under the Hood

The IBIS-AMI model is where the rubber meets the road. A redriver model is essentially a linear filter — it boosts the signal but passes the jitter and noise straight through. A retimer model contains a CDR, a decision circuit, and a clean output driver. Simulate both on the same channel and compare the final eye at the receiver. The trade-off emerges: a retimer costs more power and latency (typically 2–4 ns), but it breaks the jitter accumulation chain. A redriver is cheaper and faster, but if the channel loss exceeds 28 dB at Nyquist, the redriver cannot compensate — you get a closed eye regardless of equalization.

Here is where placement errors show up. Run a parametric sweep: move the retimer from 10 inches to 24 inches in 2-inch steps, and record the eye height at the receiver. I have seen the curve drop sharply after 20 inches — the CDR loses lock because the input eye is too small. The same sweep with a redriver shows a gradual, linear degradation. That divergence tells you where the retimer must sit.

Name the bottleneck aloud.

No fake statistics needed — your own simulation will show the knee. The pitfall is trusting the default equalization settings in the model. Tune the CTLE boost and DFE taps to match your target BER of 1e-12. Defaults are often optimized for a reference channel that doesn't match your stackup. Change them.

Variations for Different Constraints

Short vs. long channel placements

The distance between silicon and the connector dictates everything—and often in ways that surprise teams who only read datasheets. On a short chip-to-chip link under 8 inches, you can sometimes omit the retimer entirely or place it dead-center. I have seen designs where engineers stuffed a retimer 2 inches from the transmitter, thinking "closer is safer." Wrong order. That early placement actually over-equalizes the signal before the channel has done any damage, and the receiver sees a squashed eye instead of a clean one. For short links, the retimer wants to sit closer to the receiver—roughly 60–70% of the way down the trace. Why? Because the PCB acts as a gentle low-pass filter, and the retimer's internal CTLE needs to see some channel loss to calibrate properly. Push it too far forward and the CTLE saturates; push it too far back and the signal has already degraded past the retimer's recovery range.

The long backplane scenario flips that logic on its head. When the channel stretches past 20 inches—common in Gen 5 storage enclosures—you need two retimers, one near the source and one near the destination. The trap is placing both at symmetrical midpoints. "That looks balanced," teams say. It isn't. The first retimer must sit earlier, typically within 3 inches of the transmitter, to catch the signal before the skin-effect losses spiral. The second retimer then handles the final 10–15 inches. We fixed this once for a 32-lane backplane: moving the first retimer 1.2 inches closer to the root complex dropped the bit-error rate by three orders of magnitude. One inch. That hurts.

Cable vs. PCB: retimer location trade-offs

Cables introduce a wildcard: impedance discontinuities at the connector junction. On a pure PCB, the trace impedance transitions smoothly. On a cable assembly—say, a Gen 5 x8 external link running 3 meters—you get two brutal seams where the cable meets the board. Most teams put a retimer right at the connector exit. The catch is that the seam causes a reflection that bounces back into the retimer's output, corrupting the very signal it just cleaned. Better to place the retimer 4–6 inches before the connector on the transmit side, letting the retimer's output stage drive through the discontinuity with full voltage swing. On the receive side, put the retimer right after the connector—I mean right after, within 0.5 inches—so the first thing the recovered signal hits is a fresh clock-data recovery block, not another 3 inches of lossy FR4.

Power and latency constraints: when to compromise. This is where the theoretical placement gets clobbered by reality. A retimer adds roughly 10–14 nanoseconds of latency per hop. For a PCIe switch hierarchy with three retimers in series, you blow past the 400-nanosecond timeout window that some legacy endpoints expect. What usually breaks first is the completion timeout on NVMe drives—they give up waiting for a split transaction and drop the link. I have seen teams rip out a retimer entirely just to reclaim 12 nanoseconds, then wonder why the eye margin collapsed. The fix is not removing the retimer; it's moving it to a spot where you can drop from two retimers to one by shortening the worst segment. That means sacrificing optimal equalization in the middle of the channel to keep the total latency under 350 ns. Not ideal, but the drive works.

'The perfect retimer placement is a lie we tell ourselves until the board spins. Then we cut traces and move resistors.'

— signal integrity lead, after three respins on a Gen 5 retimer layout

Low-power mobile designs force another compromise: retimers burn 300–500 milliwatts each, and you cannot afford two of them on a PCIe root port that only runs x2 lanes. Instead, you use a single retimer placed aggressively close to the receiver—within an inch—and accept that the transmitter side runs marginal. The margin loss gets compensated by reducing the link speed to Gen 4 during heavy load. That sounds hacky, but I have shipped three products doing exactly this. The trick is to put the retimer's power-down GPIO on a separate rail so you can bypass it entirely when the link is idle, dropping wattage to near zero. Next time you stare at a layout and think "one more retimer fixes it," ask yourself: what does that extra 500 mW cost in battery life? Then move the one you have left.

Pitfalls and Debugging: When Placement Fails

Common mistake: equidistant spacing without loss analysis

The most frequent failure I debug is deceptively simple: teams drop retimers at even intervals along a PCIe Gen 5 trace and call it done. That sounds fine until the link won't train at 32 GT/s. The problem is pure physics—a straight midpoint split ignores channel loss per segment. A trace that loses 18 dB before the first retimer and 12 dB after it's not balanced, even if the retimers sit physically equidistant. The retimer's own equalization cannot rescue a front half that already destroys the signal. I have fixed exactly this by moving the retimer 2.3 inches closer to the transmitter, dropping pre-retimer loss to 14 dB, and watching the link lock instantly. Don't assume symmetric placement solves anything—measure insertion loss per span.

What usually breaks first is the receiver side. Retimers amplify and re-shape, but they carry a fixed equalization budget. If the transmitter-to-retimer segment exceeds 28 dB at 16 GHz, no amount of receiver CTLE inside the retimer will recover the eye. The catch is that PCB materials vary—a cheap FR4 stain spreads loss unevenly across the same trace length. Most teams skip this: they simulate one loss profile, and assume both directions mirror each other. They don't. A backplane slot with a worn connector adds 2–3 dB of return loss on one side only. That asymmetry kills the link.

“We spent three weeks swapping retimer firmware when the real fix was cutting a 0.5-inch via stub off the middle layer.”

— Lead SI engineer, after a Gen 5 server backplane spin

Debugging marginal links: TDR, eye scan, PRBS patterns

When placement fails, your first diagnostic tool should be a time-domain reflectometer—not the software eye monitor on the retimer's internal registers. TDR shows you exactly where impedance breaks occur: a stub, a connector gap, a via barrel that wasn't backdrilled. I once traced a failing x16 bifurcation to a single via that added 0.8 pF of capacitance. The retimer was fine; the copper was not. After that, run a PRBS31 pattern through the link and capture a bathtub curve. A closed eye with a bathtub BER floor above 1e-12 tells you the retimer's continuous-time linear equalizer (CTLE) cannot flatten the channel. Open the retimer's tap control log—if the DFE tap coefficients max out at 127, the channel loss is beyond what placement can fix.

Eye scans from the retimer's built-in margin analyzer are tempting, but they lie if the reference clock has jitter. Hook a real-time oscilloscope onto the TX side of the retimer first. Verify that the retimer is not re-driving its own noise. I have seen cases where the retimer's PLL locked to a noisy reference, spreading 3 ps of deterministic jitter across every lane. The link trained, but retries spiked. The fix: a cleaner clock buffer and a 100-ohm termination tweak.

What to check first: connector integrity, via stubs, retimer equalization settings

Order matters. Never touch retimer equalization until you have physically inspected every connector in the path. A bent pin in an M.2 slot or a debris-clogged CEM connector can drop 4 dB of margin—no retimer placement compensates for that. Next, look at via stubs. On an 8-layer board with 0.062-inch thickness, an unbackdrilled via stub of 15 mils creates a resonance null at 14 GHz. That null sits right inside the Gen 5 Nyquist zone. Shortening the stub to 5 mils recovers 3 dB of insertion loss. Get a drill file and verify backdrill depth against the PCB fab report.

Only after hardware checks are clean should you touch equalization settings. The standard trap is turning up the retimer's TX de-emphasis to maximum, hoping to fix a high-loss channel. That actually overdrives the next segment and saturates the downstream receiver's linear range. Instead, tune the retimer's RX CTLE boost in 1 dB steps while monitoring the eye height from an internal debug register. When the eye jumps from 120 mV to 240 mV and the BER drops below 1e-12, stop—don't chase perfect numbers. Marginal links fail from over-equalization, not under-equalization, because excess gain amplifies crosstalk. One more thing: check the retimer's adaptive equalization lock status. If it reports "manual override" when you expected auto-tune, someone left a register sticky. That alone has cost teams two respins. Not yet convinced? Swap the retimer with a known-good unit. If the problem moves, the retimer is at fault. If it stays, your placement—or the board—is the real failure.

Share this article:

Comments (0)

No comments yet. Be the first to comment!