Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt1 Lecture 21alt BIST -- Built-In Self-Test (Alternative to Lectures 25, 26 and 27) n Definition.

Slides:



Advertisements
Similar presentations
Introduction to DFT Alexander Gnusin.
Advertisements

Built-in Self-test.
MEMORY BIST by: Saeid Hashemi Mehrdad Falakparvaz
V. Vaithianathan, AP/ECE
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 31/22alt1 Lecture 31 System Test (Lecture 22alt in the Alternative Sequence) n Definition n Functional.
Copyright 2001, Agrawal & BushnellLecture 12: DFT and Scan1 VLSI Testing Lecture 10: DFT and Scan n Definitions n Ad-hoc methods n Scan design  Design.
Design for Testability (DfT)
Experiment 2 PIC Program Execution & Built-In Self-Test.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 261 Lecture 26 Logic BIST Architectures n Motivation n Built-in Logic Block Observer (BILBO) n Test.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 13/12alt1 Lecture 13 Sequential Circuit ATPG Time-Frame Expansion (Lecture 12alt in the Alternative.
1 Lecture 10 Sequential Circuit ATPG Time-Frame Expansion n Problem of sequential circuit ATPG n Time-frame expansion n Nine-valued logic n ATPG implementation.
5/13/2015 Based on text by S. Mourad "Priciples of Electronic Systems" Digital Testing: Built-in Self-test.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 101 Design for Testability Theory and Practice Lecture 10: DFT and Scan n Definitions n Ad-hoc methods.
Testability Virendra Singh Indian Institute of Science Bangalore
EE466: VLSI Design Lecture 17: Design for Testability
11/17/05ELEC / Lecture 201 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
1 Lecture 23 Design for Testability (DFT): Full-Scan n Definition n Ad-hoc methods n Scan design Design rules Scan register Scan flip-flops Scan test sequences.
Design for Testability Theory and Practice Lecture 11: BIST
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 251 Lecture 25 Built-In Self-Testing Pattern Generation and Response Compaction n Motivation and economics.
Design for Testability
ELEN 468 Lecture 241 ELEN 468 Advanced Logic Design Lecture 24 Design for Testability.
Fall 2006, Nov. 30 ELEC / Lecture 12 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Test Power Vishwani D.
June 10, 20011High-speed test HIGH-SPEED VLSI TESTING WITH SLOW TEST EQUIPMENT  Available automatic test equipment (ATE) speed is MHz; VLSI chip.
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 20alt1 Lecture 20alt DFT: Partial, Random-Access & Boundary Scan n Definition n Partial-scan architecture.
Lecture 27 Memory and Delay-Fault Built-In Self-Testing
Testing of Logic Circuits. 2 Outline  Testing –Logic Verification –Silicon Debug –Manufacturing Test  Fault Models  Observability and Controllability.
Comparison of LFSR and CA for BIST
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 241 Lecture 24 Design for Testability (DFT): Partial-Scan & Scan Variations n Definition n Partial-scan.
ELEN 468 Lecture 251 ELEN 468 Advanced Logic Design Lecture 25 Built-in Self Test.
TOPIC - BIST architectures I
3. Built-In Self Test (BIST): Periodical Off-Line Test on the Field 3.1 General Structure Unit Under Test Data Compressor Data Generator Comparator Display.
BIST AND DATA COMPRESSION 1 JTAG COURSE spring 2006 Andrei Otcheretianski.
Spring 07, Jan 30 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 SOC Test Scheduling Vishwani D. Agrawal James.
Generating Random Numbers in Hardware. Two types of random numbers used in computing: --”true” random numbers: ++generated from a physical source (e.g.,
EE 447/EE547 1 VLSI DESIGN Lecture 10 Design for Testability.
Testimise projekteerimine: Labor 2 BIST Optimization
VLSI Testing Lecture 7: Combinational ATPG
Introduction to CMOS VLSI Design Test. CMOS VLSI DesignTestSlide 2 Outline  Testing –Logic Verification –Silicon Debug –Manufacturing Test  Fault Models.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Design for Testability (DFT) - 2.
Unit IV Self-Test and Test Algorithms
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Built-In Self-Test (BIST) - 1.
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
Test pattern generator is BIST scan chains TESTGENERATOR COMPACOMPACCTTOORRCOMPACOMPACCTTOORRCTOR Control.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Linear Feedback Shift Register. 2 Linear Feedback Shift Registers (LFSRs) These are n-bit counters exhibiting pseudo-random behavior. Built from simple.
Page 1EL/CCUT T.-C. Huang May 2004 TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.
Technical University Tallinn, ESTONIA Introduction: The Problem is Money? Cost of testing Quality Cost of quality Cost Cost of the fault 100% 0% Optimum.
TOPIC : Signature Analysis. Introduction Signature analysis is a compression technique based on the concept of (CRC) Cyclic Redundancy Checking It realized.
Copyright 2001, Agrawal & BushnellLecture 6: Sequential ATPG1 VLSI Testing Lecture 6: Sequential ATPG n Problem of sequential circuit ATPG n Time-frame.
Built-In Self Test (BIST).  1. Introduction  2. Pattern Generation  3. Signature Analysis  4. BIST Architectures  5. Summary Outline.
Technical University Tallinn, ESTONIA Copyright by Raimund Ubar 1 Raimund Ubar N.Mazurova, J.Smahtina, E.Orasson, J.Raik Tallinn Technical University.
Technical University Tallinn, ESTONIA 1 Raimund Ubar TTÜ Tallinn, 21. mai 2003 Hästitestitavad ja isetestivad digitaalsüsteemid.
TOPIC : RTD, SST UNIT 5 : BIST and BIST Architectures Module 5.2 Specific BIST Architectures.
1 Modeling Synchronous Logic Circuits Debdeep Mukhopadhyay Associate Professor Dept of Computer Science and Engineering NYU Shanghai and IIT Kharagpur.
July 10, th VLSI Design and Test Symposium1 BIST / Test-Decompressor Design using Combinational Test Spectrum Nitin Yogi Vishwani D. Agrawal Auburn.
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
VLSI Testing Lecture 14: Built-In Self-Test
Motivation and economics Definitions
Definition Partial-scan architecture Historical background
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
Lecture 10 Sequential Circuit ATPG Time-Frame Expansion
VLSI Testing Lecture 8: Sequential ATPG
Sungho Kang Yonsei University
Lecture 26 Logic BIST Architectures
Test Data Compression for Scan-Based Testing
Motivation and economics Definitions
Presentation transcript:

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt1 Lecture 21alt BIST -- Built-In Self-Test (Alternative to Lectures 25, 26 and 27) n Definition of BIST n Pattern generator n LFSR n Response analyzer n MISR n Aliasing probability n BIST architectures n Test per scan n Test per clock n Circular self-test n Memory BIST n Summary

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt2 Define Built-In Self-Test n Implement the function of automatic test equipment (ATE) on circuit under test (CUT). n Hardware added to CUT: n Pattern generation (PG) n Response analysis (RA) n Test controller CUT Stored Test Patterns Stored responses Pin Electronics Comparator hardware Test control HW/SW ATE PG RA CUT Go/No-go signature Test control logic CK BIST Enable

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt3 Pattern Generator (PG) n RAM or ROM with stored deterministic patterns n Counter n Pseudorandom pattern generator n Feedback shift register n Cellular automata

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt4 Pseudorandom Integers Start +3 Sequence: 2, 5, 0, 3, 6, 1, 4, 7, Start +2 Sequence: 2, 4, 6, 0, 2... X k = X k (modulo 8)X k = X k (modulo 8) Maximum length sequence: 3 and 8 are relative primes.

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt5 Pseudo-Random Pattern Generation n Standard Linear Feedback Shift Register (LFSR)  Produces patterns algorithmically – repeatable  Has most of desirable random # properties n May not cover all 2 n input combinations n Long sequences needed for good fault coverage eitherh i = 0, i.e., XOR is deleted orh i = X i Initial state (seed): X 0, X 1,..., X n-1 must not be 0, 0,..., 0

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt6 Matrix Equation for Standard LFSR X 0 (t + 1) X 1 (t + 1). X n-3 (t + 1) X n-2 (t + 1) X n-1 (t + 1) h h h h …… …………… ……… h n h n-1 X 0 (t) X 1 (t). X n-3 (t) X n-2 (t) X n-1 (t) = X (t + 1) = T s X (t) (T s is companion matrix)

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt7 LFSR Implements a Galois Field  Galois field (mathematical system):  Multiplication by X same as right shift of LFSR  Addition operator is XOR ( )  T s companion matrix:  1 st column 0, except nth element which is always 1 (X 0 always feeds back)  Rest of row n – feedback coefficients h i  Remaining identity matrix means a right shift n Near-exhaustive (maximal length) LFSR  Cycles through 2 n – 1 states (excluding all-0) 

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt8 LFSR Properties n Must not initialize to all 0’s – hangs n If X is initial state, LFSR progresses through states X, T s X, T s 2 X, T s 3 X, … n Matrix period: Smallest k such that T s k = I  k = LFSR cycle length  Maximum length k = 2 n -1, when feedback (characteristic) polynomial is primitive  Example: 1 + X+ X 3 n Characteristic polynomial: 1 + h 1 x + h 2 X 2 + … + h n-1 X n-1 + X n

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt9 LFSR: 1 + X + X 3 D Q X 2 D Q X 1 D Q X 0 X2X2 X1X1 X0X0 CK RESET RESET Test of primitiveness: Characteristic polynomial of degree n must divide 1 + X q for q = n, but not for q < n

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt10 LFSR as Response Analyzer n Use cyclic redundancy check code (CRCC) generator (LFSR) for response compacter n Treat data bits from circuit POs to be compacted as a decreasing order coefficient polynomial n CRCC divides the PO polynomial by its characteristic polynomial  Leaves remainder of division in LFSR  Must initialize LFSR to seed value (usually 0) before testing n After testing – compare signature in LFSR to precomputed signature of fault-free circuit

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt11 Example Modular LFSR Response Analyzer n LFSR seed is “00000”

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt12 Signature by Logic Simulation Input bits Initial State X X X X X X X X X X Signature

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt13 Signature by Polynomial Division X2X7X7X2X7X X 5 X 5 + X 3 X 3 + X 2 + X + 1 X 5 + X 3 + X + 1 Char. polynomial remainder Input bit stream: ∙ X ∙ X ∙ X ∙ X ∙ X ∙ X ∙ X ∙ X 7 Signature: X 0 X 1 X 2 X 3 X 4 =

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt14 Multiple-Input Signature Register (MISR) n Problem with ordinary LFSR response compacter:  Too much hardware if one of these is put on each primary output (PO) n Solution: MISR – compacts all outputs into one LFSR  Works because LFSR is linear – obeys superposition principle  Superimpose all responses in one LFSR – final remainder is XOR sum of remainders of polynomial divisions of each PO by the characteristic polynomial

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt15 Modular MISR Example X 0 (t + 1) X 1 (t + 1) X 2 (t + 1) = X 0 (t) X 1 (t) X 2 (t) d 0 (t) d 1 (t) d 2 (t) +

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt16 Aliasing Probability n Aliasing means that faulty signature matches fault- free signature n Aliasing probability ~ 2 -n n where n = length of signature register n Example 1: n = 4, Aliasing probability = 6.25% n Example 2: n = 8, Aliasing probability = 0.39% n Example 3: n = 16, Aliasing probability = % Fault-free signature 2 n -1 faulty signatures

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt17 BIST Architectures n Test per scan n Test per clock n Circular self-test n Memory BIST

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt18 Test Per Scan BIST Scan register Comb. logic Scan register Comb. logic Scan register Comb. logic PG RA BIST Control logic PI and PO disabled during test BIST enable Go/No-go signature

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt19 Test per Clock BIST n New fault set tested every clock period n Shortest possible pattern length  10 million BIST vectors, 200 MHz test / clock  Test Time = 10,000,000 / 200 x 10 6 = 0.05 s  Shorter fault simulation time than test / scan

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt20 Circular Self Test

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt21 Built-in Logic Block Observer (BILBO) n Combined functionality of D flip-flop, pattern generator, response analyzer, and scan chain  Reset all FFs to 0 by scanning in zeros

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt22 Test per Clock with BILBO n SI – Scan In n SO – Scan Out n Characteristic polynomial: 1 + x + … + x n n CUTs A and C: BILBO1 is MISR, BILBO2 is LFSR n CUT B: BILBO1 is LFSR, BILBO2 is MISR

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt23 BILBO Serial Scan Mode n B1 B2 = “00” n Dark lines show enabled data paths

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt24 BILBO LFSR Pattern Generator Mode n B1 B2 = “01”

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt25 BILBO in DFF (Normal) Mode n B1 B2 = “10”

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt26 BILBO in MISR Mode n B1 B2 = “11”

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt27 Memory BIST

Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt28 Summary n LFSR pattern generator and MISR response analyzer – preferred BIST methods n BIST has overheads: test controller, extra circuit delay, primary input MUX, pattern generator, response compacter, DFT to initialize circuit and test the test hardware n BIST benefits:  At-speed testing for delay and stuck-at faults  Drastic ATE cost reduction  Field test capability  Faster diagnosis during system test  Less effort to design testing process  Shorter test application times