Testing12.pdf
-
Upload
doomachaley -
Category
Documents
-
view
212 -
download
0
Transcript of Testing12.pdf
Feb 15, 2008 E0-286@SERC 1
VLSI Testing Testability Analysis
VLSI Testing Testability Analysis
Virendra SinghIndian Institute of Science (IISc)
E0-286: Testing and Verification of SoC Design
Lecture - 11
Feb 15, 2008 E0-286@SERC 4
Observability ExamplesObservability ExamplesTo observe a gate input:Observe output and make other input values non-controlling
Feb 15, 2008 E0-286@SERC 5
Observability ExamplesObservability ExamplesTo observe a fanout stem:Observe it through branch with best observability
Feb 15, 2008 E0-286@SERC 6
Levelization Algorithm Levelization Algorithm Label each gate with max # of logic levels from primary inputs or with max # of logic levels from primary outputAssign level # 0 to all primary inputs (PIs)For each PI fanout:
Label that line with the PI level number, &Queue logic gate driven by that fanout
While queue is not empty:Dequeue next logic gateIf all gate inputs have level #’s, label the gate with the maximum of them + 1;Else, requeue the gate
Feb 15, 2008 E0-286@SERC 7
Controllability - Level 0Controllability - Level 0
Circled numbers give level number. (CC0, CC1)
Feb 15, 2008 E0-286@SERC 10
Observability for Level 1Observability for Level 1
Number in square box is level from primary outputs (POs).(CC0, CC1) CO
Feb 15, 2008 E0-286@SERC 12
Select path s – Y for fault propagation
sa1
Example (PODEM) Example (PODEM)
Feb 15, 2008 E0-286@SERC 13
Initial objective: Set r to 1 to sensitize fault
1
sa1
Example -- Step 2 s sa1Example -- Step 2 s sa1
Feb 15, 2008 E0-286@SERC 15
Example -- Step 4 s sa1Example -- Step 4 s sa1Set A = 0 in implication stack
10
sa1
Feb 15, 2008 E0-286@SERC 16
Example -- Step 5 s sa1Example -- Step 5 s sa1Forward implications: d = 0, X = 1
1
sa1
00
1
Feb 15, 2008 E0-286@SERC 17
Example -- Step 6 s sa1Example -- Step 6 s sa1Initial objective: set r to 1
1
sa1
00
1
Feb 15, 2008 E0-286@SERC 18
Example -- Step 7 s sa1Example -- Step 7 s sa1Backtrace from r again
1
sa1
00
1
Feb 15, 2008 E0-286@SERC 19
Example -- Step 8 s sa1Example -- Step 8 s sa1Set B to 1. Implications in stack: A = 0, B = 1
1
sa1
00
1
1
Feb 15, 2008 E0-286@SERC 20
D
Example -- Step 9 s sa1Example -- Step 9 s sa1Forward implications: k = 1, m = 0, r = 1, q = 1, Y = 1, s = D, u = D, v = D, Z = 1
1
sa1
1
0
11
DD
1
0
10
1
Feb 15, 2008 E0-286@SERC 21
Backtrack -- Step 10 s sa1Backtrack -- Step 10 s sa1X-PATH-CHECK shows paths s – Y and s – u – v –Z blocked (D-frontier disappeared)
1
sa1
00
1
Feb 15, 2008 E0-286@SERC 22
Step 11 -- s sa1Step 11 -- s sa1Set B = 0 (alternate assignment)
1
sa1
0
0
Feb 15, 2008 E0-286@SERC 23
Backtrack -- s sa1Backtrack -- s sa1
1sa1
00
1
0 1
0
1
01
0 1
Forward implications: d = 0, X = 1, m = 1, r = 0,s = 1, q = 0, Y = 1, v = 0, Z = 1. Fault not sensitized.
Feb 15, 2008 E0-286@SERC 24
Step 13 -- s sa1Step 13 -- s sa1Set A = 1 (alternate assignment)
1
sa1
1
Feb 15, 2008 E0-286@SERC 26
Step 15 -- s sa1Step 15 -- s sa1Set B = 0. Implications in stack: A = 1, B = 0
1
sa1
1
0
Feb 15, 2008 E0-286@SERC 27
Backtrack -- s sa1Backtrack -- s sa1Forward implications: d = 0, X = 1, m = 1, r = 0. Conflict: fault not sensitized. Backtrack
sa1
1
0
0
0
1
1
1
11
0
01
Feb 15, 2008 E0-286@SERC 28
Step 17 -- s sa1Step 17 -- s sa1Set B = 1 (alternate assignment)
1
sa1
1
1
Feb 15, 2008 E0-286@SERC 29
Fault Tested - Step 18Fault Tested - Step 18Forward implications: d = 1, m = 1, r = 1, q = 0, s = D, v = D, X = 0, Y = D
1
sa1
1
11
1
0
D
0
D
D
XD
Feb 15, 2008 E0-286@SERC 32
Example – Step 2Example – Step 2Forward & Backward Implications
1
Dsa1
0D
D
1 1
0
11
Feb 15, 2008 E0-286@SERC 33
Example – Step 3 s sa1Example – Step 3 s sa1Propagation D-cube for Z – test found!
1
Dsa1
0D
D
1 1
0
11
1D