Professional Documents
Culture Documents
Revised by SG: January 18, 2004 Revised by SG: January 18, 2004
Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 3 Copyright 1998, 2002 Prentice Hall PTR Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 4 Copyright 1998, 2002 Prentice Hall PTR
Testing procedure Stuck-at faults in gates
Revised by SG: January 18, 2004 Revised by SG: January 18, 2004
Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 5 Copyright 1998, 2002 Prentice Hall PTR Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 6 Copyright 1998, 2002 Prentice Hall PTR
■ Three ways to test NAND for stuck-at-0, ■ 100% coverage: test every gate for
only one way to test it for stuck-at-1. – stuck-at-0;
■ Three ways to test NOR for stuck-at-1, only – stuck-at-1.
one way to test it for stuck-at-0. ■ Assume that there is only one faulty gate
per network.
■ Most networks require more than one test
vector to test all gates.
Revised by SG: January 18, 2004 Revised by SG: January 18, 2004
Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 7 Copyright 1998, 2002 Prentice Hall PTR Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 8 Copyright 1998, 2002 Prentice Hall PTR
Multiple test example Example
■ Can test both NANDs for stuck-at-0
simultaneously (abc = 000).
■ Cannot test both NANDs for stuck-at-1
simultaneously due to inverter. Must use
two vectors.
■ Each extra vector means longer testing time,
longer tester occupation, higher costs.
■ Must also test inverter.
Revised by SG: January 18, 2004 Revised by SG: January 18, 2004
Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 9 Copyright 1998, 2002 Prentice Hall PTR Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 10 Copyright 1998, 2002 Prentice Hall PTR
step 2 step 3
Revised by SG: January 18, 2004 Revised by SG: January 18, 2004
Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 15 Copyright 1998, 2002 Prentice Hall PTR Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 16 Copyright 1998, 2002 Prentice Hall PTR
Testing procedure Testing procedure, cont’d
■ Goal: test gate D for stuck-at-0 fault. ■ Observe the fault at a primary output:
■ First step: justify 0 values on gate inputs. – o1 gives different values if D is true/faulty.
■ Work backward from gate to primary
■ Work forward and backward:
inputs: – F’s other input must be 0 to detect true/fault.
– Justify 0 at E’s output.
– w1 = 0 (A output = 0);
– Final result: i5 = 1; i6 = i7 = 0; i8 = don’t care.
– i1 = i2 = 1.
■ In general, may have to propagate fault
■ Similarly: through multiple levels of logic to primary
– i3 = i4 = 1. outputs.
Revised by SG: January 18, 2004 Revised by SG: January 18, 2004
Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 17 Copyright 1998, 2002 Prentice Hall PTR Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 18 Copyright 1998, 2002 Prentice Hall PTR
Redundant logic can mask faults: ■ Testing NOR for SA0 requires setting both
inputs to 0.
■ Network topology ensures that one NOR
a SA1
SA0
input will always be 1.
b ■ Function reduces to 0:
– f = ((ab)’ + b)’ = (a’ + b’ + b)’ = 0.
Revised by SG: January 18, 2004 Revised by SG: January 18, 2004
Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 19 Copyright 1998, 2002 Prentice Hall PTR Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 20 Copyright 1998, 2002 Prentice Hall PTR
Redundancies and testing Stuck-at-open/closed model
Revised by SG: January 18, 2004 Revised by SG: January 18, 2004
Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 21 Copyright 1998, 2002 Prentice Hall PTR Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 22 Copyright 1998, 2002 Prentice Hall PTR
Revised by SG: January 18, 2004 Revised by SG: January 18, 2004
Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 23 Copyright 1998, 2002 Prentice Hall PTR Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 24 Copyright 1998, 2002 Prentice Hall PTR
Delay fault Sequential testing
■ Delay falls outside acceptable limits: ■ Much harder than combinational testing—
– gate delay fault assumes that all delays are can’t set memory element values directly.
lumped into one gate; ■ Must apply sequences to put machine in
– path delay fault models delay problems along proper state for test, be able to observe
path through network. value of test.
■ Delay problems reduce yield: ■ Or, one must use design-for-testability
– performance problems; techniques: add a scan path.
– functional problems in some types of circuits.
Revised by SG: January 18, 2004 Revised by SG: January 18, 2004
Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 25 Copyright 1998, 2002 Prentice Hall PTR Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 26 Copyright 1998, 2002 Prentice Hall PTR
D D
D Q/scan_out Q/scan_out
0
1 Q/scan_out scan_in scan_in
scan_in D Q
■ Normal flip-flop scan_mode φ scan_mode φ
behavior when
scan_mode = 0.
scan_mode φ ■ Connect successive scan_outs to scan_ins.
Revised by SG: January 18, 2004 Revised by SG: January 18, 2004
Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 27 Copyright 1998, 2002 Prentice Hall PTR Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 28 Copyright 1998, 2002 Prentice Hall PTR
Scan-based testing (1) Scan-based testing (2)
■ Full scan is expensive—must roll out and ■ Boundary scan is a technique for testing
roll in state many times during a set of tests. chips on boards. Pads on chips are arranged
■ Partial scan selects some registers for into a scan chain that can be used to observe
scanability. and control pins of all chips.
■ Requires analysis to choose which registers ■ Requires some control circuitry on pads
are best for scan. along with an on-chip controller and
boundary-scan-mode control pins.
Revised by SG: January 18, 2004 Revised by SG: January 18, 2004
Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 31 Copyright 1998, 2002 Prentice Hall PTR Modern VLSI Design 3e: Testing (from Chapters 4, 5, 7 & 10) Page 32 Copyright 1998, 2002 Prentice Hall PTR