VLSI Testing Lecture 14: Built-In Self-Test

Slides:



Advertisements
Similar presentations
Introduction to DFT Alexander Gnusin.
Advertisements

Built-in Self-test.
V. Vaithianathan, AP/ECE
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.
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 2005, Agrawal & BushnellVLSI Test: Lecture 21alt1 Lecture 21alt BIST -- Built-In Self-Test (Alternative to Lectures 25, 26 and 27) n Definition.
Testability Virendra Singh Indian Institute of Science Bangalore
11/17/05ELEC / Lecture 201 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
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.
Fall 2006, Nov. 30 ELEC / Lecture 12 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Test Power Vishwani D.
Vishwani D. Agrawal James J. Danaher Professor
Comparison of LFSR and CA for BIST
Copyright 2001, Agrawal & BushnellDay-1 AM-1 Lecture 11 Testing Analog & Digital Products Dr. Vishwani D. Agrawal James J. Danaher Professor of Electrical.
ELEN 468 Lecture 251 ELEN 468 Advanced Logic Design Lecture 25 Built-in Self Test.
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.
Copyright 2001, Agrawal & BushnellLecture 1 Introduction1 VLSI Testing Dr. Vishwani D. Agrawal James J. Danaher Professor of Electrical and Computer Engineering.
Testimise projekteerimine: Labor 2 BIST Optimization
Unit IV Self-Test and Test Algorithms
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS Built-In Self-Test (BIST) - 1.
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.
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.
Copyright 2001, Agrawal & BushnellLecture 6:Fault Simulation1 VLSI Testing Lecture 6: Fault Simulation Dr. Vishwani D. Agrawal James J. Danaher Professor.
November 25Asian Test Symposium 2008, Nov 24-27, Sapporo, Japan1 Sequential Circuit BIST Synthesis using Spectrum and Noise from ATPG Patterns Nitin Yogi.
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.
VLSI Testing Lecture 5: Logic Simulation
FIRST REVIEW.
Hardware Testing and Designing for Testability
VLSI Testing Lecture 6: Fault Simulation
Algorithms and representations Structural vs. functional test
Motivation and economics Definitions
CPE/EE 428/528 VLSI Design II – Intro to Testing (Part 3)
Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)
Definition Partial-scan architecture Historical background
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
VLSI Testing Lecture 6: Fault Simulation
VLSI Testing Lecture 7: Combinational ATPG
VLSI Testing Lecture 15: System Diagnosis
Lecture 10 Sequential Circuit ATPG Time-Frame Expansion
ELEC Digital Logic Circuits Fall 2014 Logic Testing (Chapter 12)
VLSI Testing Lecture 2: Yield & Quality
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
VLSI Testing Lecture 8: Sequential ATPG
Pre-Computed Asynchronous Scan Invited Talk
Fault Models, Fault Simulation and Test Generation
VLSI Testing Lecture 7: Combinational ATPG
Sungho Kang Yonsei University
VLSI Testing Lecture 9: Delay Test
VLSI Testing Lecture 4: Testability Analysis
VLSI Testing Lecture 3: Fault Modeling
Lecture 26 Logic BIST Architectures
ELEC Digital Logic Circuits Fall 2015 Logic Testing (Chapter 12)
VLSI Testing Lecture 13: DFT and Scan
Test Data Compression for Scan-Based Testing
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
Motivation and economics Definitions
Presentation transcript:

VLSI Testing Lecture 14: Built-In Self-Test Dr. Vishwani D. Agrawal James J. Danaher Professor of Electrical and Computer Engineering Auburn University, Alabama 36849, USA vagrawal@eng.auburn.edu http://www.eng.auburn.edu/~vagrawal IIT Delhi, Aug 26, 2013, 2:30-3:30PM Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

Contents Definition of BIST Pattern generator LFSR Response analyzer MISR Aliasing probability BIST architectures Test per scan Test per clock Circular self-test Memory BIST Summary Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

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

Pattern Generator (PG) RAM or ROM with stored deterministic patterns Counter Pseudorandom pattern generator Feedback shift register Cellular automata Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

Pseudorandom Integers Xk = Xk-1 + 3 (modulo 8) Xk = Xk-1 + 2 (modulo 8) 7 1 7 1 Start Start 6 2 6 2 +3 +2 5 3 5 3 4 4 Sequence: 2, 5, 0, 3, 6, 1, 4, 7, 2 . . . Sequence: 2, 4, 6, 0, 2 . . . Maximum length sequence: 3 and 8 are relative primes. Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

Pseudo-Random Pattern Generation Standard Linear Feedback Shift Register (LFSR) Produces patterns algorithmically – repeatable Has most of desirable random # properties May not cover all 2n input combinations Long sequences needed for good fault coverage either hi = 0, i.e., XOR is deleted or hi = Xi Initial state (seed): X0, X1, . . . , Xn-1 must not be 0, 0, . . . , 0 Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

Matrix Equation for Standard LFSR X0 (t + 1) X1 (t + 1) . Xn-3 (t + 1) Xn-2 (t + 1) Xn-1 (t + 1) . 1 1 . h1 1 . h2 … . 1 hn-2 . 1 hn-1 X0 (t) X1 (t) . Xn-3 (t) Xn-2 (t) Xn-1 (t) = X (t + 1) = Ts X (t) (Ts is companion matrix) Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

LFSR Implements a Galois Field Galois field (mathematical system): Multiplication by X same as right shift of LFSR Addition operator is XOR ( ) Ts companion matrix: 1st column 0, except nth element which is always 1 (X0 always feeds back) Rest of row n – feedback coefficients hi Remaining identity matrix means a right shift Near-exhaustive (maximal length) LFSR Cycles through 2n – 1 states (excluding all-0) Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

LFSR Properties Must not initialize to all 0’s – hangs If X is initial state, LFSR progresses through states X, Ts X, Ts2 X, Ts3 X, … Matrix period: Smallest k such that Tsk = I k = LFSR cycle length Maximum length k = 2n-1, when feedback (characteristic) polynomial is primitive Example: 1 + X+ X3 Characteristic polynomial: 1 + h1 x + h2 X2 + … + hn-1 Xn-1 + Xn Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

LFSR: 1 + X + X3 D Q X2 D Q X1 D Q X0 CK RESET X2 X1 X0 100 001 000 010 110 D Q X2 D Q X1 D Q X0 101 111 011 CK RESET X2 X1 X0 Test of primitiveness: Characteristic polynomial of degree n must divide 1 + Xq for q = n, but not for q < n Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

LFSR as Response Analyzer Use cyclic redundancy check code (CRCC) generator (LFSR) for response compacter Test data bits from circuit POs are compacted 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 After test – compare signature in LFSR with pre-computed signature of fault-free circuit Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

Example Modular LFSR Response Analyzer LFSR seed is “00000” Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

Signature by Logic Simulation Input bits Initial State 1 X0 1 X1 1 X2 1 X3 1 X4 1 Signature Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

Signature by Polynomial Division Input bit stream: 0 1 0 1 0 0 0 1 0 ∙ X0 + 1 ∙ X1 + 0 ∙ X2 + 1 ∙ X3 + 0 ∙ X4 + 0 ∙ X5 + 0 ∙ X6 + 1 ∙ X7 X2 X7 + 1 + X5 X5 + X3 X3 + X X5 + X3 + X + 1 Characteristic polynomial + X2 + 1 remainder Signature: X0 X1 X2 X3 X4 = 1 0 1 1 0 Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

Multiple-Input Signature Register (MISR) Problem with ordinary LFSR response compacter: Too much hardware if one of these is put on each primary output (PO) 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 & Bushnell Lecture 14: BIST

Modular MISR Example X0 (t + 1) X1 (t + 1) X2 (t + 1) 1 = X0 (t) 1 = X0 (t) X1 (t) X2 (t) d0 (t) d1 (t) d2 (t) + Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

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

BIST Architectures Test per scan Test per clock Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

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

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

Built-in Logic Block Observer (BILBO) Combined functionality of D flip-flop, pattern generator, response analyzer, and scan chain Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

BILBO Serial Scan Mode B1 B2 = “00” Dark lines show enabled data paths Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

BILBO LFSR Pattern Generator Mode B1 B2 = “01” Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

BILBO in DFF (Normal) Mode B1 B2 = “10” Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

BILBO in MISR Mode B1 B2 = “11” Copyright 2005, Agrawal & Bushnell Lecture 14: BIST

Summary LFSR pattern generator and MISR response analyzer – preferred BIST methods BIST has overheads: test controller, extra circuit delay, primary input MUX, pattern generator, response compacter, DFT to initialize circuit and test the test hardware 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 in the design of testing process Shorter test application times Copyright 2005, Agrawal & Bushnell Lecture 14: BIST