Knowledge / Electronics (VLSI Design) / Design for testability: scan, ATPG and BIST

Design for testability: scan, ATPG and BIST

Electronics (VLSI Design) (B.E./B.Tech) · VLSI back end and test · free study notes for exams, placements and interviews

In short

Design for testability (DFT) is the deliberate addition of hardware to a chip so that manufacturing defects can be detected cheaply on an automatic test equipment (ATE) after fabrication. Without it, a block buried behind millions of gates is neither controllable nor observable from the pins; scan design converts every flip-flop into a shift-register element so the ATPG tool can load any state and read any state back. The topic is examined in VLSI testing / VLSI design papers of most Indian university syllabi; it is not part of the GATE EC syllabus, which covers digital and sequential circuits but not fault models or testability measures. It is one of the highest-volume hiring areas in Indian VLSI - DFT engineers at Intel, Qualcomm, Samsung SRI-B, Texas Instruments, NXP, Nvidia, AMD, Microchip, Bosch, Synopsys, Cadence, Siemens EDA and the service houses - and it is the bridge to India's new test and packaging plants.

Explained

Why DFT exists: controllability, observability and fault models

Testability measures and ad-hoc DFT

Scan design

ATPG: algorithms, metrics and compression

BIST: logic and memory

Board and system test standards

Key points

Formulas and examples

Fault coverage FC = (detected faults / total faults) × 100 %
Test coverage TC = detected / (total − ATPG-untestable − unused) × 100 %
Defect level DL = 1 − Y1 − T · Y = true yield (fraction), T = test coverage (fraction); DPM = DL × 10⁶
Chain length L = N_ff / N_chains · Scan cycles ≈ (P + 1) × L + P (P = patterns, 1 capture cycle each)
Test time t = cycles / f_shift (s, with f in Hz)
Test data volume V ≈ P × N_ff × 2 bits (stimulus + expected response)
Compression ratio = V_uncompressed / V_compressed = (roughly) internal chains / ATE channels
Faults on an n-input gate = 2n + 2 (uncollapsed), n + 2 (collapsed)
LFSR maximal sequence = 2ⁿ − 1 patterns (primitive polynomial, XOR type)
MISR aliasing probability ≈ 2⁻ᵏ (k = signature width in bits)
Detection by random patterns: P_det = 1 − (1 − p)N · N = ln(1 − C) / ln(1 − p)
SCOAP (2-input AND, output z, inputs a,b): CC0(z) = min[CC0(a), CC0(b)] + 1; CC1(z) = CC1(a) + CC1(b) + 1; CO(a) = CO(z) + CC1(b) + 1 (OR gate is the dual; an inverter swaps CC0/CC1 and adds 1)
March C− test length = 10N operations (N = addresses); MBIST time = 10N × D / f (D = data backgrounds)

Example 1 - scan test time and the value of more chains. A design has 1,000,000 scan flops, 8,000 patterns, shift clock 50 MHz (20 ns).

Example 2 - coverage arithmetic. Total collapsed faults 1,200,000; detected 1,140,000; ATPG-untestable 24,000.

Example 3 - defect level in DPM. True yield Y = 0.90.

Example 4 - LBIST, aliasing and random resistance. A 16-bit maximal LFSR runs at 100 MHz.

Example 5 - MBIST time. A 4,096-word × 32-bit SRAM, March C−, 4 data backgrounds, BIST clock 200 MHz (5 ns).

Example 6 - SCOAP on a small circuit. Inputs a, b, c; z = AND(a, b); y = OR(z, c), y a primary output.

TechniquePattern sourceResponse checkAt speed?Area costDiagnosis
Full scan + ATE ATPGATE memoryATE compare (maskable)Limited (LOC/LOS)5-15 % of flopsExcellent
Scan + EDT compressionATE + on-chip decompressorOn-chip compactorSame as scan+ ~1-2 %Good (X-tolerant)
LBIST (STUMPS)On-chip LFSRMISR signatureYes+ 2-5 %Poor
MBISTOn-chip FSMOn-chip comparatorYesper memoryGood (bitmap)
Boundary scan 1149.1ATE / board testerTDO streamNoI/O cells + TAPGood (interconnect)

Where it is used

Interview questions

Common mistakes

Related topics

Physical design: floorplanning, placement, clock tree synthesis and routing · Physical verification and signoff: DRC, LVS and IR drop · Sequential circuit design and timing (setup, hold, CDC) · Fault-tolerant and functional-safety design (ISO 26262) · Semiconductor fabrication, yield and reliability · Verilog/SystemVerilog RTL design and synthesis

Open in the Knowledge reader →Find jobs →