Professional Documents
Culture Documents
Testing Digital Systems II: Scan Architecture
Testing Digital Systems II: Scan Architecture
Scan Architecture
Lecture 3
Structured DFT
Scan Features
Lecture 3
Scan Features
Two approaches
Scan Design
Lecture 3
Lecture 3
T
D0
MUX
d
G1
0
1D
C1
D0
T
&
+
d
D1 1
(a)
(b)
0, 2D
1, 2D
C2
(c)
Lecture 3
CK
D1
CK
D0
D1
T
10
MD Flip-flop Architectures
11
MD Flip-flop Architectures
X1
Xn
X1
Combinational
Circuit
CK
1D
C1
Y1
Z1
Zm
y1
y1
SDI
ys
1D
C1
Z1
Combinational Circuit
Xn
Y1
Y2
ys
0, 2D
0, 2D
0, 2D
1, 2D
1, 2D
1, 2D
G1
Ys
y2
Zm
Ys
C2
G1
C2
SDO
Q
G1
C2
CK
T
(b)
(a)
Lecture 3
12
MD Full-Scan Design
Primary inputs (PIs)
MD Flip-flop Architectures
Lecture 3
14
5.
6.
The yj values shifted out are compared with the good response
values for yj.
15
I1
PI
SCANIN
S1
S2
TC 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
PO
1 0000000
O2
O1
SCANOUT
Dont care
or random
bits
N1
N2
Lecture 3
16
17
Example:
Lecture 3
18
Issues
Depending on the layout, the routing of the test signal T with proper
skew control limits the speed at which scan shift can be done
Scan speeds between 10 MHz to 200 MHz arent uncommon
Another factor that limits the speed at which the scan chains
can be operated is the amount of power dissipation during
scan
19
Approaches
Lecture 3
20
10
Two-port flip-flop
&
L1
+
d
L2
Q
1D
D2
1D
C1
CK1
CK2
D1
D2
1D
C1
C2
CK1
CK2
C1
2D
+
(b)
(a)
21
Z1
Combinational Circuit
Xn
y1
SDI
Y1
y2
Y2
Zm
Ys
ys
1D
1D
1D
2D
2D
2D
C1
C1
C1
C2
C2
C2
SDO
Q
CK
TCK
Lecture 3
22
11
4.
5.
Scan in the test vector yj values via Xn using test clock TCK
Set the corresponding test values on the Xi inputs.
After sufficient time for the signals to propagate through
the combinational network, check the output Zk values.
Apply one clock pulse to the system clock CK to enter the
new values of Yj into the corresponding flip-flops.
Scan out and check the Yj values by pulsing test clock TCK
23
Xn
(L1)
Combinational
Circuit
(L2)
Z1
Zm
1D
C1
1D
C1
y1
1D
C1
1D
C1
ys
Y1
Ys
C0
Copyright 2010, M. Tahoori
Lecture 3
C1
TDS II: Lecture 3
24
12
25
IBM's LSSD
Z1
Combinational Circuit
Xn
y1
Y1
L1-2
L1-1
1D
SDI
2D
Y2
y2
Zm
Ys
ys
L1-s
1D
1D
Q
2D
2D
C1
C1
C1
C2
C2
C2
SDO
CK1
TCK
L2-1
L2-2
L2-s
1D
1D
1D
C1
C1
C1
CK2
Lecture 3
26
13
2.
3.
4.
5.
27
The scanning operation can take place while the system is operating
Lecture 3
28
14
Z1
Combinational Circuit
Xn
y1
Y1
y2
1D
Y2
L2
L1
ys
Ys
Ls
1D
Zm
1D
Q
Q
C1
C1
C1
CK
MUX
s-1
SDO
1
0
SADR
Copyright 2010, M. Tahoori
G
TDS II: Lecture 3
29
Addressable latch
Lecture 3
30
15
Combinational logic
SC
SC
SC
PO
SC
CK
SC
SC
SC
SC
SI
SCK
SO
SC
AI
Rule
violations
Scan design
rule audits
Gate-level
netlist
Combinational
ATPG
Scan hardware
insertion
Scan
netlist
Combinational
vectors
Scan sequence
and test program
generation
Test program
Copyright 2010, M. Tahoori
Lecture 3
Mask data
32
16
Scan Economics
The modified circuit requires shorter test sets than the original circuit
Because only combinational logic test patterns are used
The number of additional pins required for scan test has a direct
relationship with the test time
33
Summary
Advantages:
Rule-based design
Automated DFT hardware insertion
Combinational ATPG
Design automation
High fault coverage; helpful in diagnosis
Hierarchical scan-testable modules are easily combined into
large scan-testable systems
Moderate area (~10%) and speed (~5%) overheads
Disadvantages:
Lecture 3
34
17