Fault Simulation
Fault Simulation
Test Fault
Generator Simulator
Add Fault
Vectors Simulate
Test
to Test Set Vectors
Set
Detected Faults
Testable Coverage =
Total Faults - Untestable
B/1 A/0
B A
C/1 C A/1
0 1 2 3 4
l Effectively, there are five different logic circuits being
simulated,Fault-Free A/0 A/1
but the bitwise B/1 C/1
operation A = B.C is performed in
one step.
i
v v’ = v.m + m.c
m 00001000000
c x xxx 0xxx x x x
LA: {a,c,f} 0
LZ = {a,c}
LB: {d,f,g} 1
LZ = LA - LB = LA Ç LB
{all faults in A which are not in B}
LA: {a,c,f} 0
LZ = { f }
LB: {d,f,g} 0
LZ = LA Ç LB
ECE 1767 University of Toronto
LA: {a,c,f} 0
LZ = {a,c,d,f,g}
LB: {d,f,g} 0
LZ = LA U LB
LA: {a,c,f} 1
LZ = {a,c}
LB: {d,f,g} 0 LI LZ = LI
LZ = LA - LB = LA Ç LB
{all faults in A which are not in B}
LA: {a,c,f} 1
LZ = { f }
LB: {d,f,g} 1
LZ = LA Ç LB
ECE 1767 University of Toronto
A
LA LA A
LZ LZ
LB Z LB Z
B B
1
l 1
n
g n0
0 U
LA LA A 1 0 0
LZ = LA U LB
0
U
Z
1 B
L0B LB U 1 1
LZ = LB - LA0 - LUA
1 a/0
X D Q
1 time t
L 1 0 1/0 0/1
1/0 0/1 1/1 0/1 time t+1
0
0
1 9
fault list
ordered by
fault index 0
0 1 12
1
1
0 45
d = don’t care
1
0
ALGORITHM
Simulate a vector and from every primary output, mark it as critical and
Trace backwards towards primary inputs marking sensitive lines as
Critical according to the lemma
1 1
0
Sensitive
lines
0
0 1
1 1
0
0 1
0
1
1 1
? 1 1 ? 1 1
1 0 1 0
0 0
1 0
Line is not critical for vector 111 Line is critical for vector 110
(s-a-0 not detected) (s-a-0 detected)
M >> m
0 0.5 1
Fault Coverage F