Updated 4 min readDFT
DFT automation: scan, ATPG and BIST
Design for test in practice: scan insertion, ATPG fault models, compression, memory and logic BIST, current Synopsys, Cadence and Siemens tools, and ISO 26262.
By the SkyCadEda engineering teamHow these notes are written
On this page
Design for test (DFT) adds the logic that lets a tester reach inside a chip: scan chains to control and observe flip-flops, compression to cut test data, BIST for memories and sometimes logic, and boundary scan for board test. ATPG tools generate patterns for that logic, and fault simulation reports how many modelled defects they detect. Below is how the pieces fit, with a minimal scan-insertion and ATPG run.
Scan, compression, BIST and boundary scan
Scan is the base of nearly every DFT architecture. Each flip-flop becomes a mux-D scan cell; in shift mode the cells form chains, so any state can be loaded and any captured response read out. A stuck-at test shifts a pattern in, applies one capture pulse, and shifts the response out. At-speed transition tests need a launch and a capture at functional speed, using launch-off-capture (two functional pulses) or launch-off-shift (the last shift pulse launches).
Compression puts a decompressor in front of many short internal chains and a compactor behind them, so a few tester channels drive hundreds of chains. That cuts test data volume and test time by a large factor, depending on the design, the tool and the compression configuration.
Memory BIST is standard for embedded SRAMs: an on-chip controller runs March-type algorithms and can feed repair logic for memories with redundancy. Logic BIST uses an on-chip pseudo-random generator and a signature register; its coverage is lower than deterministic ATPG unless test points are added, so it is used mainly for in-field self-test. Boundary scan (IEEE 1149.1 JTAG) tests board-level connections, and IEEE 1687 (IJTAG) and IEEE 1500 give structured access to embedded instruments and cores.
Fault models
| Model | What it targets | Pattern type |
|---|---|---|
| Stuck-at | A node permanently at 0 or 1 | Static, one capture pulse |
| Transition | A node too slow to rise or fall | At-speed, launch and capture |
| Path delay | Accumulated delay on named critical paths | At-speed, per path |
| Bridging | Shorts between neighbouring nets | Static or at-speed, needs layout data |
| Cell-aware | Defects inside standard cells, characterised from cell layout | Static and at-speed |
IDDQ testing is much less useful at advanced nodes because normal leakage swamps the defect current. Cell-aware and bridging models, which use layout information, help close the gap for FinFET and gate-all-around processes, where defects inside cells are a larger share of escapes.
Tools, current names
- Synopsys: TestMAX DFT (scan and compression insertion, formerly DFTMAX) and TestMAX ATPG (formerly TetraMAX), plus the wider TestMAX family for memory test and diagnosis.
- Cadence: Genus for scan insertion and Modus DFT for compression, ATPG and diagnosis.
- Siemens EDA: Tessent Scan, Tessent TestKompress (compression and ATPG), Tessent MemoryBIST, Tessent LogicBIST and Tessent Streaming Scan Network for packetised scan delivery in large SoCs.
Patterns are exchanged in STIL (IEEE 1450) or WGL for the tester.
A minimal scan insertion and ATPG run
In a Synopsys flow, scan insertion runs in the synthesis session after compile. This sets up eight multiplexed-flip-flop chains, declares the existing clock and reset and a scan enable port, checks DFT rules, and writes the scan DEF and test protocol that place and route and ATPG need:
set_scan_configuration -style multiplexed_flip_flop -chain_count 8
set_dft_signal -view existing_dft -type ScanClock -port clk -timing {45 55}
set_dft_signal -view existing_dft -type Reset -port rst_n -active_state 0
set_dft_signal -view spec -type ScanEnable -port scan_en -active_state 1
create_test_protocol
dft_drc
preview_dft
insert_dft
dft_drc -coverage_estimate
write_scan_def -output top.scandef
write_test_protocol -output top.spfATPG then reads the scan netlist and the protocol file:
read_netlist stdcells.v -library
read_netlist top_scan.v
run_build_model top
run_drc top.spf
add_faults -all
run_atpg -auto_compression
report_summaries
write_patterns top_stuck.stil -format stilCadence (Genus plus Modus) and Siemens (Tessent) flows follow the same steps with their own commands: define test signals, check rules, insert, write the scan DEF and protocol, then build the ATPG model and generate patterns. Check command options against your release; tools change defaults between versions.
DFT through the rest of the flow
- RTL: run DFT rule checks early. Uncontrolled asynchronous resets, gated clocks without test control and combinational loops all block scan.
- Place and route: the scan DEF lets the tool reorder chains by placement, which removes most scan routing. Shift-mode timing and hold on scan paths need their own constraints and modes.
- Power: shift toggles far more flops than functional operation does. Constrain shift power with low-power fill or limited shift speed, and check IR drop in test modes.
- Verification: simulate a sample of patterns on the gate-level netlist with timing, and run equivalence checking between the pre- and post-insertion netlists with scan disabled.
- Hierarchy: large SoCs insert DFT per core with wrappers, generate patterns per core, and retarget them at top level, so the top-level ATPG run does not have to see the whole flat netlist.
Automotive requirements
ISO 26262-5 sets hardware architectural metrics per ASIL. For ASIL D the single-point fault metric (SPFM) target is at least 99% and the latent fault metric (LFM) at least 90%; ASIL B and C have lower targets. Manufacturing test coverage is separate from these, but the same DFT logic is often reused for in-field self-test: logic BIST and memory BIST run at power-up or periodically to find latent faults. Planning that reuse early decides how BIST controllers, test points and safety mechanisms are placed. Our ASIC platform support covers DFT architecture, scan insertion, ATPG and coverage analysis across Synopsys, Cadence and Siemens Tessent flows.
Frequently asked questions
What is design for test (DFT) in chip design?
DFT is the logic added to a chip so that manufacturing test can control and observe its internals: scan chains, test compression, memory and logic BIST, and IEEE 1149.1 boundary scan. ATPG tools then generate the patterns that a tester (ATE) applies through that logic to find defective parts.
How does scan chain insertion work?
Flip-flops are replaced by scan flip-flops with a multiplexer on the data input, and stitched into shift registers. In test mode, a pattern is shifted in, one or more functional clock pulses capture the response of the combinational logic, and the result is shifted out and compared with the expected values.
What is the difference between ATPG and BIST?
ATPG generates deterministic patterns off-chip for specific fault models, and the tester applies them through scan. BIST puts a pattern generator and response compactor on the chip so it can test itself. Memory BIST is standard for embedded SRAMs; logic BIST is used mainly where in-field self-test is needed, such as automotive.
What does ISO 26262 require from DFT?
ISO 26262 does not prescribe DFT structures, but hardware metrics drive them. For ASIL D the single-point fault metric target is at least 99% and the latent fault metric at least 90%. In-field logic and memory BIST is a common way to detect latent faults and contributes to those metrics.
Related reading
- serviceASIC platform support
- noteISO 26262 functional safety for chips
- noteFormal equivalence checking in signoff
More engineering notes
Working through a problem like this?
Tell us about your flow: the tools, the PDK, what is failing and when it needs to be clean.