Ee 587 Soc Design & Test: Partha Pande School of Eecs Washington State University Pande@Eecs - Wsu.Edu
Ee 587 Soc Design & Test: Partha Pande School of Eecs Washington State University Pande@Eecs - Wsu.Edu
Ee 587 Soc Design & Test: Partha Pande School of Eecs Washington State University Pande@Eecs - Wsu.Edu
Partha Pande
School of EECS
Washington State University
[email protected]
1
Fault Modeling
2
Why Model Faults?
3
Functional Vs Structural Testing
4
Common Fault Models
5
Stuck-at Fault
6
Single Stuck-at Fault
f k
Test vector for h s-a-0 fault
7
Fault Equivalence
8
Equivalence Rules
sa0 sa0
sa1 sa1
sa0 sa1 sa0 sa1 WIRE
sa0 sa1 sa0 sa1
AND OR
sa0 sa1
NOT
sa1 sa0
sa0 sa1
Faults
sa0 sa1 removed by
sa0 sa1 equivalence
collapsing
sa0 sa1 sa0 sa1
sa0 sa1
sa0 sa1
sa0 sa1 sa0 sa1
sa0 sa1
If all tests of some fault F1 detect another fault F2, then F2 is said to
dominate F1.
Dominance fault collapsing: If fault F2 dominates F1, then F2 is
removed from the fault list.
When dominance fault collapsing is used, it is sufficient to consider
only the input faults of Boolean gates. See the next example.
If two faults dominate each other then they are equivalent.
11
Dominance Example
All tests of F2
F1
s-a-1 001
F2
s-a-1 110 010
000
101 011
100
s-a-1
s-a-1
s-a-0
A dominance collapsed fault set
12
Dominance Example
sa0 sa1
Faults in blue
sa0 sa1 removed by
sa0 sa1 equivalence
collapsing
sa0 sa1 sa0 sa1
sa0 sa1
sa0 sa1
sa0 sa1 sa0 sa1
sa0 sa1
14
Multiple Stuck-at Faults
15
Transistor (Switch) Faults
16
Stuck-Open Example
pMOS VDD
FETs IDDQ path in
faulty circuit
A Stuck-
1
short
0
B Good circuit state
C 0 (X)
nMOS
FETs Faulty circuit state
18
Basic Principle of IDDQ Testing
20
DFT
21
SCAN DESIGN
We already know this!
22
BIST Motivation
24
Typical Quality Requirements
25
BIST Architecture
26
Economics BIST Costs
27
BIST Benefits
Faults tested:
Single combinational / sequential stuck-at faults
Delay faults
Single stuck-at faults in BIST hardware
BIST benefits
Reduced testing and maintenance cost
Lower test generation cost
Reduced storage / maintenance of test patterns
Simpler and less expensive ATE
Can test many units in parallel
Shorter test application times
Can test at functional system speed
28
Pattern Generation
29
Pseudo-Random Pattern Generation
X0 (t + 1) 0 1 0 0 0 X 0 (t)
X1 (t + 1) 0 0 1 0 0 X 1 (t)
. . . . . . .
. . . . . . .
. = . . . . . .
Xn-3 (t + 1) 0 0 0 1 0 Xn-3 (t)
Xn-2 (t + 1) 0 0 0 0 1 Xn-2 (t)
Xn-1 (t + 1) 1 h1 h2 hn-2 hn-1 Xn-1 (t)
31
LFSR Implements a Galois Field
32
Standard n-Stage LFSR Implementation
1 1 1 1 7
2 0 1 1 3
3 0 0 1 1
4 1 0 0 4
5 0 1 0 2
6 1 0 1 5
7 1 1 0 6
8 1 1 1 7
34
Example of LFSR
S0 S1 S2
1 0 0
0 1 0
1 0 1
1 1 0
R R R
1 1 1
S0 S1 S2 0 1 1
0 0 1
1 0 0
35
LFSR Theory
36
Example External XOR LFSR
X0 (t + 1) 0 1 0 X 0 (t)
X1 (t + 1) = 0 0 1 X 1 (t)
X2 (t + 1) 1 1 0 X 2 (t)
38
Generic Modular LFSR
39
Modular Internal XOR LFSR
40
Modular LFSR Matrix
X0 (t + 1) 0 0 0 0 0 1 X 0 (t)
X1 (t + 1) 1 0 0 0 0 h1 X 1 (t)
X2 (t + 1) 0 1 0 0 0 h2 X 2 (t)
. . . . . . . .
. = . . . . . . .
. . . . . . . .
Xn-3 (t + 1) 0 0 0 0 0 hn-3 Xn-3 (t)
Xn-2 (t + 1) 0 0 0 1 0 h Xn-2 (t)
n-2
Xn-1 (t + 1) 0 0 0 0 1 hn-1 Xn-1 (t)
41
Example Modular LFSR
f (x) = 1 + x2 + x7 + x8
Read LFSR tap coefficients from left to right
42
VHDL Implementation
Lfsr_tap
6 9
43
VHDL Implementation