ee141 vlsi test principles and architectures ch. 6 - test compression – p. 1 1 chapter 6 test...
TRANSCRIPT
EE1411
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 1
Chapter 6Chapter 6
Test CompressionTest Compression
EE1412
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 2
What is this chapter about?What is this chapter about?
Introduce the basic concepts of test data compression
Focus on stimulus compression and response compaction techniques
Present and discuss commercial tools on test compression
EE1413
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 3
Test CompressionTest Compression
Introduction Test Stimulus Compression Test Response Compaction Industry Practices Concluding Remarks
EE1414
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 4
IntroductionIntroduction
Why do we need test compression? Test data volume Test time Test pins
Why can we compress test data? Deterministic test vector has “don’t care” (X’s)
EE1415
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 5
(Source: Blyler, Wireless System Design, 2001)
1 2 4 8 16 32 640
10
20
30
40
50
60
70
Gate count (Mg)
Volum
e of test data (Gb)
Test data volume increases with circuit size
Test data volume v.s. gate countTest data volume v.s. gate count
EE1416
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 6
Test compression categoriesTest compression categories
Test Stimulus Compression Code-based schemes Linear-decompression-based schemes Broadcast-scan-based schemes
Test Response Compaction Space compaction Time compaction Mixed time and space compaction
EE1417
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 7
Architecture for test compressionArchitecture for test compression
Core
Deco
mp
ressor
Co
mp
actor
Stimulus Response
Compacted Response
Compressed Stimulus
Low-CostATE
EE1418
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 8
Test stimulus compressionTest stimulus compression
Code-based schemes Linear-decompression-based schemes Broadcast-scan-based schemes
EE1419
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 9
Test stimulus compressionTest stimulus compression
Code-based schemes Dictionary code (fixed-to-fixed) Huffman code (fixed-to-variable) Run-length code (variable-to-fixed) Golomb code (variable-to-variable)
EE14110
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 10
Code-based schemesCode-based schemes
Dictionary code (fixed-to-fixed)
EE14111
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 11
Code-based schemesCode-based schemes
Huffman code (fixed-to-variable)
EE14112
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 12
Code-based schemesCode-based schemes
Huffman code (fixed-to-variable)
EE14113
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 13
Code-based schemesCode-based schemes
Run-length code (variable-to-fixed)
EE14114
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 14
Code-based schemesCode-based schemes
Golomb code (variable-to-variable)
EE14115
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 15
Code-based schemesCode-based schemes
Golomb code (variable-to-variable)
EE14116
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 16
Test stimulus compressionTest stimulus compression
Linear-decompression-based schemes Combinational linear decompressors Fixed-length sequential linear decompressors Variable-length sequential linear decompressors Combined linear and nonlinear decompressors
EE14117
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 17
Linear-decompression-based schemesLinear-decompression-based schemes
EE14118
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 18
Linear-decompression-based schemesLinear-decompression-based schemes
EE14119
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 19
Linear-decompression-based schemesLinear-decompression-based schemes
EE14120
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 20
Linear-decompression-based schemesLinear-decompression-based schemes
Combinational linear decompressors
XOR Network
XOR Network
MISR
EE14121
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 21
s1 s2 s3
o1 o2 o3 o4 o5
XOR network: a 3-to-5 exampleXOR network: a 3-to-5 example
EE14122
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 22
Linear-decompression-based schemesLinear-decompression-based schemes
Fixed-length sequential linear decompressors
EE14123
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 23
Linear-decompression-based schemesLinear-decompression-based schemes
Variable-length sequential linear decompressors Can vary the number of free variables Better encoding efficiency More control logic and control information
EE14124
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 24
Linear-decompression-based schemesLinear-decompression-based schemes
Combined linear and nonlinear decompressors Specified bits tend to be highly correlated Combine linear and nonlinear decompression together
can achieve greater compression than either alone
EE14125
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 25
Test stimulus compressionTest stimulus compression
Broadcast-scan-based schemes Broadcast scan Illinois scan Multiple-input broadcast scan Reconfigurable broadcast scan Virtual scan
EE14126
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 26
Broadcast-scan-based schemesBroadcast-scan-based schemes
Broadcast scan
EE14127
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 27
Generate patterns for broadcast scan Generate patterns for broadcast scan
Force ATPG tool to generate patterns for broadcast scan
EE14128
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 28
Broadcast scan for a pipelined circuitBroadcast scan for a pipelined circuit
Broadcast scan for a pipelined circuit
EE14129
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 29
Broadcast-scan-based schemesBroadcast-scan-based schemes
Illinois scan architecture
(a) Broadcast mode
(b) Serial chain mode
EE14130
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 30
Broadcast-scan-based schemesBroadcast-scan-based schemes
Reconfigurable broadcast scan Reduce the number of channels that are required Static reconfiguration
– The reconfiguration can only be done when a new pattern is to be applied
Dynamic reconfiguration– The configuration can be changed while scanning in a
pattern
EE14131
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 31
Broadcast-scan-based schemesBroadcast-scan-based schemes
First configuration is: 1->{2,3,6}, 2->{7}, 3->{5,8}, 4->{1,4} Other configuration is: 1->{1,6}, 2->{2,4}, 3->{3,5,7,8}
EE14132
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 32
Broadcast-scan-based schemesBroadcast-scan-based schemes
Block diagram of MUX network
EE14133
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 33
Broadcast-scan-based schemesBroadcast-scan-based schemes
Virtual scan Pure MUX and XOR networks are allowed No need to solve linear equations Dynamic compaction can be effectively utilized
during the ATPG process Very little or no fault coverage loss
EE14134
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 34
Test response compactionTest response compaction
Space compaction Time compaction Mixed time and space compaction
EE14135
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 35
Test response compactionTest response compaction
EE14136
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 36
Taxonomy of various response compaction schemesTaxonomy of various response compaction schemes
Compaction SchemesI II III
Space Time CFS CFI Linearity Nonlinearity
Zero-aliasing Compactor [Chakrabarty 1998] [Pouya 1998]
Parity Tree [Karpovsky 1987]
Enhanced Parity Tree [Sinanoglu 2003]
X-Compact [Mitra 2004]
q-Compactor [Han 2003]
Convolutional Compactor [Rajski 2005]
OPMISR [Barnhart 2002]
Block Compactor [Wang 2003]
i-Compact [Patel 2003]
Compactor for SA [Wohl 2001]
Scalable Selector [Wohl 2004]
EE14137
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 37
Test response compactionTest response compaction
Space compaction Zero-aliasing linear compaction X-compact X-blocking X-masking X-impact
EE14138
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 38
Space compactionSpace compaction
Zero-aliasing linear compaction
EE14139
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 39
An example of response graphAn example of response graph
EE14140
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 40
Space compactionSpace compaction
X-compact X-tolerant response compaction technique X-compact matrix Error masking
EE14141
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 41
Space compactionSpace compaction
X-compact
EE14142
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 42
Space compactionSpace compaction
X-compactor with 8 inputs and 5 outputs
EE14143
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 43
X-compact MatrixX-compact Matrix
S=
SC1
SC2
SC3
SC4
SC5
SC6
SC7
SC8
O=
O1
O2
O3
O4
O5
M X S = OT
EE14144
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 44
Space compactionSpace compaction
X-blocking (or X-bounding) X’s can be blocked before reaching the response
compactor Can ensure that no X’s will be observed May result in fault coverage loss Add area overhead and may impact delay
EE14145
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 45
Space compactionSpace compaction
Illustration of the x-blocking scheme
EE14146
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 46
Space compactionSpace compaction
X-masking X’s can be masked off right before the response
compactor Mask data is required to indicate when the
masking should take place Mask date can be compressed
– Possible compression techniques are weighted pseudo-random LFSR reseeding or run-length encoding
EE14147
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 47
Space compactionSpace compaction
An example of X-masking circuit
EE14148
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 48
Space compactionSpace compaction
X-impact Simply use ATPG to algorithmically handle the
impact of residual x’s on the space compactor Without adding any extra circuitry
EE14149
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 49
Space compactionSpace compaction
Handling of X-impact
EE14150
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 50
Space compactionSpace compaction
Handling of aliasing
EE14151
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 51
Test response compactionTest response 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
EE14152
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 52
Multiple-input signature register (MISR)Multiple-input signature register (MISR)
EE14153
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 53
Test response compactionTest response compaction
Mixed time and space compaction
EE14154
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 54
Industry practicesIndustry practices
OPMISR+ Embedded Deterministic Test Virtual Scan and UltraScan Adaptive Scan ETCompression
EE14155
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 55
Industry solutions categoriesIndustry solutions categories
Linear-decompression-based schemes Two steps
– ETCompression, LogicVision– TestKompress, Mentor Graphics– SOCBIST, Synopsys
Broadcast-scan-based schemes Single step
– SPMISR+, Cadence– VirtualScan and UltraScan, SynTest– DFT MAX, Synopsys
EE14156
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 56
Industry practicesIndustry practices
OPMISR+ Cadence Roots in IBM ‘s logic BIST and ATPG technology
EE14157
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 57
General scan architecture for OPMISR+ General scan architecture for OPMISR+
EE14158
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 58
Industry practicesIndustry practices
Embedded Deterministic Test (TestKompress) Mentor Graphics First commercially available on-chip test
compression product
EE14159
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 59
EDT (TestKompression) architectureEDT (TestKompression) architecture
EE14160
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 60
TestKompress stimuli compressionTestKompress stimuli compression
EE14161
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 61
TestKompress response compactionTestKompress response compaction
EE14162
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 62
Industry practicesIndustry practices
Virtual Scan and UltraScan SynTest First commercial product based on the broadcast
scan scheme using combinational logic for pattern decompression
EE14163
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 63
VirtualScan architectureVirtualScan architecture
EE14164
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 64
UltraScan architectureUltraScan architecture
EE14165
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 65
Industry practicesIndustry practices
Adaptive Scan Synopsys Designed to be the next generation scan
architecture
EE14166
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 66
Adaptive scan architectureAdaptive scan architecture
EE14167
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 67
Industry practicesIndustry practices
ETCompression LogicVision Built upon embedded logic test (ELT) technology
EE14168
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 68
ETCompression architectureETCompression architecture
EE14169
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 69
Summary of industry practicesSummary of industry practices
MISR: multiple-input signature register
MUX: multiplexers
PRPG: pseudo-random pattern generator
TDDM: time-division demultiplexer
TDM: time-division multiplexers
XOR: exclusive-OR
EE14170
VLSI Test Principles and Architectures Ch. 6 - Test Compression – P. 70
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 Successfully as part of design flow
Need to unify different compression architectures
Concluding remarksConcluding remarks