DFT in the Design Flow
Where DFT fits, and the rules that make it work
DFT is not a single step bolted on at the end. It threads through the whole flow, and following its rules from the start is what makes high coverage possible. This lesson ties the path together.
Where the pieces happen
- RTL stage: follow DFT rules so the design is testable, and plan scan, MBIST, and JTAG.
- After synthesis: scan insertion replaces flops with scan flops and stitches the chains; compression is added.
- After scan insertion: ATPG generates the patterns and reports coverage.
- Physical design: scan chains are reordered for shorter routing, and DFT structures are placed and timed.
- Signoff: patterns are validated, and they later run on the tester for every manufactured die.
The testability rules that matter
- Clocks and resets must be controllable in test mode, so the tester drives them, not internal logic.
- No uncontrolled internally generated clocks or gated clocks that the tester cannot manage.
- Avoid large blocks of logic with no scan access (black boxes lower coverage).
- Control sources of unknown (X) values so compression and compaction stay reliable.
The vocabulary, in one place
| Term | Meaning |
|---|---|
| Scan | Flops chained into shift registers for control and observe |
| ATPG | Tool that generates the test patterns |
| Fault coverage | Percent of modeled faults detected |
| Compression | Fewer tester channels, less test time and data |
| MBIST | On-chip self-test for memories |
| JTAG / TAP | Standard port for boundary scan and test access |
the one-line summary that impresses interviewers: DFT makes every node controllable and observable (scan), generates efficient patterns for it (ATPG), shrinks the test (compression), self-tests the memories (MBIST), and accesses it all through a standard port (JTAG). If you can place each technique in that sentence, you understand DFT.
testability is cheapest to build in early. Retrofitting DFT onto a design that broke the rules (uncontrollable clocks, X sources, black boxes) is painful and caps your coverage. Plan DFT from the RTL, not at tape-out.