NCHUCS1 Scan Chain Reorder Sying-Jyan Wang Department of Computer Science National Chung-Hsing University.

Slides:



Advertisements
Similar presentations
Digital Integrated Circuits© Prentice Hall 1995 Design Methodologies Design for Test.
Advertisements

Digital Integrated Circuits© Prentice Hall 1995 Combinational Logic COMBINATIONAL LOGIC.
V. Vaithianathan, AP/ECE
Weighted Random and Transition Density Patterns for Scan-BIST Farhana Rashid* Vishwani D. Agrawal Auburn University ECE Department, Auburn, Alabama
1 Pattern-Directed Circuit Virtual Partitioning for Test Power Reduction Qiang Xu The Chinese University of Hong Kong Dianwei Hu and Dong Xiang Tsinghua.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 261 Lecture 26 Logic BIST Architectures n Motivation n Built-in Logic Block Observer (BILBO) n Test.
Reap What You Sow: Spare Cells for Post-Silicon Metal Fix Kai-hui Chang, Igor L. Markov and Valeria Bertacco ISPD’08, Pages
LEONARDO INSIGHT II / TAP-MM ASTEP - Basic Test Concepts © J. M. Martins Ferreira - University of Porto (FEUP / DEEC)1 Basic test concepts J. M. Martins.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
RTL Hardware Design by P. Chu Chapter 161 Clock and Synchronization.
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt1 Lecture 21alt BIST -- Built-In Self-Test (Alternative to Lectures 25, 26 and 27) n Definition.
Background: Scan-Based Delay Fault Testing Sequentially apply initialization, launch test vector pairs that differ by 1-bit shift A vector pair induces.
4/28/05Vemula: ELEC72501 Enhanced Scan Based Flip-Flop for Delay Testing By Sudheer Vemula.
Design for Testability Theory and Practice Lecture 11: BIST
Power-Aware Placement
Practically Realizing Random Access Scan By Anand Mudlapur ECE Dept. Auburn University.
ELEN 468 Lecture 241 ELEN 468 Advanced Logic Design Lecture 24 Design for Testability.
Embedded Systems Hardware:
Output Hazard-Free Transition Tests for Silicon Calibrated Scan Based Delay Testing Adit D. Singh Gefu Xu Auburn University.
Vishwani D. Agrawal James J. Danaher Professor
Build-In Self-Test of FPGA Interconnect Delay Faults Laboratory for Reliable Computing (LaRC) Electrical Engineering Department National Tsing Hua University.
January 16, '02Agrawal: Delay testing1 Delay Testing of Digital Circuits Vishwani D. Agrawal Agere Systems, Murray Hill, NJ USA
Layout-aware Scan-based Delay Fault Testing Puneet Gupta 1 Andrew B. Kahng 1 Ion Mandoiu 2 Puneet Sharma 1 1 ECE Department, University of California –
Processing Rate Optimization by Sequential System Floorplanning Jia Wang 1, Ping-Chih Wu 2, and Hai Zhou 1 1 Electrical Engineering & Computer Science.
Comparison of LFSR and CA for BIST
ELEN 468 Lecture 251 ELEN 468 Advanced Logic Design Lecture 25 Built-in Self Test.
TOPIC - BIST architectures I
BIST AND DATA COMPRESSION 1 JTAG COURSE spring 2006 Andrei Otcheretianski.
Class Design Project - Test Generation 1 Class Design Project Test Generation Hillary Grimes III ELEC Project Presentation April 26, 2007.
An Embedded Core DFT Scheme to Obtain Highly Compressed Test Sets Abhijit Jas, Kartik Mohanram, and Nur A. Touba Eighth Asian Test Symposium, (ATS.
Design for Testability
Testimise projekteerimine: Labor 2 BIST Optimization
Chapter 6-2 Multiplier Multiplier Next Lecture Divider
Power Reduction for FPGA using Multiple Vdd/Vth
1 Fitting ATE Channels with Scan Chains: a Comparison between a Test Data Compression Technique and Serial Loading of Scan Chains LIRMM CNRS / University.
CSE477 L28 DFT.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 28: Design for Test Mary Jane Irwin ( )
UC San Diego / VLSI CAD Laboratory Incremental Multiple-Scan Chain Ordering for ECO Flip-Flop Insertion Andrew B. Kahng, Ilgweon Kang and Siddhartha Nath.
Pseudo-Random Pattern Generator Design for Column ‑ Matching BIST Petr Fišer Czech Technical University Dept. of Computer Science and Engineering.
SiLab presentation on Reliable Computing Combinational Logic Soft Error Analysis and Protection Ali Ahmadi May 2008.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Logic BIST Logic BIST.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
A Robust Pulse-triggered Flip-Flop and Enhanced Scan Cell Design
Why Low Power Testing? 台大電子所 李建模.
Chap 5. Registers and Counters. Chap Definition of Register and Counter l a clocked sequential circuit o consist of a group of flip-flops & combinational.
4. Combinational Logic Networks Layout Design Methods 4. 2
By Praveen Venkataramani
Embedded Embedded at-speed test at-speed test.
Improving NoC-based Testing Through Compression Schemes Érika Cota 1 Julien Dalmasso 2 Marie-Lise Flottes 2 Bruno Rouzeyre 2 WNOC
Mixed-Mode BIST Based on Column Matching Petr Fišer.
Manufacture Testing of Digital Circuits
Silicon Programming--Testing1 Completing a successful project (introduction) Design for testability.
Chap 5. Registers and Counters
TOPIC : RTD, SST UNIT 5 : BIST and BIST Architectures Module 5.2 Specific BIST Architectures.
RTL Hardware Design by P. Chu Chapter 9 – ECE420 (CSUN) Mirzaei 1 Sequential Circuit Design: Practice Shahnam Mirzaei, PhD Spring 2016 California State.
Test Generation for Designs with Multiple Clocks Xijiang LinSudhakar M. Reddy Mentor Graphics Corp SW Boeckman Rd. Wilsonville, OR ECE Department.
A Survey of Fault Tolerant Methodologies for FPGA’s Gökhan Kabukcu
ELEC 7950 – VLSI Design and Test Seminar
POWER OPTIMIZATION IN RANDOM PATTERN GENERATOR By D.Girish Kumar 108W1D8007.
Lecture 5: Design for Testability. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 12: Design for Testability2 Outline  Testing –Logic Verification –Silicon.
Hardware Testing and Designing for Testability
COUPING WITH THE INTERCONNECT
VLSI Testing Lecture 14: Built-In Self-Test
James D. Z. Ma Department of Electrical and Computer Engineering
Sequential circuits and Digital System Reliability
Design of benchmark circuit s5378 for reduced scan mode activity
VLSI Testing Lecture 7: Delay Test
Lecture 26 Logic BIST Architectures
Reseeding-based Test Set Embedding with Reduced Test Sequences
Mixed-Mode BIST Based on Column Matching
Presentation transcript:

NCHUCS1 Scan Chain Reorder Sying-Jyan Wang Department of Computer Science National Chung-Hsing University

NCHUCS2 Outline  Overview  Scan chain order: does it matter?  Cluster-based reordering for low- power BIST  Experimental results  Future work

NCHUCS3 Outline ■ Overview  Scan chain order: does it matter?  Cluster-based reordering for low- power BIST  Experimental results  Future work

NCHUCS4 Digital Testing  To detect manufacturing defects  Apply test patterns and observe output responses  Test patterns generated for targeted fault models

NCHUCS5 Scenario for Manufacture Test TEST VECTORS MANUFACTURED CIRCUIT COMPARATOR CIRCUIT RESPONSE PASS/FAIL CORRECT RESPONSES … …

NCHUCS6 Scan Test (1)  A structural design-for-testability technique  Storage elements are not directly accessible  Scan test provides an easy way for test access Apply test patterns to circuit under test (CUT) Read output responses from CUT

NCHUCS7 Scan Test (2)  Sequential circuit FFs are neither controllable nor observable Combinational Logic Primary Input Primary Output F

NCHUCS8 Scan Test (3)  Normal signal path: parallel load Combinational Logic Primary Input Primary Output F

NCHUCS9 Scan Test (4)  In scan mode: a shift register Combinational Logic Primary Input Primary Output F Scan in (SI) Scan out (SO)

NCHUCS10 Scan Test (5)  To enable scan test Each scan cell has two inputs  Normal input  Scan input All scan cells are connected into a shift register (scan chain)  Turn a sequential test into a combinational one Apply test patterns directly Observe test results directly

NCHUCS11 Scan Chain  Normally constructed when placement and routing are done  The order does not matter  Find out the shortest scan chain order Traveling salesman problem (TSP) Asymmetric TSP (ATSP)  SI and SO of a scan cell are not at the same location NP-complete

NCHUCS12 Outline  Overview ■ Scan chain order: does it matter?  Cluster-based reordering for low- power BIST  Experimental results  Future work

NCHUCS13 Scan Test for Stuck-at Faults  Order does not matter As long as we can scan in test patterns and scan out test responses CUT

NCHUCS14 Minimum Wirelength Routing  Use a TSP/ATSP solver Slow  Wirelength can be 10x with random order

NCHUCS15 Low-Power Testing  A great concern in recent years  Need to reduce signal transitions The source of dynamic power in CMOS Usually the dominant factor  Reorder scan chain to reduce switching activity transitions 1 transition only

NCHUCS16 Delay Testing (1)  Require two-pattern tests First pattern: initialization Second pattern: launch transition  Delay test with simple scan chain Broadside  The output response of the 1st pattern are captured in the scan chain and become the 2nd pattern Skewed load  The 2nd pattern is the result of 1-bit shift of the 1st pattern

NCHUCS17 Delay Test (2)  Broadside test Eg. Apply v1=(1010), v2=(0100) Combinational Logic Primary Input Primary Output F

NCHUCS18 Delay Test (3)  Skewed load Not all test pairs possible  2 n 2 n possible 2-pattern combinations  Only 22 n possible with single scan chain Reorder scan chain to achieve higher fault coverage NOT POSSIBLE!! 0 110

NCHUCS19 Hold Time Violation  Not enough propagation delay between adjacent flip-flops in a sequential circuit Double latching  Possible solution Reorder scan cells to introduce extra delay

NCHUCS20 Outline  Overview  Scan chain order: does it matter? ■ Cluster-based reordering for lower-power BIST  Experimental results  Future work

NCHUCS21 Overview  Goal: Reduce BIST power  Approach Include a smoother to reduce switching activity in test pattern generator (TPG) Use scan chain reordering to recover lost fault coverage  Simple reordering algorithm  Wirelength should not increase too much

NCHUCS22 Overall Architecture Internal scan chain CUT ORA PRPGSmoother TPG Internal scan chain 1 Internal scan chain 2 Internal scan chain k ORAORA PRPGPRPG Smoother PhaseshifterPhaseshifter Single scan chain multiple scan chain

NCHUCS23 Smoother 0/1 1/0 0/0 1/0 0/0 1/ S n/2–1 S0S0 0/1 1/1 0/1 S n–1 S n/ /1 0/0 1/0 0/0 1/0 S1S1 0/1 1/1 S3S3 0/1 S0S0 S2S2 1/0 0/0 1/0 S1S1 S0S0 0/0 1/0 S3S3 S2S2 0/0 1/0 0/1 1/1 S5S5 S4S4 0/1 1/1 S7S7 S6S6 0/1 1/1 n-state smoother 4-state (2bit) smoother 8-state (3bit) smoother

NCHUCS24 A Simple Implementation of the n-state smother C Divide-by-n/2 Up-Down Counter T u d  q q  C0C0 in

NCHUCS25 Estimation of Power Reduction  Probability of signal transition of an n-state smoother Compute from Markov chain model  Estimation of dynamic power 2-bit (4-state ) smoother: 1/3 3-bit (8-state) smoother: 1/10

NCHUCS26 Fault Coverage bit smoother3-bit smoother PRPG  Smoothed patterns are less random May create repeated patterns and reduce fault coverage Required test cube: xxxxx01xxxxxxxx NO MATCH! Reorder scan chain: xxxxx0x1xxxxxxx MATCH 2-bit smoother

NCHUCS27 Cluster-Based Scan Chain Reorder  Layout surface divided into clusters  Reorder limited in single cluster  Snake-like global routing Single scan chain Multiple scan chains

NCHUCS28 Example  Routing s scan cells 1 cluster 256 clustersSilicon Ensemble

NCHUCS29 Optimal Cluster Size  Is there an optimal cluster size?  Observation Large clusters--long vertical connection Small clusters--more horizontal crossings  How to find optimal cluster size Find an expression of total wirelength Take its derivative with respect to cluster size c

NCHUCS30 Estimate Wirelength in a Cluster (1)  Two types of order Random order Sorted according to x-cooridnate sc 1 sc 2 sc 4 sc 3 sc 5 CL 1 CL 2 sc 1 sc 2 sc 3 CL 1

NCHUCS31 Estimate Wirelength in a Cluster (2)  How to estimate the distance between two cells Manhattan distance Horizontal and vertical distances are independent Assuming cells are randomly distributed w (0, 0) h sc 1 (X 1, Y 1 ) sc 2 (X 2, Y 2 )

NCHUCS32 Estimate Wirelength in a Cluster (3)  Expected vertical distance between two cells  Expected horizontal distance between two cells Random order: w/3 Sorted order  Summation of all horizontal distances: w

NCHUCS33 Estimate Wirelength in a Cluster (4)  Random order N: # cells, c 2 : #clusters  Sorted order

NCHUCS34 Optimal Number of Clusters (1)  Random order Assuming H  W, N/c 2  1  Sorted order Assuming H  W, N/c 2  3

NCHUCS35 Optimal Number of Clusters (2)  Reordering algorithm Larger clusters give better results Almost no reordering when N/c 2  1 Choose sorted order if no special order is preferred  Optimal cluster size 2  N/c 2  3

NCHUCS36 Outline  Overview  Scan chain order: does it matter?  Cluster-based reordering for low- power BIST ■ Experimental results  Future work

NCHUCS37 Experimental Results — Wire Length (1)  2-bit smoother

NCHUCS38 Experimental Results — Wire Length (2)  3-bit smoother

NCHUCS39 Experimental Results — Fault Coverage (1)  2-bit smoother

NCHUCS40 Experimental Results — Fault Coverage (2)  3-bit smoother

NCHUCS41 Optimal Number of Cells per Cluster CircuitWL (mm) -- SE #cluster#cells/cluster2-bit smoother3-bit smoother GSWL (mm)Red (%)GSWL (mm)Red (%) S S S S S S S S S S S SE: Silicon Ensemble

NCHUCS42 Test Efficienct CircuitTL Test Efficiency (%) Markov Source BIST LFSR2-bit smoother3-bit smoother SEOptimal ClusterSEOptimal Cluster S S S S S Average

NCHUCS43 Comparison of Average Power Circuit#scan cells TLFC (%) LFSR 2-bit smoother*3-bit smoother*LT-RTPG  (k=3) FC (%) SE FC (%) Opt. cluster AP Red (%) FC (%) SE FC (%) Opt. cluster AP Red (%) FC (%)AP Red (%) S S S S S S S S S S S Average *Full scan;  : only state vectors are scanned

NCHUCS44 Peak Power  Capture-cycle power is not reduced  Still provide some improvement Circuit PP Red (%) 2-bit smoother3-bit smoother S S S S S S Average

NCHUCS45 Outline  Overview  Scan chain order: does it matter?  Cluster-based reordering for low- power BIST  Experimental results ■ Future work

NCHUCS46 Conclusion  Scan chain reorder is very effect to deal with Test power Scan-based delay test Fault coverage in BIST  Need to consider Physical design infromation

NCHUCS47 Future Work  Fast reordering algorithm for delay test  Integrate reordering algorithm, considering Test power Delay test coverage Wire length Other issues

NCHUCS48 THE END Thank You!