DFT Learning (4): ATPG of DFT (Part 2)

  • ATPG automatic test pattern generation

1. physical defects

  • short and open

  • drc escape

Features such as diversity

It is not easy to test, so the academic community has proposed the concept of fault model, and its specific functions are test generation fault simulation

quality prediction fault diagnosis

In addition to testing, it can also specifically analyze the coverage of the chip

fault model definition: describe the behavior of errors

insert image description here

2. Types of fault models

stcuk at fault model Note that it has nothing to do with technology

insert image description here

The second type is dealy fault model

Behavior representation: for example, 100M can work, 600M can’t work

The delay fault model is divided into two transition delay fault models

path delay fault model

insert image description here
transition delay faults :slow to rise slow to fall

insert image description here
path delay fault: In fact, the transition delay can be regarded as a special path delay

Describe this fault is that the delay of the entire path is greater than the clock cycle

insert image description here
In fact, this kind of fault model is closer to the actual situation, but why not use this kind of model, because there are too many paths on the path, a good model can not only reflect the specific defect characteristics, but also be easy to solve. Obviously, the path delay fault model does not have the second 2 characteristics

IDDQ fault moel rarely used

That is, when the transistor is not working, the leakage current is too large, but now that the size is small, the leakage current itself is relatively large, and this threshold is not easy to set.

insert image description here
Therefore, most of the fault models used now are stuck at and transition delay fault models, and these two models are solved to generate structural test vectors

3. collapsing faults list

Of course we hope to do a complete test exhaustive testing, but in fact it is impossible, too waste of time

insert image description here
For an AND gate, an input stuck at 0 is equivalent to an output stuck at 0,

  • (1) Fault free normal output If the vector detect to fault, then it will be different from the fault free ciruit circuit

  • (2) Can be considered equivalent by the same vector detect to fault

  • (3) For equivalent faults, they are divided into one category, and one category can generate a structural test vector

insert image description here

Suppose the fault free circuit is represented by h(x)

faulty circuit 用 hu(x)

It can be clearly concluded that: Two XORs get 1

insert image description here
Example: a stuclk at 1 to solve ab=01

insert image description here
Example: significantly fewer test vectors after fault collasping

insert image description here

4. atpg tcl and results

insert image description here
insert image description here

5. atpg flow

The generated structural test vectors are all based on the fault model

insert image description here

Select the fault model and solve it based on the D algorithm

insert image description here

6. What is the D algorithm

insert image description here
ATPG general rules

insert image description here
some jargon

insert image description here
Example: If the first AND gate wants to forward D, then the other port must be 1 or d

If the 1 output by the second AND gate is to be sent to backward, then the input must be 1

insert image description here

7. fault simlution

insert image description here
Two parallel fault simulations

parallet pattern single fault propagation

insert image description here
insert image description here
insert image description here

References

Original link: https://blog.csdn.net/gaiyi8666/article/details/80867362

Guess you like

Origin blog.csdn.net/weixin_45264425/article/details/132255275