Fault Simulation and test generation Flashcards

1
Q

What is the purpose of fault simulation?

What are the applications?

A

To detect the effect of a fault in a faulty circuit.

  • Determine fault coverage of a test set.(fault grading)
  • Identification of non detectable faults
  • Test compaction(identify redundant test patterns)
  • Fault diagnosis
  • Reliability analysis.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain Fault grading…

A

a test set (set of test patterns) is applied to a circuit under test (CUT) in fault simulation and is evaluated with
respect to all faults considered under the current fault model. The fault coverage of a test set is the percentage of faults detectable by at least one test pattern.

For faults that are not detected by a given test set, an ATPG tool can generate a test pattern or determine that a fault is undetectable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fault Diagnosis

A

Fault simulation is used to create a fault dictionary.
The dictionary maps circuit responses to a set of faults that cause the responses. to locate a fault, the response of the CUT to a test vector can be looked up in the dictionary.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Fault simulation…

A

Is used to study the effects of a fault in a faulty circuit and to decide on appropriate countermeasures.
Resilience and fault tolerance techniques can be validated by using fault simulation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain the steps of the Plain Fault simulation algorithm.

A
For each pattern
    calculate result for the fault free circuit
For each failure
 generate new faulty netlist
 simulation
 compare outputs
end
Computationally costly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Parallel Fault Simulation

A

???

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain Deductive Fault Simulation

A

Identify all faults that can be detected by a pattern in a single pass of fault free simulation.
It stores at each node a list of faults that are detected at that node. At the end the fault list at a primary output contain all faults detected by the pattern.
Example:
An and gate d = a.b.c
With input pattern 011
The faults observed at node d are: d stuck at 1 U all faults observed at node a (but not b and c).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Disadvantages of deductive fault simulation.

A

Not able to handle unknown values.

All nodes have to be simulated, even though not every node is affected by every fault.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain concurrent fault simulation…

A

Faults only affect gates in its transitive fan-out cone.
Lists of faults are stored at the gates, however, augmented with the state of the gate’s inputs and outputs in presence of the fault.(????)
It is an event driven simulation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Parallel Pattern Single Fault Propagation(PPSFP)

A
  • Only a single fault is simulated, for w parallel patterns.
  • First the response for the faulty free circuit is evaluated for the w patterns.
  • Faulty circuit responses are evaluated, one at a time.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does observability of internal nodes help PPSFP.

A

Logic simulation can be confined to regions through which faults can actually propagate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Structural testing…

A

systematically searches for test patterns based on the circuit structure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How can the test generation problem be conceptually described (combinational atpg problem)?

A

find the set of input values such that the output of the xor is a 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Advantages and disadvantages of random test generation.

A

Simple to implement (built in test circuits using lfsr)
Some circuits have random pattern resistant faults which leads to low fault coverage.
Input probability can be biased to target random pattern resistant faults.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Pseudo exhaustive testing…

A

If the number of inputs is large, exhaustive testing is prohibitive.
Pseudo exhaustive partition circuit into input cones to outputs.
Apply exhaustive testing only to each cone.
Still detect every detectable fault.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Explain the steps of deterministic ATPG techniques.

A

pick a fault (e.g. a line stuck at 1)
activate the fault (set this line to 0 in the faulty free circuit)
propagate the fault to the output.
Justify intermediate values.

17
Q

Steps of ATPG using 5 valued logic.

A
v/vf   out
0/0      0
1/1        1
1/0       D
0/1       !D
else      X

Error activation.
Set line to D or !D (opsite value of the fault)
Drive D or !D through the succeeding gate.
Justify line value : set inputs so that the line has the required value.

18
Q

Problem with circuits with re-convergent fanout

A

Calls for Justify and Propagate are not independent of each other.

19
Q

How can the efficiency of sat solver be improved?

A

Reduce the sat size by considering only the support of a fault (cone–of-influence reduction).
Add clauses enforcing necessary conditions.

20
Q

Why is sequential SAT so complex?

A

Test space is up to 2^(n+m) n inputs m ffs

Reachability analysis

21
Q

Summary of combinational ATPG

A

efficient algorithms available

can handle today’s designs (depth of circuit is restricted)