Definitioncore
Redundant fault
Also called untestable fault, undetectable fault.
A fault that no input can detect because the faulty and good circuits compute the same function; ATPG that proves this also finds logic that can be removed.
A redundant fault is a fault that no input vector can detect: the circuit with the fault computes the same function as the good circuit. For a single stuck-at fault on a line, this means that the line can be tied to the stuck value without any change at the outputs, so the logic that drives it, or that the constant now fixes, can be removed. A test generator that proves a fault redundant has therefore found logic to remove. Of the fault coverage ratios, one counts such a fault as covered and one leaves it out of the count.
Definition
Let be a combinational circuit with inputs , and let be its vector of output values. For a fault , let be the circuit with the fault. A vector detects if . The fault is redundant (or undetectable) if no vector detects it, that is, if for all . A fault that some vector detects is detectable, or irredundant.
For the stuck-at fault , the faulty circuit is the circuit with line cut from its driver and connected to the constant . So the definition gives at once:
Proposition. The fault is redundant if and only if tying line to the constant leaves the function of the circuit unchanged.
Proof. Tying to gives exactly the circuit , and is redundant exactly when and compute the same function.
After the tie, the circuit gets smaller in two ways. The gates whose only path to an output runs through now drive nothing and can be deleted. A gate fed by the constant either becomes constant, as an AND gate with a 0 input, or loses that input, as an AND gate with a 1 input. Each such step keeps the function, so the result is an equivalent and smaller circuit. This is how test generation is used for redundancy removal in logic synthesis of a Boolean network.
The condition can be stated with the observability don't-cares of , the vectors under which no output depends on . The fault is redundant if and only if every vector that gives the value in the good circuit is an observability don't-care of : either the fault is never activated, or its effect never reaches an output.
Deciding whether a stuck-at fault is detectable is NP-complete (Ibarra and Sahni, 1975), so proving that a fault is redundant is coNP-complete. In practice it is done by automatic test pattern generation, which must search the whole space before it can answer that no test exists, or by a SAT solver on a miter of and , where an unsatisfiable miter is a proof of redundancy.
Examples and non-examples
The consensus term. The circuit , , , computes . The term is the consensus of and : if , then . So never decides the output, and is redundant. The faults and on the branches into only force , so they are redundant too. Trying all 8 input vectors shows that the other 25 of the 28 single stuck-at faults are detectable, and the tests of the parallel fault simulation page check this. Tying to 0 removes the AND gate and one input of the OR gate, and leaves the multiplexer .
The other value is detectable. In the same circuit, is detectable: the vector gives in the good circuit and with . A redundant line is redundant for one stuck value, not always for both.
Two redundant faults that are not redundant together. In , , , each of and is redundant, since the other copy still gives . But with both faults, , which the vector 11 detects. So redundant faults cannot all be removed at once. Removal goes one fault at a time, and after each removal the test generator must check the next fault again, since a fault may become detectable.
A redundant fault can hide another. In the consensus circuit, the fault is detected by 010, which makes while should be 0. If is present too, stays 0, and no vector detects . A chip with an untested redundant fault can thus pass a test that would catch its second fault on a chip without it.
Non-example: not detected by a given test set. A fault that a given test set misses is not redundant unless no vector at all detects it. The fault coverage of a set below 100% does not show redundancy.
Non-example: hard to detect. A fault detected by only one of vectors is detectable, and random patterns may never hit it. Such faults are called random-pattern resistant, not redundant.
Fanout-free circuits. In a circuit of AND, OR, NAND, NOR and NOT gates with one output, where every line feeds at most one gate, no single stuck-at fault is redundant. The proof is on the stuck-at fault model page. Redundancy needs reconvergent fanout, as in both circuits above.
Related definitions
- Equivalent faults. Two faults are equivalent if their faulty circuits compute the same function. A fault is redundant exactly when it is equivalent to the fault-free circuit. Fault collapsing groups equivalent faults.
- Untestable fault. In a sequential circuit, or under the constraints of a test setup, a fault can be untestable without being redundant: it changes the function, but no test that the setup can apply detects it. Tools often class such faults with the redundant ones, which matters for the fault coverage ratios.
- Aborted fault. A fault for which a test generator stopped before it found a test or a proof of redundancy.
- Redundancy and equivalence. Checking that tying a line does not change the function is a case of equivalence checking between and .
References
- Miron Abramovici, Melvin A. Breuer and Arthur D. Friedman, Digital Systems Testing and Testable Design, IEEE Press, 1994, the chapters on fault modeling and test generation (redundant faults, their effect on other tests, and redundancy identification)
- Michael L. Bushnell and Vishwani D. Agrawal, Essentials of Electronic Testing for Digital, Memory and Mixed-Signal VLSI Circuits, Kluwer, 2000, the chapters Fault Modeling and Combinational Circuit Test Generation (redundant faults and their identification by ATPG)
- O. H. Ibarra and S. K. Sahni, Polynomially complete fault detection problems, IEEE Transactions on Computers C-24(3), 242 to 249, 1975, deciding whether a single stuck-at fault is detectable is NP-complete, so proving a fault redundant is coNP-complete
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 4GWDJ7 Edit this page History Report an error Markdown