Design for Testability, or DFT, adds structures and control modes that make manufactured circuits easier to stimulate and observe. Scan, automatic test-pattern generation and built-in self-test address test access and defect detection. DFT is related to, but different from, checking whether RTL implements its intended function.
Reviewed 12 November 2026 · Worked examples with stated assumptions
On this page
Why is test access needed?
An internal state may be difficult to reach through normal interfaces and its effect may be hard to observe at outputs. Test structures create additional control and observation paths. They also introduce design obligations: correct test-mode selection, safe clocks, power limits and security controls.
A fault model represents a class of circuit behavior for analysis. It is not a complete description of every manufacturing defect.
Follow a four-bit scan example
Define a scan register q[3:0] whose shift update is q←{q[2:0],si}; observe serial output from q[3] before each shift. Starting at 0000, input bits 1,0,1,1 produce 0001,0010,0101,1011. This explicit direction avoids the ambiguous instruction “shift in 1011.”
The supplied test enumerates all 16 initial states and both scan inputs. A scan-shift check establishes connectivity behavior in the toy RTL, not manufacturing fault coverage.
Where does ATPG fit?
ATPG searches for patterns that activate modeled faults and propagate an observable effect. Reports classify detected, untestable and other fault statuses according to the selected tool and methodology. Read the denominator and excluded classes before quoting a percentage.
For an illustrative fault list with 90 detected of 100 total modeled faults, raw detected/total coverage is 90%. Removing ten faults from a denominator creates a different metric; it does not discover ten more faults.
Scan, logic BIST and memory BIST are different
Scan provides access to state elements. Logic BIST generates and compacts responses for logic testing. Memory BIST uses algorithms aimed at memory behavior and fault models. A project can combine these techniques rather than choosing only one.
Pattern count, test time, switching power, unknown values and diagnostic resolution must be considered with coverage. A passing signature or pattern set is meaningful only under the stated configuration and expectations.
What should DFT verification cover?
- Functional behavior when test mode is inactive.
- Scan chain order, length, shift direction and mode transitions.
- Reset and clock behavior during each test phase.
- Test access across power domains and relevant constraints.
- Coverage reports tied to the final implementation.
Do not equate functional code coverage with structural fault coverage. They answer different questions.
Common questions
Does DFT replace functional verification?
No. Testability and defect detection do not establish that the product specification was implemented correctly.
Is 100% coverage meaningful without a fault model?
No. The modeled population, exclusions, detection criteria and measurement method must be stated.
References and practice checks
The practice package includes original arithmetic models, a small RTL simulation and a host C exercise. Each states its test boundary; none is a silicon or board validation claim.