SIPI

Methodology / 01

Signal Integrity Simulation Workflow

Channel simulation is a chain, and each stage inherits everything the one before it got wrong. What makes the flow worth understanding is not the tools — it is knowing which stage a given question belongs to, and which errors are recoverable later.

Six stages, five handoffs
every stage hands the next one a file — and that is where it breaks 1stackupgeometry22D solveRLGC, Z₀33D solvevias, launches 4cascadeone channel5channel siman eye6reportmargin rarely inside a solver. Almost always at a handoff: · package parasitics counted twice — by IBIS and by the extracted S-parameters · port order scrambled in the cascade, so lanes are silently swapped · different reference impedances between blocks · an S-parameter file with no DC point, so the simulator extrapolates one badly each produces a plausible number every stage has a cheap early version — run those instead of running this once, late
Channel simulation is a pipeline, and its interfaces deserve the same care as its solvers. Geometry becomes field-solver models, models cascade into a channel, the channel meets a buffer model, and each stage passes the next a file whose conventions must agree. Run inexpensive versions early, while stackup, layout, and topology choices remain open: a 2D solve on an estimated stackup can bound trace length before layout, while a lumped die model can locate major PDN resonances before substrate design. State which model version and omissions produced each result. “Estimated stackup, vendor connector model, no crosstalk” can support an early decision, but it does not establish sign-off margin.

Engineers new to high-speed design often imagine that simulation involves opening a complete CAD layout, clicking a single “Simulate” button, and waiting for an oscilloscope eye diagram to appear. In reality, no electromagnetic solver on Earth can directly solve Maxwell's equations across an entire printed circuit board. The physical scale spans ten orders of magnitude — from sub-micron transistors and millimetre BGA solder balls to thirty-centimetre motherboard traces. Attempting to mesh an entire system at once would require petabytes of RAM and run for months.

Instead, modern high-speed engineering relies on a modular simulation flow. The physical channel is systematically partitioned into manageable segments: uniform traces are solved with fast 2D boundary solvers, complex 3D transitions (vias, package balls, and connectors) are solved with full-wave field solvers, and non-linear silicon drivers are modeled with compiled algorithmic executables (IBIS-AMI). These disparate pieces are then cascaded together into a unified network to evaluate bit error rates and timing margins.

The critical insight of this methodology is that simulation failures rarely occur inside the electromagnetic solvers themselves. Modern field solvers solve Maxwell's equations with remarkable mathematical fidelity. Instead, catastrophic simulation errors almost always happen at the handoff boundaries — where one tool's output file is ingested as another tool's input assumption. Understanding this pipeline, and learning where the handoffs secretly break, is the foundation of high-speed verification.

Why a flow rather than a simulation

You cannot solve a whole channel at once. The structures involved span ten orders of magnitude in size — a die bump is micrometres, a board trace is centimetres — and the physics needed differs: a uniform trace wants a two-dimensional cross-section solve, a via wants full three-dimensional fields, a receiver wants an algorithm.

So the work is split into stages, each using the cheapest method that is still correct for its part, and the results are joined. That joining is where most errors live, because each stage's output becomes the next stage's assumption.

The six stages

  1. Stackup and geometry. Layers, dielectric heights, materials, trace widths. Everything downstream inherits this, so an error here is invisible and total.
  2. 2D field solve. The uniform cross-sections — trace over plane, coupled pairs — giving RLGC per unit length, and from that Z0, propagation delay and coupling coefficients. Fast enough to sweep.
  3. 3D field solve. The parts that are not uniform: vias, breakout regions, connector launches, plane cutouts. Slow, and worth the time only where geometry genuinely varies in all three dimensions.
  4. Cascade. Join the blocks into one channel S-parameter set — package, breakout, trace, via, connector, trace, breakout, package. This is where port definitions and reference impedances have to agree, and where they frequently do not.
  5. Channel simulation. Drive the cascaded channel with a buffer model, apply equalisation, and produce an eye — statistically for sign-off, in the time domain for the non-linear questions.
  6. Margin report. Eye height and width against the mask, across corners, with the assumptions stated.
Where the flow actually breaks Rarely inside a solver. Almost always at a handoff: package parasitics counted twice because both the IBIS model and the extracted package include them; port ordering scrambled in a cascade so lanes are swapped; different reference impedances between blocks; an S-parameter file with no DC point, leaving the simulator to extrapolate one. Each produces a plausible number.

Use early models at the right fidelity

The flow as described can support sign-off, but its first use should come much earlier. Once the stackup and layout are fixed, the remaining changes may be limited to the bill of materials.

Every stage has a cheap early version that answers the question that matters at that point in the schedule. A 2D solve with an estimated stackup answers “what trace width and how long can it be?” before layout starts. A cascade of estimated blocks answers “does this topology close at all?” before a connector is chosen. A lumped package model finds the PDN resonances before the substrate is designed. Those answers are worth more, per hour spent, than anything the full flow produces later.

The corresponding discipline is to state which version a result came from. “Estimated stackup, vendor connector model, no crosstalk” can support an early decision when labelled with that scope. It does not establish sign-off margin.

Why this decides how your board behaves

What to do about it

Begin early with an appropriately simple model. A preliminary end-to-end result at the concept stage — estimated stackup, generic buffer models, a guessed connector — answers the question that actually matters early: is this reach plausible at all? A precise result after layout answers a question whose answer can no longer change anything.

Write down the port definitions at every join. Where does the board model end, where does the package begin, what is the reference impedance, and are the planes the same? Most flow failures are bookkeeping.

Sanity-check each stage against something independent. Does the 2D solve give the impedance the stackup was designed for? Does the S-parameter file pass passivity? Does the buffer model's rise time match the datasheet? Each takes minutes.

Escalate accuracy only where it changes a decision. A 3D solve of a via field is worth days if the result decides a stackup; it is worth nothing if the answer is the same either way.

Using this to find a fault
  • Results that change a lot with a small input change. Find which stage is sensitive. Sensitivity is information: it says where accuracy is worth buying.
  • Good agreement with measurement at low frequency, bad at high. The uniform parts are right and the discrete ones are not — vias, launches, connectors.
  • An answer that looks right and disagrees with hardware everywhere. Go back to stage one. A stackup error is the only thing that shifts everything at once.
  • Two engineers getting different answers from the same inputs. Compare port definitions before comparing physics.
Go deeper — a checklist for the joins

Most of what goes wrong in a flow is not physics. It is one of these, and all of them are checkable in minutes:

  • Reference planes. Does each model start and stop where the next one expects? Overlap double-counts; a gap omits.
  • Port order and polarity. A four-port differential file with ports numbered 1-2-3-4 versus 1-3-2-4 is a different network. Mixed-mode conversion assumes a convention.
  • Reference impedance. Files at different normalisations must be renormalised, not concatenated.
  • Frequency extent and step. The extent must cover the knee; the step sets the time window before wraparound. See S-parameters.
  • DC point. Present, or the simulator invents one.
  • Corners. Fast-strong for reflections and crosstalk, slow-weak for timing. A typical-only run covers neither.

The last one is worth a sentence on its own. It is common to run a careful nominal flow and treat the corners as a later refinement — but the corners are not a refinement, they are different questions, and the worst case for one impairment is frequently the best case for another.

An end-to-end walkthrough: signing off a 16 GT/s PCIe Gen 4 lane. To see how the six stages connect in a real project, consider qualifying a differential PCIe lane running from a CPU BGA across a 10-inch motherboard, through a card-edge connector, to an add-in card ASIC:

  1. Stackup & 2D Solver: The stackup specifies an ultra-low-loss laminate (Dk = 3.6, Df = 0.004 at 8 GHz) with 1 oz copper foils. A 2D field solver sweeps trace widths and differential spacing to synthesize an 85 Ω odd-mode target, generating frequency-dependent RLGC matrices including copper roughness models (Huray snow-ball).
  2. 3D Full-Wave Via & Launch Extraction: The layout engineer provides the BGA breakout geometry, AC coupling capacitor mounting pads (0201 reverse-geometry), and CEM connector footprint. A full-wave 3D FEM solver meshes these localised 3D transitions, exporting multi-port Touchstone files (.s4p) swept from DC up to 30 GHz (well beyond the 8 GHz Nyquist). Before cascading, each file is verified for mathematical passivity (Σ|S|2 ≤ 1) and causality using Hilbert transform checks.
  3. Channel Cascade & Passivity Sign-off: The system integrator imports the vendor connector S-parameters, the extracted via blocks, and the 2D transmission lines into a circuit simulator schematic. The simulator stitches the blocks together in order: CPU Package → Breakout Via → Motherboard Trace → AC Caps → CEM Connector → Add-in Card Trace → RX Breakout → RX Package. The cascaded composite yields an end-to-end channel insertion loss curve (Sdd21 = -24.5 dB at 8 GHz), well within the PCIe Gen 4 28 dB budget.
  4. IBIS-AMI Statistical & Time-Domain Sign-off: The composite S-parameter network is handed to the channel simulator alongside the CPU's transmitter AMI model and the ASIC's receiver AMI model. The simulator runs statistical analysis across millions of bit transitions, automatically tuning TX equalization (Preset 7: -6 dB de-emphasis) and receiver CTLE peaking. The resulting eye diagram is evaluated against the PCI-SIG compliance mask: verifying that the eye height exceeds 15 mV and eye width exceeds 0.30 UI at a Bit Error Rate of 10-12.

In the real world

The most valuable property of a simulation flow is not its accuracy but its turnaround. A flow that answers in a day gets asked ten questions; one that answers in three weeks gets asked one, and usually too late to matter.

Which argues for building the crude version first and keeping it — so that when somebody asks "what if we moved this two inches?", the answer arrives while the decision is still open.

Related