l Random ATG
♦ Weighted random
♦ RAPS
l Test Compaction
D-Algorithm
l Roth (1966) proposed a D-algebra and a
deterministic ATG algorithm.
♦ D: good value 1 / faulty value 0
♦ D: good value 0 / faulty value 1
5-valued algebra:
VG / VF
0/0 0
1/1 1
1/0 D
0/1 D
-/X,X/- X
Fanout-Free Circuit
m s-a-1
X
no conflicts with
implications or
justifications
Propagate (a, D)
Propagate D on line a
b
a1 d
D select one path i ∈ {a1,a2}
a a2 Propagate (i, D)
e
c
Test Generation
l What if we make “wrong” selection (decision)?
l What if justify (a=1) fails?
l What if propagate fails?
Set g=0
justify (g=0)
g g/1 select f --> justify (f=0)
a X justify (d=1)
f justify (c=1)
i propagate (g, D)
d e justify (h, 0)
c h select e
b justify (e=0)
justify (c=0) X
ECE 1767 University of Toronto
Backtracking
l Conflicts can occur in circuits with fanout and
reconvergence.
♦ If a decision causes inconsistency, then we need to
backtrack.
♦ A backtracking strategy is simply a systematic
exploration of all decisions (choices).
♦ Conflict/inconsistency/contradiction
s An already-assigned value is different from the value
implied by the last decision.
♦ Bounding conditions
s There is no D left in the circuit.
Choice in D-Propagation
d
G2
G5 f1
a D
b G1 X choice
c s-a-1
G3 G6 f2
G4
e d
e p
f
h X
s-a-1
D
ECE 1767 University of Toronto