Professional Documents
Culture Documents
Ch8.test Compression
Ch8.test Compression
Test Compression
Acknowledgements:
M i l based
Mainly b d on the
th lecture
l t notes
t off
Chapter 6, “VLSI Test Principles and Architectures”
ch8-1
ch8-2
1
Test Compression
Introduction
Test Stimulus Compression
Test Response Compaction
Industry Practices
Concluding Remarks
ch8-3
Introduction
ch8-4
2
Test Data Volume v.s
v.s.. Gate Count
Tes
70
st Data Volume (G
60
50
40
30
20 Test data volume
10 increases with circuit size
Gb)
0
1 2 4 8 16 32 64
ch8-5
ch8-6
3
Architecture for Test Compression
Compressed
Decompressor
Stimulus Core Compacted
Compactor
Stimulus Response
Response
Low-Cost
ATE
ch8-7
Code-based schemes
Dictionary code (fixed-to-fixed)
Huffman code (fixed-to-variable)
Run-length code (variable-to-fixed)
Golomb code (variable-to-variable)
Linear-decompression-based schemes
Broadcast-scan-based schemes
ch8-8
4
Dictionary Code
Dictionary code (fixed-to-fixed)
ch8-9
Huffman Code
Huffman code (fixed-to-variable)
5
Huffman Tree
(More Frequent Symbol, Shorter Code)
Huffman code (fixed-to-variable)
Bottom-up
construction
ch8-11
Run--Length Code
Run
Run-length code (variable-to-fixed)
ch8-12
6
Golomb Code
Golomb code (variable-to-variable)
ch8-13
ch8-14
7
Test Stimulus Compression
Code-based schemes
Linear-decompression-based schemes
Broadcast-scan-based schemes
ch8-15
Linear--Decompression-
Linear Decompression-Based Schemes
Seed of LFSR: (X1, X2, X3, X4)
Compressed
Test vector
To be applied
From ATE
ch8-16
8
Matrix Form
(Linear--Decompression-
(Linear Decompression-Based Schemes)
Decompressor Compressed Test Vector + Seed (?)
Matrix (?)
Original
Test
Vector
(Given)
ch8-17
ch8-18
9
Hardware for Linear-
Linear-Decompressor
MISR
ch8-19
XOR Network: a 3-
3-to-
to-5 Example
s1 s2 s3
o1 o2 o3 o4 o5
ch8-20
10
Test Stimulus Compression
Code-based schemes
Linear-decompression-based schemes
Broadcast-scan-based schemes
ch8-21
ch8-22
11
ATPG Supporting Broadcast-
Broadcast-Scan
Force ATPG tool to generate patterns for
broadcast scan ((by
y binding
g certain PI’s together)
g )
ch8-23
ch8-24
12
Broadcast--Scan Based Scheme
Broadcast
First configuration is: 1->{2,3,6}, 2->{7}, 3->{5,8}, 4->{1,4}
Second configuration
g is: 1->{1,6},
, , 2->{2,4},
, , 3->{3,5,7,8}
, , ,
ch8-25
O i i l Test
Original T t Pattern
P tt
13
Broadcast--Scan Based Scheme
Broadcast
ch8-27
ch8-28
14
Test Response Compaction
ch8-29
ch8-30
15
Zero--Aliasing Output Compaction
Zero
ch8-31
Faulty response
Fault-free 00 01
3-colorable
ch8-32
16
Architecture of X-
X-Compactor
X-compactor with 8 inputs and 5 outputs
ch8-33
X-compact Matrix
Out1 Out2 Out3 Out4 Out5
ch8-34
17
X-Blocking or Masking Techniques
ch8-35
X-Blocking by Selection
Illustration of the X-blocking scheme
ch8-36
18
X-Masking by Masking Logic
‘X’
‘1’
Final Output
To ATE
ch8-37
X-Tolerance by
Counter--Based Output Selection
Counter
X X
Dynamic path means counter operation can be changed at any scan cycle
ch8-38
19
X-Impact-
Impact-Aware ATPG
Concept
Simply use ATPG to algorithmically handle the
impact of residual X’s on the space compactor
Without adding any extra circuitry
ch8-39
ch8-40
20
Output--Compactor-
Output Compactor-Aware ATPG
f2/1
fault could be masked as propagated to p
Block aliasing by assigning a to ‘0’
ch8-41
Time Compaction
Time compaction
A time compactor uses sequential logic to
compact test responses
MISR is most widely adopted
n-stage MISR can be described by specifying a
characteristic polynomial of degree n
ch8-42
21
Multiple--Input Signature Register
Multiple
ch8-43
ch8-44
22
Industry Practices
OPMISR+
Embedded
E b dd d Deterministic
D t i i ti Test
T t
Virtual Scan and UltraScan
Adaptive Scan
ETCompression
ch8-45
ch8-46
23
General Scan Architecture for OPMISR+
ch8-47
EDT ((TestKompression
TestKompression)) Architecture
ch8-48
24
Concluding Remarks
Test compression is
An effective method for reducing test data volume
and test application time with relatively small cost
An effective test structure for embedded hard cores
Easy to implement and capable of producing high-
quality tests
Successful as part of standard design flow
ch8-49
25