Home / Learn Verilog / DFT and Scan Chains
DFT and Scan Chains
Make chips testable.
The gistMake chips testable.
The idea, explained simply
What it is
In test mode all flip-flops are linked into a shift register (scan chain) so any state can be loaded and read.
Why it matters
Manufacturing defects must be detectable.
Mechanically speaking
Scan flip-flop = flip-flop + mux.
Shows up in
- Everyday RTL design
- FPGA and ASIC projects
- Testbenches and debugging
Try it
Scan flip-flopVerilog: edit and run
With se=1 the flops form a shift register.
Check yourself
1. Scan chain connects...
Shift register in test mode.