Lecture8 PDF
Lecture8 PDF
Fault
F lt Simulation
Si l ti
Virendra Singh
I di Institute
Indian I tit t off Science
S i
Bangalore
[email protected]
Specification
Synthesis
Computed True-value
Input stimuli
responses simulation
Logic Connectivity of 0, 1,
0 1 X Zero delay
Zero-delay Logic
Boolean gates, unit-delay, verification
and Z multiple-
flip-flops and and test
transistors delay
S it h
Switch Transistor size 0, 1
0 Zero-delay Logic
and connectivity, and X verification
node capacitances
Timing gy Analog
Transistor technology g Fine-grain
g Timingg
data, connectivity, voltage timing verification
node capacitances
Circuit Continuous Digital timing
Tech. Data, active/ Analog
time and analog g
passive component voltage
voltage,
circuit
connectivity current
verification
Jan 27, 2010 E0-286@SERC 5
True-Value Simulation
Al
Algorithms
ith
Compiled-code
p simulation
¾ Applicable to zero-delay combinational logic
¾ Also used for cycle-accurate synchronous sequential
g verification
circuits for logic
¾ Efficient for highly active circuits, but inefficient for
low-activity circuits
¾ High-level (e.g., C language) models can be used
Event-driven simulation
¾ Only gates or modules with input events are
evaluated (event means a signalg change
g )
¾ Delays can be accurately simulated for timing
verification
¾ Efficient for low-activity circuits
¾ Can be extended for fault simulation
Jan 27, 2010 E0-286@SERC 6
Compiled-Code Algorithm
ack
3
4 f =0
0
Time sta
b =1 4 g=0
T
g 6 f=1 g
0 4 8
Time, t 7
8 g=1
Jan 27, 2010 E0-286@SERC 8
Time Wheel (Circular Stack)
Current max
time t=0
pointer Event link-list
1
2
4
5
6
7
Steady 0
Steady 0 Large logic
block without
(
(no event)
t)
0 to 1 event activity
Si
Signal
l states:
t t llogic
i
Two (0, 1) or three (0, 1, X) states for purely
Boolean logic circuits
Four states (0, 1, X, Z) for sequential MOS circuits
Timing
Zero-delay
Zero delay for combinational and synchronous
circuits
Mostly unit-delay for circuits with feedback
Faults
Mostly single stuck-at faults
Sometimes stuck-open, transition, and path-delay
faults; analog circuit fault simulators are not yet in
common use
Equivalence fault collapsing of single stuck-at
faults
Fault-dropping -- a fault once detected is dropped
from consideration as more vectors are simulated;
fault-dropping
fault dropping may be suppressed for diagnosis
Fault sampling -- a random sample of faults is
simulated when the circuit is large
Parallel
Deductive
Concurrent
Comparator fn detected?
Circuit with fault fn
1 1 1
c s-a-0 detected
a 1 0 1
1 1 1 1 0 1
b e 1 0 1
c s-a-0
g
0 0 0
d f s-a-1 0 0 1
1 {a0} Le = La U Lc U {e0}
a = {a0 , b0 , c0 , e0}
1 {b0 , c0}
b e 1
{b0} c 1
g
d f 0
Lg = (Le Lf ) U {g0}
U
{b0 , d0}
{b0 , d0 , f1} = {a0 , c0 , e0 , g0}
Faults detected by
the input vector
d
1 0
f a0 b c0 e0
0 0 0 0 0
0 1 0 0
0 1 0 0
1 1 1
0 1 1
b0 d0 f1 0
g 1 1
d0
0 1
f1
0 1 1 1
0
Jan 27, 2010 E0-286@SERC 23
Thank You