Asia/Kolkata
Posts

Debugging Cadence Virtuoso Spectre Convergence Errors

November 18, 2026

Why Spectre Fails to Converge

In CMOS design with Cadence Virtuoso and Spectre, few bugs stall a test faster than ERROR (SPECTRE-16080): No DC solution found. Transient runs can hit a wall too, shrinking down until timestep too small stops the job. Most of the time, the tool is not at fault. The netlist has an open node, a sharp step, or a feedback loop the solver cannot balance. Here is the checklist I follow when a schematic will not solve.

1. Hunt Down Floating Nodes and Open Bulks

The top cause in new CMOS blocks is a missing DC path to ground:
  • MOSFET Bulk Pins: Tie every NMOS body to gnd! (or its low rail) and every PMOS body to vdd! (or its well). One floating bulk pin breaks the DC matrix.
  • AC-Coupled Gates: A gate fed only through a coupling cap has no DC bias path. Add a big bias resistor (10 MΩ to 1 GΩ) or a weak diode-tied MOS device to set its DC point.
  • Series Current Sources: Two ideal current sources pushing into one high-Z net will drive that node voltage toward infinity.

2. Pick nodeset Over ic for DC Loops

Bistable circuits like SRAM cells, latches, and bandgap cores have two valid DC states. Without help, Spectre can bounce between them and give up.
  • Start with nodeset: Open ADE (Simulation -> Convergence Aids -> Node Set) and hint one side of a latch (such as Q = 1.8V, Q_bar = 0V). Spectre uses that guess to find the start point, then lets go so the final bias stays exact.
  • Save ic for transient runs: Initial conditions (ic) clamp a node hard during the DC step. Leaving ic on during a DC or AC sweep can skew your bias currents.

3. Turn On homotopy and Check gmin

High-gain op-amps and multi-stage comparators often trip up plain Newton steps. Switch Spectre's solver mode before loosening limits: If gmin stepping blows up at one step, open spectre.out and find the last net listed with max residue. That net name usually points straight to a bad current mirror or a tight feedback loop.

4. Fix "Timestep Too Small" in Transient Runs

Sometimes DC solves fine, and transient blows up mid-run:
  1. Avoid Zero-Edge Pulses: Ideal vpulse sources with tr = 0 or tf = 0 push huge current spikes through Cgd. Always set real edge times, like tr = 50p and tf = 50p.
  2. Swap the Solver Mode: The default trapezoidal rule can ring on ideal coils or switched caps. Switch to method = gear2only in Transient Options to damp fake ringing.
  3. Smooth Verilog-A Jumps: Hard if/else edges in Verilog-A blocks break slopes that the solver needs. Wrap steps with transition() or smooth tanh() curves.
  4. Kick-Start Clocks and Tanks: Symmetric ring clocks and LC tanks can freeze at VDD/2 in noise-free runs. Add a short start pulse or use skipdc=yes with ic on one node.

5. Loosen Limits Only to Debug

When you just want to see if a block works, run a fast test with errpreset = liberal (reltol = 1e-2). Once it runs, switch back to moderate (1e-3) or conservative (1e-4) for real numbers like PSRR, THD, and corner sweeps. Never sign off a CMOS block on loose solver rules.