Title: Dominance Fault Collapsing
1Dominance Fault Collapsing
ELEC 7250 Spring 2004
2Fault Collapsing
- The basic idea behind fault collapsing is to
reduce the number of faults that have to be
considered during the test generation process, in
turn reducing the size of the test vector set. - Fault collapsing eliminates those faults that can
be detected by tests generated for some other
faults.
3Dominance Fault Collapsing
- If all tests of fault F1 detect another fault
F2, then F2 is said to dominate F1.
F1
All tests of F2
s-a-1
001 110 010 000 101
100
011
s-a-1
s-a-1
Only test of F1
s-a-1
s-a-0
4Structural Dominance Fault Collapsing
- Summarized as follows
- An ninput Boolean gate requires n1 single stuck
at faults to be modelled. - To collapse faults of a gate, all faults from
output can be eliminated retaining one type
(s-a-1 for AND and NAND s-a-0 for OR and NOR) of
fault on each input and the other type (s-a-0 for
AND and NAND s-a-1 for OR and NOR) on any one of
the inputs. - The output faults of the NOT gate, the non
inverting buffer, and the wire can be removed as
long as both faults on the input are retained. No
collapsing is possible for fanout. Also no
collapsing is possible for the XOR and XNOR gates.
5Algorithm
- Read the bench file and convert it to a format
easy to access. - Now read this file and take all data into the
structure. Check for errors made in the bench
file. - Find all fanouts of a gate.
- Find all primary inputs with fanouts.
- Find primary inputs without fanouts and whose
output feeds into a gate which has all its inputs
as primary inputs without fanouts. - Find all gates into which the primary inputs with
fanouts feed. - Find all gates which are fanouts of other gates.
(These should not include the gates that have any
of its input as a primary input). - Calculate collapse ratio.
6Example
6
1
10
2
12
7
14
11
3
13
8
15
4
9
5
7Example
6
1
10
2
12
7
14
11
3
13
8
15
4
9
5
8Example
6
1
10
2
12
7
14
11
3
13
8
15
4
9
5
9Example
6
1
10
2
12
7
14
11
3
13
8
15
4
9
5
10Example
6
1
10
2
12
7
14
11
3
13
8
15
4
9
5
11Results
C17 ALU(XOR) ALU(NAND) Full Adder 8-bit Adder
Total Faults 54 532 676 80 634
Equivalence collapsed faults 22 237 301 38 290
Dominance collapsed faults 16 208 248 30 226
Fault Coverage (Equivalence) 1 - 0.9734 1 1
Fault Coverage (Dominance) 1 - 0.9677 1 1
Collapse Ratio (Equivalence) 0.407 0.4452 0.475 0.457
Collapse Ratio (Dominance) 0.296 0.366 0.390 0.375 0.356
of Vectors (Equivalence) 10 - 36 8 20
of Vectors (Dominance) 10 - 48 8 16
12Redundant faults in ALU(NAND)
- Equivalence Dominance
- 86 2 1 ---------- 74 1 0
- 58 1 1 58 1 1
- 88 2 1 ---------- 77 1 0
- 63 1 1 63 1 1
- 90 2 1 ---------- 80 1 0
- 67 1 1 67 1 1
- 92 2 1 ---------- 83 1 0
- 70 1 1 70 1 1