Module 87 min

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

  1. RTL stage: follow DFT rules so the design is testable, and plan scan, MBIST, and JTAG.
  2. After synthesis: scan insertion replaces flops with scan flops and stitches the chains; compression is added.
  3. After scan insertion: ATPG generates the patterns and reports coverage.
  4. Physical design: scan chains are reordered for shorter routing, and DFT structures are placed and timed.
  5. 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

TermMeaning
ScanFlops chained into shift registers for control and observe
ATPGTool that generates the test patterns
Fault coveragePercent of modeled faults detected
CompressionFewer tester channels, less test time and data
MBISTOn-chip self-test for memories
JTAG / TAPStandard port for boundary scan and test access
Pro tip

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.

Watch out

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.