Test vector compression in Digital Testing

28
Test Vector Compression Presented to: Prof.Dr. : Ihab Talkhan by Eng. Amr Abd El latief Abd El Al Eng. Mohammad Ahmed Hamed

description

its a survey on the Topic : Test vector compression in Digital Testing I hope any one use it to ask God to my parents ,thanks

Transcript of Test vector compression in Digital Testing

Page 1: Test vector compression in Digital Testing

Test VectorCompression

Presented to:

Prof.Dr. : Ihab Talkhanby Eng. Amr Abd El latief Abd El Al Eng. Mohammad Ahmed Hamed 

Page 2: Test vector compression in Digital Testing

AgendaIntroduction Benefits of data Compression Why does compression works (on testing

vector)Test vector compression schemes CategoriesData compression techniques Hufman Coding method

Page 3: Test vector compression in Digital Testing

Agenda Geometric methods.

Conclusion

References

Page 4: Test vector compression in Digital Testing

Introduction • Test Levels: System Testing, Chip Testing

Board Testing.

• Increasing integration density results in:•larger designs •more scan cells •more faults.

Page 5: Test vector compression in Digital Testing

Introduction (Cont.)• external testing: involves storing all test vectors

and test response on an external tester.

• Tester Challenges:•limited speed• memory,•I/O channels • Bandwidth.

Page 6: Test vector compression in Digital Testing

Introduction (Cont.)Overcoming approaches :

stand-alone BIST:But it has a low fault detection probability

due to RPR Faultshybrid BIST:

use a combination of BIST and test vectorstest data compression. (Described

Here)

Page 7: Test vector compression in Digital Testing

DataCompression Benefits• First,

it reduces the amount of data stored on the tester,

•Second,

it can reduces the test time for a given test data bandwidth

Page 8: Test vector compression in Digital Testing

TestVectors Characteristics

Test vectors are highly compressible because typically only 1% to 5% of their bits are specified (care)bits. The rest are don’t-cares.

because faults are structurally related in the circuit test cubes also tend to be highly correlated

Page 9: Test vector compression in Digital Testing

The compression technique categories

1 . Run-length based codes.

2 . Dictionary codes.

3 . Statistical codes (Huffman coding)

4 . Linear decompression.

5 . Broadcast scan methods

6 . Geometric methods.

Page 10: Test vector compression in Digital Testing

Run-length-based codes• simple form of data compression• runs of data means line of data • Good method for data that contains many

such runs

Page 11: Test vector compression in Digital Testing

Run-length-based codes

Note:Careful ordering of the test cubes maximizes the number

of 0s in the difference vectors, thereby improving the effectiveness of run-length coding.

Page 12: Test vector compression in Digital Testing

Dictionary codes.1 -partitions the original data into n-bit

symbols.2 - Uses a dictionary to store each unique

symbol.3 - encoding each n-bits using a b-bit code

word corresponds to the symbol’s index in the

dictionary (b<n)

Page 13: Test vector compression in Digital Testing

Dictionary codes.

Page 14: Test vector compression in Digital Testing

Hoffman Method Example

Page 15: Test vector compression in Digital Testing

Huffman Algorithm initialization : put all symbols on a list sorted according to their frequency count

repeat until the list has only one symbol left:

from the list pick two symbols with the lowest frequency counts form a Huffman sub-tree that has these two symbols as a child nodes

and create a parent node

Assign the sum of the children's freuency counts to the parent and insert it into the list such that order is maintained

Delete the children from the list Assign a code word for each leaf based on the path from the root

Page 16: Test vector compression in Digital Testing

Apply on the Test Vector pattern

Page 17: Test vector compression in Digital Testing

Hoffman Method Implementation

Page 18: Test vector compression in Digital Testing

Linear decompression The technique is based on a linear decompressor which consists of wires,XOR gates

and flip-flops. It has two types a) Static reseeding Compute a seed for each cube, the seed is loaded in the LFSR and it produces the

test vectors, so we store only the seed. it has two disadvantages - It must be as large as the test vector length. - The circuit is idle during the vector generation b) Dynamic reseeding Solves the problem of static reseeding, it uses a network that expands the output to

fill n output scan chains while creating the result

Page 19: Test vector compression in Digital Testing

Linear decompression

Page 20: Test vector compression in Digital Testing

Broadcast scan method Uses the fact that many bits are don't care, it can be either

independent or dependent

Independent case --------------- 1) Apply ATPG TO Both circuits. 2) NOw we have a set of patterns to detect CUT-2 and part of

CUT-1 Faults. 3) Apply the don't care bits to detect CUT-1 Faults 4) NOw we have a `minimized set` with appropriate fault

coverage/

Page 21: Test vector compression in Digital Testing

Dependent Broadcast scan method To allow the compression of the test vectors and to avoid the problem of equal cells

in the scan chain, we apply Illinois scan based compression technique. In this technique instead of applying the test output of the ATPG to the scan chain,

we partition it to few partitions, we then either apply it as (broadcast - in parallel) and take the output of all stages, or apply it serially(the output of stage i is the input of stage i+1) and so on, based on the partitioning mechanism this technique is divided into

1) Static reconfiguration (uses a multiplexer to get the set of scan chains) 2) Dynamic reconfiguration (The configuration change every slice which is more

flexible) Illionis scan uses two modes of operations: - Broadcast : Broadcasts one tester channel to multiple chains - Scan : applies them in serial

The configuration can be done using a multiplexer to choose which channels the tester channel will broadcast to.

Page 22: Test vector compression in Digital Testing

Dependent Broadcast scan method

Page 23: Test vector compression in Digital Testing

Geometric method The geometric method uses a loseless compression technique. It depends on four main shapes: point - line - traingle - rectangle The algorithm goes like this 1) Start with a random test vector as a start point 2) Sort all of the other vectors depending on their correlation with the first

vector. 3) Use shape covering algorithm to choose the largest shape that cover a

group of zeros or ones. 4) Choose the optimal result of covering shapes 5) Encode the results

Page 24: Test vector compression in Digital Testing

Geometric method(Cont.)

Page 25: Test vector compression in Digital Testing

Comparison of different techniques While most techniques discussed have good performance on

commercial use there are few drawbacks

1) Linear decompression has the simplest structure (only XOR Gates and registers) for cases of multiple scan chains we need to compress/decompress each chain independently which takes more time and not parallelizable.

2) Broadcast scan is also simple to implement, but it has a redundancy issue (i.e. many scan chains may have the same bit value at the same location)

3) Geometric method is less efficient and only experimentally tested, and require more computation than other methods

Page 26: Test vector compression in Digital Testing

References [1] Survey of Test Vector Compression Techniques,Nur A. Touba [ 2]An Efficient Test Vector Compression Scheme Using Selective Huffman Coding 3] Using a Single Input to Support Multiple Scan Chains,Kuen-Jong Lee Jih-Jeen

Chen,Cheng-Hua Huang

[4] LFSR-Based Test-Data Compression with Self-Stoppable Seeds, M. Koutsoupia E. Kalligeros X. Kavousianos D. Nikolos

[5] An Efficient Test Vector Compression Technique Based on Geometric Shapes , Saif al Zahir, Aiman El-Maleh, and Esam Khan

[6] Reconfiguration Technique for Reducing Test Time and TestData Volume in Illinois Scan Architecture Based Designs, Amit R. Pandey† and Janak H. Patel

Page 27: Test vector compression in Digital Testing

Questions

Page 28: Test vector compression in Digital Testing

thanks