Automatic test pattern generation (ATPG) is the software process that derives the specific bit patterns needed to detect a target set of modeled faults on a chip's scan-based structure, and it runs the same core loop regardless of which of the three major commercial tools a design team uses — Synopsys TetraMAX, Siemens EDA's Tessent, or Cadence Modus. The tool works fault by fault: it picks an undetected fault from the fault list, searches for an input pattern that both activates the fault (forces the faulty node to a logic value different from its fault-free value) and propagates that difference forward to an observable scan flip-flop or primary output, then fault-simulates that single pattern against the entire remaining fault list to credit every other fault the pattern happens to also detect along the way — repeating until achievable fault coverage plateaus or the remaining faults are judged practically undetectable.
The fault-simulation step at the end of each loop iteration is what makes ATPG tractable at all on a design with millions of individual fault sites, because it means the tool is never generating one pattern per fault — a single well-chosen pattern routinely detects dozens or hundreds of faults beyond the one it was actually searching for, since activating and propagating one fault's effect through shared logic paths frequently activates and propagates several unrelated faults at the same time. This incidental, or "coincidental," detection is the entire reason production designs with millions of modeled faults end up needing only thousands of patterns rather than millions — without it, the pattern count and the automatic test equipment time needed to apply every pattern in volume production would be economically impossible.
The resulting pattern set, together with the chip's scan chain structure, is what actually gets loaded onto automatic test equipment and shifted through the chip during production test — so everything about this loop's efficiency, pattern count, and achieved coverage has a direct, measurable cost in test time and therefore in per-chip test economics. A design with a larger fault list, more reconvergent logic that makes propagation paths harder to find, or a scan architecture that limits observability all push pattern count and ATPG runtime upward, which is exactly the kind of downstream cost the algorithmic choices in modern ATPG tools, and the scan architecture decisions covered elsewhere in this cluster, exist specifically to control.
| Step | What happens | Why it matters |
|---|---|---|
| Pick undetected fault | Select next target from the fault list | Keeps the loop converging toward full coverage |
| Activate + propagate | Search for a pattern forcing and carrying the fault effect | The core combinatorial search problem ATPG solves |
| Fault-simulate | Credit every other fault this pattern also detects | Coincidental detection keeps pattern count tractable |
| Repeat | Continue until coverage plateaus | Remaining faults are typically structurally undetectable |
This same loop, run identically whether the tool is TetraMAX, Tessent, or Modus, is the foundation every other row in this cluster builds on: the classical search algorithms that implement step two, the at-speed variant that targets delay rather than stuck-at faults, and the scan architecture decisions that determine how observable and controllable a fault site even is before ATPG ever gets to search for a pattern at all.