Scan chain is a technique used indesign for testing (DFT). The objective is to make testing easier by providing a simple way to set and observe everyflip-flop in anIC. It simplifies the testing and debugging of complex digital systems. In scan-based design, flip-flops operate in two distinct modes:normal mode andscan mode. In normal mode, they support regular system operations. In scan mode, however, they are reconfigured into one longshift registers, known asScan Chain.

The basic structure of scan include the following set of signals in order to control and observe the scan mechanism.
The conceptual origins of scan date back to the 1965, notably with IBM’sSystem/360 Model 50, which implemented scan-in and scan-out functions for processor self-diagnosis. Scan design, as formally applied to VLSI testing, gained traction after the landmark 1973 paper by Williams and Angell, and was widely advanced by IBM researchers including Eichelberger and Williams.[1]
In a full scan design,automatic test pattern generation (ATPG) is particularly simple. No sequential pattern generation is required - combinatorial tests, which are much easier to generate, will suffice. If you have a combinatorial test, it can be easily applied.
In a chip that does not have a full scan design -- i.e., the chip has sequential circuits, such as memory elements that are not part of the scan chain, sequential pattern generation is required. Test pattern generation for sequential circuits searches for a sequence of vectors to detect a particular fault through the space of all possible vector sequences.
Even a simple stuck-at fault requires a sequence of vectors for detection in a sequential circuit. Also, due to the presence of memory elements, thecontrollability andobservability of the internal signals in asequential circuit are in general much more difficult than those in acombinational logic circuit. These factors make the complexity of sequential ATPG much higher than that of combinational ATPG.
There are many variants:
Random-access scan(RAS) extends scan design by allowing individual flip-flops to be accessed like RAM cells via addressable selection. This enables rapid access and reduced scan time. However, the increased area from address decoders and control logic has limited its adoption.
Scan-Hold Flip-Flops (SHFFs) are a variant where a hold latch is added after the scan flip-flop. This design helps decouple scan and functional modes, making it ideal for delay fault testing. While SHFFs improve test control, they add both area (approx. 30%) and timing overhead.[1]
ModernElectronic Design Automation (EDA) tools fully support scan insertion, rule checking, and ATPG vector generation. Scan design audits ensure compliance with DFT rules — such as using only D-type flip-flops, clock controllability, and separating scan and functional clocks. Once design verification is complete, automatic scan insertion tools can retrofit flip-flops, wire scan chains, and generate test vectors with high fault coverage.
Scan testing is especially critical inASICs andSoCs, where internal nodes are otherwise unobservable. Despite area and timing costs, scan design remains the industry standard for testability and is supported by all major digital design flows.[1]
{{citation}}: CS1 maint: work parameter with ISBN (link)