A Hybrid Test Compression Technique for Efficient Testing of Systems-on-a-Chip Aiman El-Maleh King Fahd University of Petroleum & Minerals, Dept. of Computer.

Slides:



Advertisements
Similar presentations
Improving Compression Ratio, Area Overhead, and Test Application Time in System-on-a-chip Test Data Compression/Decompression Paul Theo Gonciari*, Bashir.
Advertisements

MP3 Optimization Exploiting Processor Architecture and Using Better Algorithms Mancia Anguita Universidad de Granada J. Manuel Martinez – Lechado Vitelcom.
Michael Alves, Patrick Dugan, Robert Daniels, Carlos Vicuna
Improving BER Performance of LDPC Codes Based on Intermediate Decoding Results Esa Alghonaim, M. Adnan Landolsi, Aiman El-Maleh King Fahd University of.
Optimal Partitions of Strings: A new class of Burrows-Wheeler Compression Algorithms Raffaele Giancarlo Marinella Sciortino
Aiman El-Maleh, Ali Alsuwaiyan King Fahd University of Petroleum & Minerals, Dept. of Computer Eng., Saudi Arabia Aiman El-Maleh, Ali Alsuwaiyan King Fahd.
An Efficient Test Relaxation Technique for Synchronous Sequential Circuits Aiman El-Maleh and Khaled Al-Utaibi King Fahd University of Petroleum & Minerals.
RGB Intensity Based Variable- Bits Image Steganography 2008 IEEE Asia-Pacific Services Computing Conference (APSCC 2008) 1 st International Workshop on.
SWE 423: Multimedia Systems
Finite State Machine State Assignment for Area and Power Minimization Aiman H. El-Maleh, Sadiq M. Sait and Faisal N. Khan Department of Computer Engineering.
CSCI 3 Chapter 1.8 Data Compression. Chapter 1.8 Data Compression  For the purpose of storing or transferring data, it is often helpful to reduce the.
Spatial and Temporal Data Mining
An Arithmetic Structure for Test Data Horizontal Compression Marie-Lise FLOTTES, Regis POIRIER, Bruno ROUZEYRE Laboratoire d’Informatique, de Robotique.
Improving the Efficiency of Memory Partitioning by Address Clustering Alberto MaciiEnrico MaciiMassimo Poncino Proceedings of the Design,Automation and.
Efficient Test Compaction for Combinational Circuits Based on Fault Detection Count- Directed Clustering Aiman El-Maleh and Saqib Khurshid King Fahd University.
Test Set Compaction for Sequential Circuits Computer Engineering, KFUPM Test Set Compaction for Sequential Circuits based on Test Relaxation M.S Thesis.
A Static Test Compaction Technique for Combinational Circuits Based on Independent Fault Clustering Yahya E. Osais & Aiman H. El-Maleh King Fahd University.
A Geometric-Primitives-Based Compression Scheme for Testing Systems-on-a-Chip Aiman El-Maleh 1, Saif al Zahir 2, Esam Khan 1 1 King Fahd University of.
Interconnect Efficient LDPC Code Design Aiman El-Maleh Basil Arkasosy Adnan Al-Andalusi King Fahd University of Petroleum & Minerals, Saudi Arabia Aiman.
Fundamentals of Multimedia Chapter 7 Lossless Compression Algorithms Ze-Nian Li and Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
Department of Computer Engineering University of California at Santa Cruz Data Compression (2) Hai Tao.
1 AN EFFICIENT TEST-PATTERN RELAXATION TECHNIQUE FOR SYNCHRONOUS SEQUENTIAL CIRCUITS Khaled Abdul-Aziz Al-Utaibi
EEE377 Lecture Notes1 EEE436 DIGITAL COMMUNICATION Coding En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK) Room 2.14.
Data Compression Basics & Huffman Coding
Huffman Coding Vida Movahedi October Contents A simple example Definitions Huffman Coding Algorithm Image Compression.
Seok-Won Seong and Prabhat Mishra University of Florida IEEE Transaction on Computer Aided Design of Intigrated Systems April 2008, Vol 27, No. 4 Rahul.
Chapter 2 Source Coding (part 2)
Algorithm Design & Analysis – CS632 Group Project Group Members Bijay Nepal James Hansen-Quartey Winter
296.3Page 1 CPS 296.3:Algorithms in the Real World Data Compression: Lecture 2.5.
Binary Image Compression via Monochromatic Pattern Substitution: A Sequential Speed-Up Luigi Cinque and Sergio De Agostino Computer Science Department.
: Chapter 12: Image Compression 1 Montri Karnjanadecha ac.th/~montri Image Processing.
1/20 A Novel Technique for Input Vector Compression in System-on-Chip Testing Student: Chien Nan Lin Satyendra Biswas, Sunil Das, and Altaf Hossain,” Information.
Compression.  Compression ratio: how much is the size reduced?  Symmetric/asymmetric: time difference to compress, decompress?  Lossless; lossy: any.
ICS 220 – Data Structures and Algorithms Lecture 11 Dr. Ken Cosh.
ALGORITHMS FOR ISNE DR. KENNETH COSH WEEK 13.
Lossless Compression CIS 465 Multimedia. Compression Compression: the process of coding that will effectively reduce the total number of bits needed to.
COMPRESSION. Compression in General: Why Compress? So Many Bits, So Little Time (Space) CD audio rate: 2 * 2 * 8 * = 1,411,200 bps CD audio storage:
Reducing Test Application Time Through Test Data Mutation Encoding Sherief Reda and Alex Orailoglu Computer Science Engineering Dept. University of California,
1 Compacting Test Vector Sets via Strategic Use of Implications Kundan Nepal Electrical Engineering Bucknell University Lewisburg, PA Nuno Alves, Jennifer.
Reversible hiding in DCT-based compressed images Authors:Chin-Chen Chang, Chia-Chen Lin, Chun-Sen Tseng and Wei-Liang Tai Adviser: Jui-Che Teng Speaker:
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
Abdullah Aldahami ( ) April 6,  Huffman Coding is a simple algorithm that generates a set of variable sized codes with the minimum average.
Lecture 4: Lossless Compression(1) Hongli Luo Fall 2011.
CS654: Digital Image Analysis Lecture 34: Different Coding Techniques.
Jing Ye 1,2, Xiaolin Zhang 1,2, Yu Hu 1, and Xiaowei Li 1 1 Key Laboratory of Computer System and Architecture Institute of Computing Technology Chinese.
An Evaluation of Partitioners for Parallel SAMR Applications Sumir Chandra & Manish Parashar ECE Dept., Rutgers University Submitted to: Euro-Par 2001.
Hanyang University Hyunok Oh Energy Optimal Bit Encoding for Flash Memory.
Bahareh Sarrafzadeh 6111 Fall 2009
Chapter 3 Data Representation. 2 Compressing Files.
Reporter :Chien-Wen Huang Date : Information Sciences, Vol. 176, No. 22, Nov. 2006, pp Received 29 December 2004; received in revised.
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 11 COMPRESSION.
Efficient Processing of Updates in Dynamic XML Data Changqing Li, Tok Wang Ling, Min Hu.
ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission ( ) Image Compression Review of Basics Huffman coding run length coding Quantization.
SEAC-2 J.Teuhola Coding-Theoretic Foundations Source alphabet S  Target alphabet {0, 1} Categories of source encoding: 1. Codebook methods:
Lecture 12 Huffman Coding King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science Department.
Efficient Huffman Decoding Aggarwal, M. and Narayan, A., International Conference on Image Processing, vol. 1, pp. 936 – 939, 2000 Presenter :Yu-Cheng.
IMAGE PROCESSING IMAGE COMPRESSION
EE465: Introduction to Digital Image Processing
Instruction Packing for a 32-bit Stack-Based Processor Witcharat Lertteerawattana and Prabhas Chongstitvatana Department of Computer Engineering Chulalongkorn.
Data Compression.
Image Processing, Leture #16
Esam Ali Khan M.S. Thesis Defense
Distributed Compression For Binary Symetric Channels
Image Compression Purposes Requirements Types
Aiman H. El-Maleh Sadiq M. Sait Syed Z. Shazli
MS Thesis Defense Presentation by Mustafa Imran Ali COE Department
Reseeding-based Test Set Embedding with Reduced Test Sequences
Efficient Huffman Decoding
Test Data Compression for Scan-Based Testing
Presentation transcript:

A Hybrid Test Compression Technique for Efficient Testing of Systems-on-a-Chip Aiman El-Maleh King Fahd University of Petroleum & Minerals, Dept. of Computer Eng., Saudi Arabia Aiman El-Maleh King Fahd University of Petroleum & Minerals, Dept. of Computer Eng., Saudi Arabia

2 OutlineOutline n Motivation n Test compression techniques n Geometric Shapes Compression Technique n FDR Compression Technique n EFDR Compression Technique n Hybrid Compression Technique n Experimental results n Conclusions n Motivation n Test compression techniques n Geometric Shapes Compression Technique n FDR Compression Technique n EFDR Compression Technique n Hybrid Compression Technique n Experimental results n Conclusions

3 MotivationMotivation n With today’s technology, complete systems with millions of transistors are built on a single chip n Increasing complexity of systems-on-a-chip and its test data size increased cost of testing n Test data must be stored in tester memory and transferred from tester to chip n Cost of automatic test equipment increases with increase in speed, channel capacity, and memory. n Need for test data reduction is imperative Test compaction Test compaction Test compression Test compression n With today’s technology, complete systems with millions of transistors are built on a single chip n Increasing complexity of systems-on-a-chip and its test data size increased cost of testing n Test data must be stored in tester memory and transferred from tester to chip n Cost of automatic test equipment increases with increase in speed, channel capacity, and memory. n Need for test data reduction is imperative Test compaction Test compaction Test compression Test compression

4 Test compression techniques n Burrows-wheeler transformation & modified run-length coding [Yamaguchi et al., ITC 97] n Statistical coding based on modified Huffman codes [Jas et al., VTS 99] n Coding based on storing differing bits, decoding based on embedded processor [Jas et al., ICCD 99] n Variable-to-block run-length coding, encoding runs of 0’s followed by 1 [Jas et al., ITC 98] n Variable-to-variable run-length coding using Golomb codes [Chandra et al., VTS 2000] n Variable-to-variable run-length coding using FDR codes [Chandra et al., VTS 2001] n Primitive Geometric shapes based Compression [El-Maleh et al., VTS 2001] n Variable-to-variable run-length coding using EFDR codes [El- Maleh et al., ICECS 2002] n Burrows-wheeler transformation & modified run-length coding [Yamaguchi et al., ITC 97] n Statistical coding based on modified Huffman codes [Jas et al., VTS 99] n Coding based on storing differing bits, decoding based on embedded processor [Jas et al., ICCD 99] n Variable-to-block run-length coding, encoding runs of 0’s followed by 1 [Jas et al., ITC 98] n Variable-to-variable run-length coding using Golomb codes [Chandra et al., VTS 2000] n Variable-to-variable run-length coding using FDR codes [Chandra et al., VTS 2001] n Primitive Geometric shapes based Compression [El-Maleh et al., VTS 2001] n Variable-to-variable run-length coding using EFDR codes [El- Maleh et al., ICECS 2002]

5 Geometric Compression Technique: Used geometric shapes n Point: n Lines: n Point: n Lines: (x,y) Type1Type2Type3Type4 (x,y) d(x,y)d (x,y) d (x,y) d

6 Used geometric shapes- cont. n Triangles: n Rectangle: n Triangles: n Rectangle: Type1Type2Type3Type4 (x,y)d (x,y) d (x,y) d (x,y) d (x,y)d1d2

7 Geometric compression technique: encoding algorithm n Test set sorting Generate clusters of 0’s or 1’s efficiently encoded by geometric shapes Generate clusters of 0’s or 1’s efficiently encoded by geometric shapes n Test set partitioning Test set partitioned into L segments Test set partitioned into L segments Each segment consists of K blocks Each segment consists of K blocks Each block is NxN bits Each block is NxN bits n Block encoding Do not encode block and store actual test data (00) Do not encode block and store actual test data (00) Encode block as filled with all 0’s (010) Encode block as filled with all 0’s (010) Encode block as filled with all 1’s (011) Encode block as filled with all 1’s (011) Encode 0’s by geometric shapes (10) Encode 0’s by geometric shapes (10) Encode 1’s by geometric shapes (11) Encode 1’s by geometric shapes (11) n Test set sorting Generate clusters of 0’s or 1’s efficiently encoded by geometric shapes Generate clusters of 0’s or 1’s efficiently encoded by geometric shapes n Test set partitioning Test set partitioned into L segments Test set partitioned into L segments Each segment consists of K blocks Each segment consists of K blocks Each block is NxN bits Each block is NxN bits n Block encoding Do not encode block and store actual test data (00) Do not encode block and store actual test data (00) Encode block as filled with all 0’s (010) Encode block as filled with all 0’s (010) Encode block as filled with all 1’s (011) Encode block as filled with all 1’s (011) Encode 0’s by geometric shapes (10) Encode 0’s by geometric shapes (10) Encode 1’s by geometric shapes (11) Encode 1’s by geometric shapes (11)

8 FDR Compression Technique n Based on run-length coding n A run is a consecutive sequence of equal symbols. n A sequence of symbols can be encoded using two elements for each run; the repeating symbol and the repeating symbol and the number of times it appears in the run the number of times it appears in the run n A variable-to-variable coding technique based on encoding runs of 0’s followed by a 1 n Designed based on the observation that frequency of runs decreases with the increase in their lengths. n Assign smaller code words to runs with small length and larger code words to those with larger length n Based on run-length coding n A run is a consecutive sequence of equal symbols. n A sequence of symbols can be encoded using two elements for each run; the repeating symbol and the repeating symbol and the number of times it appears in the run the number of times it appears in the run n A variable-to-variable coding technique based on encoding runs of 0’s followed by a 1 n Designed based on the observation that frequency of runs decreases with the increase in their lengths. n Assign smaller code words to runs with small length and larger code words to those with larger length

9 FDR Codes n Prefix and tail of any codeword are of equal size n In any group A i, the prefix is of size i bits. n When moving from group A i to group A i+1, the length of the code words increases by two bits n Prefix and tail of any codeword are of equal size n In any group A i, the prefix is of size i bits. n When moving from group A i to group A i+1, the length of the code words increases by two bits Group Run Length Group Prefix Tail Code word A A A

10 Extended FDR (EFDR) Codes n FDR code extended by encoding both types of runs n An extra bit is added to beginning of a code word to indicate type of run n FDR code extended by encoding both types of runs n An extra bit is added to beginning of a code word to indicate type of run Group Run Length Group Prefix Tail Code word for 0 Runs Code word for 1 Runs A A A

11 Proposed Hybrid Compression Technique n Combines Geometric compression technique with FDR or EFDR compression techniques n Main objective is to reduce the number of blocks encoded by storing the real test data n Combines Geometric compression technique with FDR or EFDR compression techniques n Main objective is to reduce the number of blocks encoded by storing the real test data Header Code Encoded Block 000 With real test data 001 With FDR or EFDR codes 010 As filled with 0’s 011 As filled with 1’s 10 With geometric shapes covering 0’s 11 With geometric shapes covering 1’s

12 Experimental results n Benchmark circuits Largest ISCAS 85 and full-scanned versions of ISCAS 89 circuits Largest ISCAS 85 and full-scanned versions of ISCAS 89 circuits n Test sets 14 different test sets 14 different test sets Dynamic compaction by Mintest [Hamzaoglu & Patel, ICCAD 98] Dynamic compaction by Mintest [Hamzaoglu & Patel, ICCAD 98] Static compaction by Mintest (Relaxed) Static compaction by Mintest (Relaxed) n Compression ratio (#Original Bits - #Compressed Bits)/#Original Bits (#Original Bits - #Compressed Bits)/#Original Bits n Benchmark circuits Largest ISCAS 85 and full-scanned versions of ISCAS 89 circuits Largest ISCAS 85 and full-scanned versions of ISCAS 89 circuits n Test sets 14 different test sets 14 different test sets Dynamic compaction by Mintest [Hamzaoglu & Patel, ICCAD 98] Dynamic compaction by Mintest [Hamzaoglu & Patel, ICCAD 98] Static compaction by Mintest (Relaxed) Static compaction by Mintest (Relaxed) n Compression ratio (#Original Bits - #Compressed Bits)/#Original Bits (#Original Bits - #Compressed Bits)/#Original Bits

13 Comparison with Geometric & FDR Compression

14 Compression results of Geometric, FDR, EFDR, GFDR, and GEFDR Circuit Orig. Bits Geom.FDREFDRGFDRGEFDR c s s s s35932 d s38417 d s9234d

15 Analysis of block encoding for Geometric, GFDR, and GEFDR GeometricGFDRGEFDR Circuit#Blk#Fill #Shape Encod. #Real #FDR Encod. #Real #Shape Encod. #EFDR Encod. #Real c s s s s35932d s38417d s9234d AVG %

16 ConclusionsConclusions n Proposed hybrid compression scheme that combines Geometric compression with FDR (GFDR) or with EFDR (GEFDR) n Objective is to reduce the number of blocks encoded by real test data GEFDR (GFDR) reduced blocks encoded by real data from 15% to 7% (10%) GEFDR (GFDR) reduced blocks encoded by real data from 15% to 7% (10%) In GEFDR, Blocks encoded by Geometric are 46% and those encoded by EFDR are 18%. In GEFDR, Blocks encoded by Geometric are 46% and those encoded by EFDR are 18%. In GFDR, Blocks encoded by Geometric are 49% and those encoded by EFDR are 12%. In GFDR, Blocks encoded by Geometric are 49% and those encoded by EFDR are 12%. n Hybrid compression schemes performed consistently better than Geometric n GEFDR achieved the best results and improved compression on average from 59% to 62%. n Proposed hybrid compression scheme that combines Geometric compression with FDR (GFDR) or with EFDR (GEFDR) n Objective is to reduce the number of blocks encoded by real test data GEFDR (GFDR) reduced blocks encoded by real data from 15% to 7% (10%) GEFDR (GFDR) reduced blocks encoded by real data from 15% to 7% (10%) In GEFDR, Blocks encoded by Geometric are 46% and those encoded by EFDR are 18%. In GEFDR, Blocks encoded by Geometric are 46% and those encoded by EFDR are 18%. In GFDR, Blocks encoded by Geometric are 49% and those encoded by EFDR are 12%. In GFDR, Blocks encoded by Geometric are 49% and those encoded by EFDR are 12%. n Hybrid compression schemes performed consistently better than Geometric n GEFDR achieved the best results and improved compression on average from 59% to 62%.