Professional Documents
Culture Documents
Fault Simulation Lec2 - A
Fault Simulation Lec2 - A
Outline
s
Fault Modeling
t t t t
Logical Fault Models Fault Detection Single Stuck-Fault Model Multiple Stuck-Fault Model Serial Fault Simulation Parallel, Deductive, and Concurrent Fault Simulation Critical Path Tracing
Fault Modeling and Fault Simulation Luis Alejandro Corts, Daniel Karlsson 2 of 21 Nov. 20, 2000
Fault Simulation
t t t
Basic Denitions
s
Fault models are needed to analyze the result of the test Logical Fault : Representation of the effect of the physical faults on the operation of the system
t
Logical faults allow a mathematical treatment of testing and diagnosis Assumptions are considered to make the analysis feasible
t
Fault Modeling and Fault Simulation Luis Alejandro Corts, Daniel Karlsson
Stuck-at-1
b a.b AND a a.b
Stuck-at-0
a+b OR a+b
AND-bridging
0
OR-bridging
Stuck-at-0
Fault Modeling and Fault Simulation Luis Alejandro Corts, Daniel Karlsson 5 of 21 Nov. 20, 2000
Z(x)
Cf x
s s
Zf(x)
A test vector t detects a fault f iff Zf(t)=Z(t) A fault f is detectable if there exists a test t that detects f
Fault Modeling and Fault Simulation Luis Alejandro Corts, Daniel Karlsson 6 of 21 Nov. 20, 2000
Detectable Faults
x y x
OR
z
0
f is undetectable
y x
OR
t=00 is the only test that detects g t=00 does NOT detect g in the presence of f
g
0
Fault Modeling and Fault Simulation Luis Alejandro Corts, Daniel Karlsson
R(q,X)
Sf X
s
Rf(qf,X)
A test sequence T detects a fault f iff, for every pair of initial states q and qf, the output sequences R(q,T) and Rf(qf,T) are different for some ti in T
Fault Modeling and Fault Simulation Luis Alejandro Corts, Daniel Karlsson 8 of 21 Nov. 20, 2000
May represent different physical faults Technology independent Test sets used to detect SSFs can detect other faults not explicitly considered The number of SSFs in a circuit is small, compared to other fault models
Successful model
Fault Modeling and Fault Simulation Luis Alejandro Corts, Daniel Karlsson
n =
( 1 + f i qi )
i=1
m = signal sources f i = fanout count of signal s i 1 if f i = 1 qi = 0 if f i > 1 f = average fanout count q = fraction of signals with single fanout G = no. gates I = no. primary inputs
n = (G + I )(1 + f q)
Fault Modeling and Fault Simulation Luis Alejandro Corts, Daniel Karlsson
Fault Equivalence
s
Determining whether two arbitrary faults are functionally equivalent is an NP-complete problem (compute and show the two faulty functions are identical)
t
2n SSFs
i=1 n
n 2 i = 3 n 1 i
MSFs
i=1
n 2 i i
MSFs
Fault Modeling and Fault Simulation Luis Alejandro Corts, Daniel Karlsson