Home / Glossary / ATPG

On this pageIn more detailWhy it mattersRelated termsRead more

ATPG

ATPG (automatic test pattern generation) is the use of software to create the test patterns that detect manufacturing defects in a chip.

In more detail

ATPG tools work from the gate-level netlist and a fault model, which is a simplified representation of how defects behave. The most basic is the stuck-at model, in which a node is assumed to be fixed at 0 or 1. Others represent defects that make a signal too slow, or shorts between neighboring wires.

For each possible fault, the tool looks for an input pattern that does two things: sets up conditions so that the faulty node would take a wrong value, and carries the effect of that wrong value to a point where it can be observed. With scan chains in place, those points are the chip’s flip-flops.

The tool then simulates each pattern to see which other faults it also detects, and compacts the pattern set to keep it as small as possible.

Why it matters

The result is measured as fault coverage: the percentage of modeled faults that the pattern set detects. High coverage, typically well above 95 percent for stuck-at faults, is needed to keep defective chips from reaching customers.

Automatic generation is the only practical approach for designs with many millions of gates. Pattern count matters as well, since test time on production equipment is part of every chip’s cost.

Faults that ATPG cannot detect point to areas where the DFT structure needs improving.

Related terms

Read more