E0-286 "VLSI Test"
E0-286 "VLSI Test"
E0-286 "VLSI Test"
I1 S1 S2 Z
I2 Z
0 0 I1
I3 I1
I4 0 1 I2
S1 Coupling
1 0 I3
S2 1 1 I4 Unused, But I1 forced to 1
S1 S2
Redundant Logic
q Structurally redundant logic in Consensus theorem not covered with any input.
q Unused logic in 3-1 mux not covered with functional inputs.
q Unoptimised set of minterms require additional non-functional
non inputs. Practically very relevant.
A
S Z = A.S + B.S + A.B
AB 00 01 11 10
OR
B
S S 0 0 1 1 0
1 0 0 1 1
A
X
B
never tested
Fault Models and Fault Sizes
# Nets N
# Gates G=N
# Transistors 5*G
# Paths (N / 10) / 1000
Slack paths N*3
q Equivalent faults.
q Fault dominance.
q Fault class dominance. SAF w.r.t.. others. SAF coverage is effective, though not sufficient.
q Examples.
c
a b
d
Other faults
Equivalent Dominant TDF Dominated
a b Y Either SAF - Dominant
b c N b over c
b d N b over d
c d N N
Additional Faults in Memories Example of what is Different from Logic
q SA0 / SA1 fault from bipolar IC legacy. Short is 0,1. Open / Floating is 1.
1
q CMOS has stuck-short / stuck-open
open faults. The latter requires a two-pattern
two test. One to initialize
a node and the other to set it too opposite value.
q Similar test required for memory and tristate o/p buffer.
buffer
E1 A E1
I1 C
Output
I2 B
E2
E2
10
Inputs and States
12
Schneiders Circuit
Illustration for:
q Forward propagation (D drive) and backward justification.
q Multiple path sensitisation.
q Non-optimal and optimal pattern sets. Non-unique
unique pattern sets.
13
ATPG Topics
D-algebra:
q What is need for multi-valued
valued logic representation for ATPG?
q Examples to illustrate D frontier.
q Simplification provided by PODEM, FAN and other test generation algorithms.
q Iterative model of sequential circuit for test generation. D propagation across frames.
Questions: Optimised logic => Sometimes more patterns? Larger circuits => More dont care bits?
Larger circuits => Lesser entropy? 14
Bounds
q 2-1 Mux:: No redundancy. 6 / 8 patterns are sufficient. Both inputs identical render the select
input redundant. (00 / 11 input patterns are not required).
q ExOr gate: No redundancy.
All 4 / 4 patterns required for internal faults.
3 / 4 patterns adequate for I/O faults.
q Adder: No redundancy. Finite number of patterns required. Lower bound = 4, independent of the
data width of the adder.
q Decoder: No redundancy. Finite number of patterns required. Upper bound = 2I for an I input
decoder. For a 32K word memory, 32K addresses are required to test it (for one iteration
March sequence).
q Diagrams.
15
Testing I/Os versus Internal Nets
Testing I/Os is not same as testing internal nets. Few examples below.
q ExOr :
3 patterns for black-box.
4 patterns for internal circuit.
q Counter :
Value change in state bits versus navigation from one state to another.
16
Test Logic Is Good / Bad
q Probable defect in DFT + BIST logic is acceptable. Discard the device. Systematic defect is not.
q In comparison, the tester is never faulty.
17
Scan Implementation
From other From other
FF(Q) SO2
D Q FF(Q)
SD FF1
FF6
SI1 To other
SE FF(D)
From other
FF(Q) From other
FF2 FF(Q)
FF5
FF3 FF4
SI2 To other
FF(D)
SO1 Exclusive Scan path
Functional path
Cycles 1 2 3 4 5 6 7
SI1
SI2
SE
SO1
SO2
18
Scan Implementation (2)
q SE can be shared between two scan chains if they are running in tandem, or can be dedicated if
they are running independently.
q Shift-out
out for Pattern P1 happens in parallel with shift-in
shift for Pattern P2.
q Cycles1,2,3,5,6,7:
SI1->FF1(SD)->FF1(Q)->FF2(SD)->FF2(Q)
>FF2(Q)->FF3(SD)->FF3(Q)->SO1.
SI2->FF4(SD)->FF4(Q)->FF5(SD)->FF5(Q)
>FF5(Q)->FF6(SD)->FF6(Q)->SO2.
q End of Cycle 3: End of shift-in.
in. Pattern from FFs(Q) applied to logic.
q End of Cycle 4: Response captured into FFs(D). Start of shift-out.
shift
19
Various Aspects of Scan
Design aspects:
q Types of scan flip-flops.
q Inputs / Outputs and controls required.
q Number of scan chains and lengths.
q Order of stitching flip-flops into scan chains.
q Stitching across IPs / Domains.
q Full scan versus partial scan.
DECOMPRESSOR
CoDec Scope for compression.
SPACE COMPACTOR
To Tester
21
Scan Compression Targets and Bounds
q Total number of care bits required to test a circuit fully (near constant) Circuit entropy.
q Entropy drives upper bound on compression. Typical number 100.
q Compression limited by entropy. Can only be increased through coverage loss. (Concurrency is
independent of compression).
q Care-bits
bits must be encoded by ATPG tool to be correctly decoded by decompressor.
q DUT response compressed in compactor. Xs hamper this compression. X-handling
X hampers
encoding.
q TDV compression is the first measure.
TAT compression depends upon number of tester and DUT channels, and tester handshake
mechanisms.
Often controlled outside the CoDec architecture.
But TAT is often more important.
22
Functional and Structural Tests
q Memory RAM sequential patterns have several scan operations per pattern (five below):
Scan Address2 => Write Data2 (initialize).
Scan Address1 => Write Data1.
Scan Address2 => Read Data2. (Detects faults where A1 maps incorrectly to A2).
23
Iddq Current Test
Inverter:
q Input A toggles from 0 -> 1: Output Q changes from 1 -> 0.
Current spike between quiescent values.
q What is an acceptable steady state value? Is it a range?
24
Iddq Threshold
Four quadrants:
q Device vs Iddq:
Good / Low.
Good / High.
Bad / Low.
Bad / High.
q Yield recovery in the middle two
cases through setting appropriate
thresholds and outlier analysis.
25
Waveforms for Different Patterns
26
Example
27
At-speed ATPG Tests
28
Two Pattern Tests
launch
shift_in (LOS) capture shift_out
shift_in (LOC)
V1 V2
scan_enable
Launch off capture
scan_enable
Launch off shift
Enhanced SC
Orig. SC 29
Desirable Transitions
q Transition fault pattern does not necessarily cause a transition in the capture flip-flop.
flip
0->1
>1 transition on S is a valid transition fault test for A = 1 and B =1->0.
=1
Fault-free output does not change: 1->1. >1. Faulty o/p: 1 -> 0.
q Path delay pattern: A transition in capture flip-flop
flop is guaranteed. However, not necessarily
through a valid path.
q Path delay tests can be robust (single launch transition), non-robust
non (other enabling launch
transitions), functional sensitisable (other enabling paths). Considerations for multi-cycle
multi paths
and false paths.
q Multiple cycle launches may be required to achieve a functional launch state.
A
S Z = A.S + B.S
B
S
30
Small Delay Defects
Earlier metric:
# transition faults detected. 10
Nodes
New metric: 5
12
16
20
24
28
32
36
40
44
# transition faults detected 0
8
4
weighted as: Slack
Parameters:
q (x,y) co-ordinates.
q Radius and area.
q Probabilistic distribution considered for number of defects.
32
Assignments
33
Backup
34