Scan chain and ATPG co-design means the scan architecture — how many chains a design has, how long each one runs, and how aggressively a compression technique like Siemens EDA's EDT (Embedded Deterministic Test) compacts the data moving on and off the chip — is chosen with the target fault models and coverage goals in mind from the start, not finalized independently and simply handed to ATPG software afterward as a fixed constraint. A scan architecture optimized purely for the fewest possible chains and shortest pin count can make basic stuck-at ATPG fast and cheap to run, yet make at-speed transition fault patterns, covered elsewhere in this cluster, far harder to generate efficiently on the exact same design, because stuck-at and transition fault models stress a scan chain's controllability and observability in genuinely different ways.
The specific mechanism behind this architecture-dependent cost difference is worth making concrete: a long scan chain shared across many flip-flops is cheap in silicon area and pin count, but every flip-flop on that chain has to be reached by shifting through every other flip-flop ahead of it, which is perfectly fine for stuck-at ATPG's relatively loose timing requirements yet becomes a real constraint for transition fault testing's launch-off-shift capture scheme, which needs the scan clock itself to hit the functional at-speed rate cleanly for the specific shift-to-capture transition at the end of chain loading. A scan architecture with more, shorter chains gives ATPG more independent control points and makes that precise at-speed transition easier to arrange correctly across the whole design, but it costs more silicon area and more chip pins (or more sophisticated compression hardware to avoid needing those extra pins) than a design with fewer, longer chains would require.
Compression technology like EDT is the practical lever design teams actually use to escape the raw chain-count-versus-pin-count trade-off rather than simply picking a point on it and living with the consequences: by compressing scan data on and off the chip, a design can effectively behave like it has far more parallel, shorter internal scan chains than its physical pin count would otherwise allow, recovering much of the independent-control benefit more/shorter chains provide for at-speed testing without paying the full pin cost that architecture would otherwise require. This is exactly why experienced DFT teams treat scan architecture and ATPG fault coverage as a single, iterated design problem rather than a sequence of two independent decisions — finalizing a scan architecture purely on stuck-at-friendly criteria, only to discover a transition-fault coverage gap once ATPG is actually run against the finished chain structure, is expensive to fix this late, since reworking scan architecture after physical design is largely complete touches far more of the chip than adjusting it during planning ever would.
| Architecture choice | Stuck-at ATPG | At-speed transition ATPG | Silicon cost |
|---|---|---|---|
| Fewer, longer chains | Fine — loose timing tolerance | Harder — fewer independent control points | Lower area, fewer pins |
| More, shorter chains | Still fine | Easier — more control points, cleaner at-speed clocking | Higher area, more pins (uncompressed) |
| Compression (e.g. EDT) | Fine | Recovers much of the shorter-chain benefit | Moderate — compression logic, not raw pins |
Scan chain and ATPG co-design is ultimately the physical-design-side half of the same coverage story the rest of this cluster tells from the software side: the core ATPG loop, the classical and modern algorithms that implement its search, and the at-speed capture schemes it has to support can only be as effective as the scan architecture underneath them actually permits, which is why the two are never really separable engineering problems in practice.