Title: VLSI SIMULATION AND TEST GENERATION
1VLSI SIMULATION AND TEST GENERATION
FACULTY OF ELECTRICAL ENGINEERING
BELGRADE
- Student Marija Stojsavljevic 226/97
- gemini_at_verat.net
- Professoor dr Veljko Milutinovic
- Assitant Gvozden Marinkovic
Belgrade, 20.12.2002
2Introduction
- Simulators
- Test generators
- The advantages of test generator using the
principles of logic simulator
- Using a cost function
2/ 38
3The testing problem
- Fault modeling
- Test generation
- Measures of test quality
3/ 38
4The testing techniques
- DFT techniques
- for purely combinational or synchronous
sequential circuits
- BIST (Built In Self Test)
- Testing with test vectors
4/ 38
55/ 38
6Logic simulation and fault analysis
- Circuit modeling
- - behavior
- - gate
- - switch
- - circuit
- mixed
- Signal modeling
- - analog
- - digital
- Modeling of delays
- - zero delay
- - unit delay
- - multiple delay
- Simulator
- Event-driven simulation
6/ 38
7Event-driven simulation
7/ 38
8Fault modeling
- Stuck faults
- Fault collapsing
- - equivalence fault collapsing
- - dominance fault collapsing
- Other fault models
- - memories
- (1) single cell stuck
- (2) adjacent cell coupling
- (3) pattern-sensitive faults
- - PLA
- (1) cross-point faults
- (2) bridging faults
-
8/ 38
9Equivalence fault collapsing
9/ 38
10Fault Simulation
- Measures of test quality
- - reject ratio
- - fault coverage
- Methods of fault simulation
- serial
- paralel
- deductive
- concurrent
10/ 38
11Deductive simulation
11/ 38
12Test generation approaches
- exaustive
- random
- algorithmic
- circuits must be synchronous
- limited number of flip-flops
- limited number of gates
- limited number of vectors per fault
- circuit delays must be neglected
12/ 38
13Test generation for combinational circuits
- Path sensitization approach
- D-algorithm
- PODEM
- FAN algorithm
- Subscripted D-algorithm
- CONT algorithm
- Boolean difference approach
13/ 38
14Path sensitization
- justification
- implication
- propagation
- backtracking
- propagation is impossible
- backtrack to a previous step propagation is
impossible again
- backtrack to a previous step
- propagation
14/ 38
15D-algorithm
- forward implication
- D-drive the fault effect is propagated toward
primary outputs
- backward justification (consistency check)
15/ 38
16PODEM
- Value assignment
- defining an objective
- activating the fault effect
- propagating the fault effect toward a primary
output
START
0
1
unchecked assignment
1
0
backtracking
1
0
backtracking
16/ 38
17Subscripted D-algorithm
- subscripting symbols
- forward-propagating D0 using the normal
- D-algorithm
- Dj , j1..n are propagating backward to primary
inputs
- all the faults related to this gate are
determined by inspecting the symbols at primary
inputs
17/ 38
18Boolean difference approach
F(x) the function of the fault-free circuit
F(x) the function of the circuit in the
presence of a given fault
18/ 38
19Generisanje testova za sekvencijalna kola
- Iterative array approach
- Extended D-algorithm
- Nine-value algorithm
- Backtrace algorithms
- SCRIPTSS
19/ 38
20Iterative array approach
a 1 b 0 c 0/1
Previous time frame
Current time frame
20/ 38
21Simulation-based directed-search approach
- Principle of directed search
- - involves no backtracking
- - deals with circuit-delays
in a very natural way
- - asynchronous sequential
circuits can be handled
- An overview of the new method
- The unit Hamming distance heuristic
- Cost
21/ 38
22Examples of cost curves
22/ 38
23Threshold-value simulation
- TV model
- determination of thresholds
- fanin-dependent TV model
- TV simulation with three states
23/ 38
24Threshold-value model
Determination of thresholds
24/ 38
25Fan-in depended threshold-value model
1-TOR(V)
1-TAND(V)
1-V
25/ 38
26The solution
V
V
26/ 38
27Test generation using threshold-value simulation
0
E
A B C
0.0 (0.0)
0
0.0 (0.0)
F
0
- compute the cost for a
- random vector
- compute the cost for all its
- neighbors defined as vectors
- at unit Hamming distance
- the next vector is the neighbor
- that has the lowest cost
27/ 38
28Requirements of sequential test generator
- Cost computation
- Initialization
- Race analysis
- Feedback loop analysis
- Switching the target fault
- Synchronous and asynchronous modes
28/ 38
29Race analysis
29/ 38
30Feedback loop analysis
30/ 38
31Program
31/ 38
32Eksperimentalni rezultati
33Test generation in concurrent fault simulator
- three-phase test generation
- - initialization
- - concurrent fault detection
- - single fault detection
- cost
- - activation fault
- - propagation fault
33/ 38
34Concurrent fault detection
Pocetni vektor
34/ 38
35Example for distance cost function
35/ 38
36Program
36/ 38
37Fault coverage
Fault number
Fault number
800
800
600
600
CONTEST
CONTEST
400
400
TVSET
RANDOM
RANDOM
200
200
0
0
1
10
100
1
10
1000
10,000
100
1000
10,000
Vectors
Vectors
TLC circuit
MULT4 circuit
37/ 38
38Experimental results
38/ 38