Scan Chain Reorder
Scan Chain Reorder
Scan Chain Reorder
Sying-Jyan Wang
Department of Computer Science
National Chung-Hsing University
NCHUCS
Outline
Overview
Scan chain order: does it matter?
Cluster-based reordering for lowpower BIST
Experimental results
Future work
NCHUCS
Outline
Overview
Scan chain order: does it matter?
Cluster-based reordering for lowpower BIST
Experimental results
Future work
NCHUCS
Digital Testing
NCHUCS
MANUFACTURED
CIRCUIT
CORRECT
RESPONSES
CIRCUIT RESPONSE
COMPARATOR
NCHUCS
PASS/FAIL
A structural design-for-testability
technique
Storage elements are not directly
accessible
Scan test provides an easy way for
test access
Sequential circuit
Primary
Input
Combinational Logic
Primary
Output
F
F
NCHUCS
Combinational Logic
Primary
Output
F
F
NCHUCS
Combinational Logic
Primary
Output
Scan out
(SO)
F
F
Scan in
(SI)
NCHUCS
Normal input
Scan input
All scan cells are connected into a shift register
(scan chain)
10
Scan Chain
NP-complete
NCHUCS
11
Outline
Overview
Scan chain order: does it matter?
Cluster-based reordering for lowpower BIST
Experimental results
Future work
NCHUCS
12
CUT
1010
1100
NCHUCS
13
Slow
NCHUCS
14
Low-Power Testing
1010
1100
1 transition only
3 transitions
NCHUCS
15
Broadside
16
Broadside test
Primary
Input
Combinational Logic
1
0
1
0
0
1
0
0
0
1
0
0
Primary
Output
F
F
NCHUCS
17
Skewed load
1010
0110
1100
NOT POSSIBLE!!
NCHUCS
0
18
Double latching
Possible solution
19
Outline
Overview
Scan chain order: does it matter?
Cluster-based reordering for
lower-power BIST
Experimental results
Future work
NCHUCS
20
Overview
NCHUCS
21
Overall Architecture
Single scan chain
PRPG
Smoother
TPG
P
R
P
G
ORA
CUT
P
h
a
s
e
s
h
i
f
t
e
r
Smoother
Smoother
.
.
.
.
Smoother
NCHUCS
.
.
.
.
O
R
A
22
Smoother
4-state (2bit)
smoother
n-state smoother
8-state (3bit)
smoother
1/1
1/0
1/1
0/1
S1
S5
S0
1/0
0/1
1/1
0/1
0/0
S2
1/0
0/0
0/0
S4
S0
0/1
0/0
0/0
0/1
1/1
S2
1/0
S0
S1
S3
0/1
S6
0/0
Sn/2
.
.
.
1/0
1/1
0/0
1/1
1/0
1/0
0/0
0/1
.
.
.
1/1
0/1
0/0
0/1
1/1
Sn/21
Sn1
S3
S7
1/0
1/0
1/1
NCHUCS
23
in
C0
C
Divide-by-n/2
Up-Down Counter
NCHUCS
q
T
q
24
2
2
n2 n
25
Fault Coverage
101010100101100
2-bit smoother
000000011110000
3-bit smoother
000000000000000
xxxxx01xxxxxxxx
xxxxx0x1xxxxxxx
NO MATCH!
MATCH
NCHUCS
2-bit smoother
26
NCHUCS
27
Example
Routing s15850
1 cluster
256 clusters
NCHUCS
Silicon Ensemble
28
29
Random order
CL2
CL1
sc4
sc1
sc5
sc2
sc3
NCHUCS
30
Manhattan distance
Horizontal and vertical distances are
independent
Assuming cells are randomly distributed
w
sc1(X1, Y1)
h
sc2(X2, Y2)
(0, 0)
NCHUCS
31
1
h
y1 y2 2 dy2 dy1
h
3
32
Random order
1
l 2 w
2
h N
1
2
3 c
1
H N
W 2 1
c
3 c
wh
W H
3c
Sorted order
1 h N
h
N H W
l 2 2 1 w 2
c
3
c 3c
2 3 c
NCHUCS
33
Random order
N
2W
2
W H
c
Assuming H W, N/c2 1
Sorted order
N 3W
2
H
c
Assuming H W, N/c2 3
NCHUCS
34
Reordering algorithm
NCHUCS
35
Outline
Overview
Scan chain order: does it matter?
Cluster-based reordering for lowpower BIST
Experimental results
Future work
NCHUCS
36
2-bit smoother
NCHUCS
37
3-bit smoother
NCHUCS
38
Experimental ResultsFault
Coverage (1)
2-bit smoother
NCHUCS
39
Experimental ResultsFault
Coverage (2)
3-bit smoother
NCHUCS
40
WL (mm)
-- SE
#cluster
S641
2.71
36
S713
2.67
S953
#cells/cluster
2-bit smoother
3-bit smoother
GS
WL (mm)
Red (%)
GS
WL (mm)
Red (%)
1.50
2.83
-4.24
2.84
-4.58
36
1.50
2.90
-7.93
10
2.90
-7.93
3.30
16
2.81
3.68
-10.33
3.69
-10.57
S1196
4.74
16
2.00
5.08
-6.69
5.09
-6.88
S1423
5.70
36
2.53
6.04
-5.53
6.04
-5.63
S5378
14.57
100
2.14
15.78
-7.67
15.77
-7.61
S9234
22.68
100
2.47
23.21
-2.28
23.75
-4.51
S13207
45.22
256
2.73
44.74
1.06
45.49
-0.59
S15850
53.40
256
2.39
10
51.97
2.68
50.98
4.53
S38417
136.94
576
2.89
123.3
9.96
125.72
8.19
S38584
187.89
576
2.54
10
177.82
5.36
178.14
5.19
NCHUCS
41
Test Efficienct
Circuit
TL
LFSR
2-bit smoother
3-bit smoother
SE
Optimal Cluster
SE
Optimal Cluster
S9234
72848
98.52
95.02
93.46
95.47
83.39
92.00
S13207
40677
97.88
98.90
92.73
97.84
83.64
87.72
S15850
37767
98.31
96.41
93.47
97.69
90.62
92.79
S38417
81984
95.42
97.20
94.79
95.96
93.5
94.47
S38584
82055
98.36
99.76
95.29
99.23
90.35
95.82
Average
97.70
97.46
93.95
97.24
88.3
92.56
NCHUCS
42
#scan
cells
TL
FC
(
%
)
LFSR
2-bit smoother*
FC
FC
(
%
)
(
%
)
SE
Opt.
cluster
3-bit smoother*
AP
Red
(%)
FC
FC
(
%
)
(
%
)
SE
Opt.
cluster
LT-RTPG (k=3)
AP
Red
(%)
FC
(
%
)
AP
Red
(%)
S641
54
4096
97.42
94.19
95.91
57.41
87.31
90.75
85.65
89.64
36.9
S713
54
4096
91.94
87.99
89.88
58.15
83.70
83.70
86.36
93.34
37.8
S953
45
8192
98.99
86.41
97.97
55.47
54.26
80.17
84.95
85.61
58.7
S1196
32
4096
95.49
82.63
92.71
56.58
59.40
78.72
85.40
95.87
30.2
S1423
91
4096
97.89
95.40
98.59
57.25
88.75
96.29
85.09
97.08
49.7
S5378
214
65536
98.96
97.91
98.56
58.51
90.26
95.50
84.75
97.08
44.0
S9234
247
131072
89.67
87.91
91.40
59.37
77.49
86.78
85.53
91.63
55.7
S13207
700
40677
97.42
91.25
96.37
62.67
82.17
86.24
87.39
S15850
611
37767
93.06
90.12
94.43
58.21
87.27
89.44
84.96
S38417
1664
81984
96.67
94.26
95.42
60.73
92.97
93.93
84.93
S38584
1464
82055
95.70
91.05
95.00
60.87
86.14
91.58
84.81
Average
95.75
90.83
95.11
*Full scan; : only state vectors are scanned
58.66
80.88
88.46
85.44
92.89
44.71
NCHUCS
43
Peak Power
PP Red (%)
2-bit smoother
3-bit smoother
S5378
13.31
11.64
S9234
13.75
16.68
S13207
12.65
19.96
S15850
13.60
20.23
S38417
13.78
19.24
S38584
13.12
18.01
Average
13.37
17.63
NCHUCS
44
Outline
Overview
Scan chain order: does it matter?
Cluster-based reordering for lowpower BIST
Experimental results
Future work
NCHUCS
45
Conclusion
Test power
Scan-based delay test
Fault coverage in BIST
Need to consider
NCHUCS
46
Future Work
Test power
Delay test coverage
Wire length
Other issues
NCHUCS
47
THE END
Thank You!
NCHUCS
48