Lecture 6: Combinational Atpg
Lecture 6: Combinational Atpg
Design for
for Testability
Testability Theory
Theory and
and Practice
Practice
Lecture
Lecture 6:
6: Combinational
Combinational
ATPG
ATPG
ATPG problem
Example
Algorithms
Multi-valued algebra
D-algorithm
Podem
Other algorithms
ATPG system
Summary
Path sensitization
Stuck-at-0 fault
1
D
0 D
1 D
D
1 D 1
D
0 D
1 D
D
1 D 1
D
1
Test found
Copyright 20 Day-1 PM Lecture 6 9
D-Algorithm
D-Algorithm (Roth
(Roth 1967)
1967)
Use D-algebra
Activate fault
Place a D or D at fault site
Justify all signals
Repeatedly propagate D-chain toward POs through a gate
Justify all signals
Backtrack if
A conflict occurs, or
All D-chains die
Stop when
D or D at a PO, i.e., test found, or
Search exhausted, no test possible
D
1 D
D-frontier = {e, h}
0
D
1 D D
1
D
0
D
1 D
D
1
1 D
0
D
1 D D
1
1
D
0
D
1 D D
1
0 1
D
0
0
D
1 D D
X
1
0 1 D
0 0
0
D
1 D D
S-a-1
(9, 2)
0
0
0
S-a-1
0
(9, 2)
0
0
0
0
0
S-a-1
0
(9, 2)
0
0
0
0
0
S-a-1
0 0
(9, 2)
0
Fault simulator
yes
(1,1) 4
(2,3) 2
(1,1) 4 (4,2) 0
(1,1) 3
(1,1) 3
0 0 D
D
0 s-a-1
00100 00000
PI1=0
00001 00001
PI2=0
PI2 s-a-1
No fault
PI1 s-a-0
PI2 s-a-0