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.
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.
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.
| Algorithm | Decision point | Strength | Weakness |
|---|---|---|---|
| D-algorithm (1966) | Any internal gate | First systematic, general method | Heavy backtracking on reconvergent fanout |
| PODEM (1981) | Primary inputs only | Conflicts surface immediately, far less backtracking | Still structural — can struggle on the hardest reconvergent cases |
| Modern SAT-based engines | Full constraint solve | Handles worst-case reconvergence directly | Higher 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.