Title: VLSI%20TESTING%20PROJECT
1VLSI TESTING PROJECT
- Dominance Fault Collapsing
- Anandshankar Mudlapur
- Arun Balaji Kannan
- Muthu Balaji Ramkumar
- Muthu Balan Varadharajaperumal
2Dominance collapsed faults for an AND gate
SA0,SA1
SA0,SA1
A
A
SA0,SA1
C
C
SA0,SA1
SA1
B
B
Dominance collapsed faults
Un-collapsed faults
Faults Test Vectors AB
A-SA0 11
A-SA1 01
B-SA0 11
B-SA1 10
C-SA0 11
C-SA1 00, 01, 10
Compulsory Fault Collapsed Faults
A-SA0 B-SA0, C-SA0
A-SA1 C-SA1
B-SA1 C-SA1
3Dominant faults modeled on different gates and
fan-outs
Compulsory Faults Optional Faults
A-SA1, B-SA1 A-SA0 or B-SA0
A-SA0, B-SA0 A-SA1 or B-SA1
A-SA1, B-SA1 A-SA0 or B-SA0
A-SA0, B-SA0 A-SA1 or B-SA1
A-SA0, A-SA1 -
A-SA0, A-SA1, B-SA0, B-SA1, C-SA0, C-SA1 -
A-SA0, A-SA1, A1-SA0, A1-SA1, A2-SA0, A2-SA1 -
A-SA0, A-SA1 -
A
C
B
A
C
B
A
C
B
A
C
B
A
C
A
C
B
A1
A
A2
A
A
4Algorithm
- Necessary information is read from the bench file
- Parse the circuit from input to output or
vice-versa - Check if the node is of type XOR and assign the
compulsory faults ( SA0 and SA1) at the output. - Repeat for all nodes
- Check if node is an input and if fan-outs are
greater than 2 assign both faults for the node. - All the inputs of the gates are scanned and
checked for the node type - If fan-out of the input gt 2, assign compulsory
fault - Else if gate is BUF or NOT and input is PI assign
both faults - Else if PI, assign compulsory fault and note
input - Else if gate output, set a FLAG
5Algorithm Continued
- Check if FLAG is unchanged and if no primary
inputs are encountered assign the optional fault
to the last input - Else if FLAG is unchanged assign the optional
fault to the PI - End Loop
- If PO has fan-outs both faults are assigned
- The result obtained is saved!
-
6Example of Dominance Fault collapsing using the
above algorithm
J
A
L
B
C
H
D
E
M
K
F
G
6
7Example of Dominance Fault collapsing using the
above algorithm
J
A
L
B
C
H
D
0,1
E
M
K
F
G
6
8Example of Dominance Fault collapsing using the
above algorithm
J
0,1
A
L
B
C
H
D
0,1
E
M
K
F
G
6
9Example of Dominance Fault collapsing using the
above algorithm
J
0,1
A
L
B
1
C
H
D
0,1
E
M
K
F
G
6
10Example of Dominance Fault collapsing using the
above algorithm
J
0,1
A
L
B
1
C
H
1
D
0,1
E
M
K
F
G
6
11Example of Dominance Fault collapsing using the
above algorithm
J
0,1
A
L
B
1
C
H
1
D
0,1
1
E
M
K
F
G
6
12Example of Dominance Fault collapsing using the
above algorithm
J
0,1
A
L
B
1
C
H
0,1
D
0,1
1
E
M
K
F
G
6
13Example of Dominance Fault collapsing using the
above algorithm
J
0,1
A
L
B
1
C
H
0,1
D
0,1
1
E
M
1
K
F
G
6
14Example of Dominance Fault collapsing using the
above algorithm
J
0,1
A
L
B
1
C
H
0,1
D
0,1
1
E
M
1
K
F
1
G
6
15Example of Dominance Fault collapsing using the
above algorithm
J
0,1
A
L
B
1
C
H
0,1
D
0,1
1
E
M
1
K
F
1
1
G
6
16Example of Dominance Fault collapsing using the
above algorithm
J
0,1
A
L
1
B
1
C
H
0,1
D
0,1
1
E
M
1
K
F
1
1
G
6
17Example of Dominance Fault collapsing using the
above algorithm
J
0,1
A
L
1
B
1
C
H
0,1
D
0,1
1
E
1
M
1
K
F
1
1
G
6
18Example of Dominance Fault collapsing using the
above algorithm
J
0,1
A
0,1
L
1
B
1
C
H
0,1
D
0,1
1
E
1
M
1
K
F
1
1
G
6
19Results
Benchmark Circuits C17 74181
Total Faults (HITEC GENERATED) 46 500
Collapsing Method Equivalence Dominance
Benchmark circuit HITEC Our Program
C17 22 16
74181 (XOR) 237 208
74181 (NAND MODEL for XOR) 301 248
7
20Conclusion
- As a conclusion,
- Results may coincidentally match!
- A Double check on the results always advisable
- Plan what you do, do what you plan and record
what you have accomplished!
8