Professional Documents
Culture Documents
Testing 17
Testing 17
Random
Random Access
Access Scan
Scan Design
Design
Virendra Singh
Indian Institute of Science (IISc)
Bangalore
virendra@computer.org
Orthogonal attack
Random access scan instead of Serial-scan
Hardware overhead? Silicon cost << Testing cost
Mar 7, 2008 E0-286@SERC 2
Random
Random Access
Access Scan
Scan
Saluja et al [ITC’04]
Architecture
CUT
A d d re s s d e c o d e r(y )
F ilp - flo p s
Each FF has unique
address
X-Y Decoder
Select FF to
write/read A d d re s s d e c o d e r(x )
A d d re s s R e g is te r
S c a n - in
Mar 7, 2008 E0-286@SERC 3
Scan
Scan Operation
Operation Example
Example
Scan operation for t2
Test vector
t1 t2
Test PPI(ii) PPO(oi) 1 1 1 1
0 0
t1 00101 00110 1 1
0 0 0 0
t2 00100 00101 i1 CUT
0 o1 i2 CUT
0 o2
0 0
1 1
t3 11010 11010 1 1
0 1 0 0
t4 00111 01011 1 0 0 1
Scan-in
operation
Complete test application
Total number of scan operation = 15
i1 o1 i2 o 2 i3 o 3 i4 o 4
5 1 5 4
No. of s can
Mar 7, 2008 E0-286@SERC 4
Test
Test Vector
Vector Ordering
Ordering
Test data volume and Test application
time is proportional to the random
access scan operation
Goal: Reduce # scan operation
3
V1
5
Test PPI(ii) PPO(oi) 0
3 1 5
t1 00101 00110 1
5
t2 00100 00101 Dummy
t3 11010 11010 V4 2
1
t4 00111 01011 5 4
4
V2 5 V3
5
# Scan operation = 8
4
Mar 7, 2008 E0-286@SERC 5
Hamming
Hamming Distance
Distance Reduction
Reduction
Don’t care values in PPI do not need scan operation
Use Don’t care identification method
Fully specified test vector Æ Vectors w/ X values on targeted bit positions
without loss of fault coverage
1. Before vector ordering: Identify don’t cares in PPI
2. Vector ordering
3. Simulate test vector in order / Fill X’s with previous vectors PPO
4. Identify more X’s on targeted bit in PPI
- odd vector Change allowed
- even vector
5. Repeat 3,4 until no more X’s are identified Targeted
1 1 0
1 1 X
1 1 1 1
X C X X C X
1 1 C 1 X
1 C 0
U U U U
1 1 1 0
1 1 0 0 0
T T T T
0
X 1 X
1 1 01 1
X
0 0 X
X 0 0 1 X
1 1 1 0
V = Aij = {1,5,6,11}
4 4 3 2
2 3
E = {eij | eij is an edge
between vi and vj}
4 1011
0000 1
w(eij ) =
1
The number of
3
4 2 minimum left-shift
0101 2 0110 operation for the
3
transition
Las t ASR contents of 3 from vi to vj .
prev ious tes t v ector
1000K 1000K
900K 900K
800K Serial 800K Serial
700K 700K
RAS RAS
600K 600K
C lo c k s
B its
500K 500K
400K 400K
300K 300K
200K 200K
100K 100K
K K
7s
0s
2s
7s
0s
2s
07
50
32
17
84
07
50
32
17
84
b1
b2
b2
b1
b2
b2
32
58
59
84
85
32
58
59
84
85
s1
s1
s3
s3
s3
s1
s1
s3
s3
s3
Benchmarks Benchmarks