Chip Foundry Services Request Assessment

ATPG

The activate-and-propagate search at the heart of every ATPG loop has been implemented by genuinely different algorithms over the decades, and the choice between them is a real trade-off between completeness and speed that still shapes how modern commercial tools are built. The D-algorithm, introduced by J.P. Roth in 1966, was the first systematic method: it represents the fault's effect as a symbolic value (the "D" or "D-bar" cube) and works by justifying the required logic values backward from the fault site toward the chip's primary inputs while simultaneously propagating the fault's symbolic effect forward toward an observable point, backtracking through the circuit's logic whenever a choice leads to a contradiction. PODEM (Path-Oriented DEcision Making), introduced by Prabhu Goel in 1981, restructured that same search to make decisions only at primary inputs rather than at internal gates, which collapses the search space dramatically on circuits with reconvergent fanout — logic structures where a signal splits and later recombines — that routinely caused the D-algorithm's internal backtracking to explode.

Same search problem: find a pattern that activates and propagates a target fault
the algorithm used to search is a real engineering choice, not an implementation detail
Three generations of search strategyeach generation addressed a specific weakness in the one before it
D-algorithm (Roth, 1966)
symbolic D-cube propagation, decisions at any internal gate
PODEM (Goel, 1981)
decisions only at primary inputs — far less backtracking on reconvergent fanout
Modern structural + SAT-based engines
boolean-satisfiability solvers handle the hardest reconvergent cases directly
Runtime, not just pattern count, is a real constraint on large modern designs
a harder search costs engineering schedule time even when a pattern is eventually found

Reconvergent fanout is the specific structural property that separates an easy ATPG search from a genuinely hard one, and it is worth being concrete about why: when a signal splits into two paths that later recombine at a shared gate, the values needed to activate a fault on one path can conflict with the values needed to propagate it successfully through the other, so an algorithm that commits to a value at an internal gate without foreseeing that downstream conflict has to backtrack and try again — sometimes many times, on deep or highly reconverged logic. PODEM sidesteps much of this by only ever assigning values at primary inputs and deriving every internal signal's value by forward simulation from those inputs, which means a bad decision shows up immediately as an internal conflict rather than only after a long chain of internal assignments has already been committed, which is exactly the mechanism that collapsed its backtracking cost relative to the D-algorithm on the same hard circuits.

Reconvergent Fanout: Why Some Faults Are Hard to Search For a signal that splits and later recombines creates conflicting value requirements Signal A Path 1 (fault site) needs A = 0 to activate Path 2 (propagation) needs A = 1 to propagate Reconvergence gate conflicting requirement on A D-algorithm: contradiction found late — must backtrack PODEM's fix: decide only at primary inputs, derive everything else by simulation a conflicting requirement on signal A shows up immediately as an internal mismatch — no long chain of committed internal assignments has to be unwound first Modern tools go further: structural heuristics plus SAT-based solving boolean-satisfiability engines handle the circuit's full constraint set directly, rather than searching gate-by-gate, on the hardest reconvergent cases Runtime is a real engineering constraint, not just pattern count a harder search costs schedule time even when a valid pattern is eventually found

Commercial tools today, Synopsys TetraMAX, Siemens EDA's Tessent, and Cadence Modus among them, don't rely on a single one of these algorithms in isolation; they layer structural heuristics derived from the PODEM lineage with SAT-based solving reserved for the specific fault sites where structural search alone still backtracks too much, because neither approach dominates the other across every circuit structure a modern SoC actually contains. Pure structural search remains faster on well-behaved, shallow logic where backtracking is rare to begin with, while SAT-based solving earns its higher per-call computational cost specifically on the deep, highly reconverged logic — complex arithmetic units, wide multiplexers feeding shared buses — where structural backtracking would otherwise dominate total ATPG runtime.

AlgorithmDecision pointStrengthWeakness
D-algorithm (1966)Any internal gateFirst systematic, general methodHeavy backtracking on reconvergent fanout
PODEM (1981)Primary inputs onlyConflicts surface immediately, far less backtrackingStill structural — can struggle on the hardest reconvergent cases
Modern SAT-based enginesFull constraint solveHandles worst-case reconvergence directlyHigher per-call cost — reserved for the hardest sites

None of this algorithmic history is just academic trivia: it is the direct reason ATPG runtime, not only final pattern count, shows up as a real line item in a design team's test-development schedule, and it is exactly why the base ATPG loop covered elsewhere in this cluster can finish in minutes on one design block and run for hours on another with no change to the fault models or coverage targets at all — the difference is how much reconvergent fanout the underlying logic actually contains.