Sunteți pe pagina 1din 7

9/19/00

ATPG and Fault Coverages, Lecture 6

Jump to first page

Podem - Path oriented decision making In D-algorithm


x

0 a = 0, or b = 0, or a=b=0

b x

decisions are made at J-fronters decisions are made at PIs

a b c 1 d f=0 c=1 1 f 0 0

In Podem
x

Li-C. Wangs Lecture

Jump to first page

 $

 "

9/19/00

Multi-Backtrackings
x

1 1 1 1

In Podem, only one path is traced back at a time In FAN, multiple paths are traced back simultaneously

Decisions made at Headlines


x

decision made here

In Podem, a decision is made at a PI In FAN, a decision can be made at a headline

k tree circuit

Li-C. Wangs Lecture

Jump to first page

s s

Convert ATPG problem into a SAT instance Use an existing SAT tool
f

=1?

a c b (c+a)(c+b)(c+a+b)

g (a+b)(a+b) a c b (c+a)(c+b)(c+a+b) a b c

(c+a)(c+b)(c+a+b)

Li-C. Wangs Lecture

Jump to first page

"

6 9

3 8

# &

$ 8

# &

2 7

'

&

9/19/00

In general, to solve an NP-complete problem with backtracking


x

branching - a set of potential solutions, represented by a node, can be partitioned into mutually exclusive sets (children nodes). Bounding - an algorithm is available to determine the lower bound on the cost of solution
3 3

In ATPG, this can mean no solution (= infinite cost) You will see in many algorithms, they try to prove as early as possible that a branch is a dead end so avoid unnecessary backtrackings.

Li-C. Wangs Lecture

Implication
x

x
s

determine necessary assignment as early as possible determine a conflict as early as possible recursively try all the combinations find out necessary assignments prove that there is no solution space underneath

Recursive learning
x x x

Li-C. Wangs Lecture

"

3 1

D A

! #

@ H

" G (

A 3 !

C F 4

B A

3 B

A F E

1 0

@ $ )

Jump to first page

Jump to first page

9/19/00

k=1

Li-C. Wangs Lecture

Jump to first page

n=0

Li-C. Wangs Lecture

Jump to first page

c c

b b

 

a a

 

` `

 

Y Y

X X

 

W W

V V

 

U U

 

T T

 

S S

 

9/19/00

Search for a solution

prove no solution

In traditional ATPGs, redundant faults cause problems


x

since ATPG is trying to look for a solution while there is not any

By alternating strategies, faults can be proved redundant quickly


Jump to first page

Li-C. Wangs Lecture

100% FC

# of patterns
s

Lots of faults are detected by first few patterns


x x

many easy faults no need to waste time on them

ATPG spends most of the time on the hard faults


Jump to first page

Li-C. Wangs Lecture

I 3

# !

4 F 4

1 B

4 # 4 #

7 # d 2 F 4 4 E A D 3 A 1 % # 4 E &

9/19/00

Step 1 - Random
x x x

throw in a lots of patterns (eg. 16 at a time) fault simulate the circuit until no fault can be detected in i trials for each undetected fault
3 3 3

Step 2 - Deterministic
x

perform deterministic ATPG fault simulate remaining undetected faults removed fortuitously detected faults pattern compression in general, another NP-complete problem
Jump to first page

reverse fault simulation of all patterns


3 3

Li-C. Wangs Lecture

s s

Fault Coverage FC = # detected faults/ # faults Defect Coverage DC = # of detected defects/# defects William-Brown model
x

DL = 1 - Y (1-DC) DLest = 1 - Y (1-FC) ex. FC=0.99, Y=0.85, DL = 1623 PPM DLest DL


Jump to first page

In practice, no one knows what DC is


x x

Since FC DC
x

Li-C. Wangs Lecture

9 ! F 4 A

8 D

& E A

5 2

0 h

4 g 4 F E

7 ! A e D 8 f

9/19/00

To detect an andbridging
x

a and b good 1 c bad

detect a s-a-0 and b = 0 detect b s-a-0 and a = 0

To detect a transition fault on c


x x

pattern 1 : c = 1 pattern 2 : detect c s-a-1

If defects are not stuck-at, detecting them relies on fortuitous detection

Li-C. Wangs Lecture

Jump to first page

S-ar putea să vă placă și