Dominance Fault Collapsing - Alok Doshi ELEC 7250 Spring 2004
Fault 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.
Dominance Fault Collapsing If all tests of fault F1 detect another fault F2, then F2 is said to dominate F1. s-a-1 F1 s-a-1 F2 s-a-1 s-a All tests of F2 Only test of F1
Structural Dominance Fault Collapsing Summarized as follows; An n–input Boolean gate requires n+1 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.
Algorithm 1. Read the bench file and convert it to a format easy to access. 2. Now read this file and take all data into the structure. Check for errors made in the bench file. 3. Find all fanouts of a gate. 4. Find all primary inputs with fanouts. 5. Find primary inputs without fanouts and whose output feeds into a gate which has all its inputs as primary inputs without fanouts. 6. Find all gates into which the primary inputs with fanouts feed. 7. 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). 8. Calculate collapse ratio.
Example
Example
Example
Example
Example
Results C17ALU(XOR)ALU(NAND)Full Adder8-bit Adder Total Faults Equivalence collapsed faults Dominance collapsed faults Fault Coverage (Equivalence) Fault Coverage (Dominance) Collapse Ratio (Equivalence) Collapse Ratio (Dominance) # of Vectors (Equivalence) # of Vectors (Dominance)
Redundant faults in ALU(NAND) Equivalence Dominance