VLSI System Testing. BIST Motivation

Similar documents
Design for Test. Design for test (DFT) refers to those design techniques that make test generation and test application cost-effective.

VLSI Test Technology and Reliability (ET4076)

ECE 715 System on Chip Design and Test. Lecture 22

Jin-Fu Li Advanced Reliable Systems (ARES) Laboratory. National Central University

Overview: Logic BIST

Instructions. Final Exam CPSC/ELEN 680 December 12, Name: UIN:

Design of Fault Coverage Test Pattern Generator Using LFSR

ECE 407 Computer Aided Design for Electronic Systems. Testing and Design for Testability. Instructor: Maria K. Michael. Overview

Testing Digital Systems II

CMOS Testing-2. Design for testability (DFT) Design and Test Flow: Old View Test was merely an afterthought. Specification. Design errors.

VLSI Design Verification and Test BIST II CMPE 646 Space Compaction Multiple Outputs We need to treat the general case of a k-output circuit.

Department of Electrical and Computer Engineering University of Wisconsin Madison. Fall Final Examination CLOSED BOOK

Design and Implementation OF Logic-BIST Architecture for I2C Slave VLSI ASIC Design Using Verilog

Built-In Self-Test (BIST) Abdil Rashid Mohamed, Embedded Systems Laboratory (ESLAB) Linköping University, Sweden

A Novel Low Power pattern Generation Technique for Concurrent Bist Architecture

Y. Tsiatouhas. VLSI Systems and Computer Architecture Lab. Built-In Self Test 2

CPE 628 Chapter 5 Logic Built-In Self-Test. Dr. Rhonda Kay Gaede UAH. UAH Chapter Introduction

Final Exam CPSC/ECEN 680 May 2, Name: UIN:

for Digital IC's Design-for-Test and Embedded Core Systems Alfred L. Crouch Prentice Hall PTR Upper Saddle River, NJ

International Journal of Scientific & Engineering Research, Volume 5, Issue 9, September ISSN

ISSN (c) MIT Publications

Design of Test Circuits for Maximum Fault Coverage by Using Different Techniques

This Chapter describes the concepts of scan based testing, issues in testing, need

[Krishna*, 4.(12): December, 2015] ISSN: (I2OR), Publication Impact Factor: 3.785

Bit Swapping LFSR and its Application to Fault Detection and Diagnosis Using FPGA

DETERMINISTIC SEED RANGE AND TEST PATTERN DECREASE IN LOGIC BIST

Design of BIST Enabled UART with MISR

Unit 8: Testability. Prof. Roopa Kulkarni, GIT, Belgaum. 29

Using on-chip Test Pattern Compression for Full Scan SoC Designs

Diagnosis of Resistive open Fault using Scan Based Techniques

Design for Testability

Testability: Lecture 23 Design for Testability (DFT) Slide 1 of 43

Lecture 23 Design for Testability (DFT): Full-Scan

Implementation of BIST Test Generation Scheme based on Single and Programmable Twisted Ring Counters

Testing Sequential Circuits

Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)

Available online at ScienceDirect. Procedia Computer Science 46 (2015 ) Aida S Tharakan a *, Binu K Mathew b

Scan. This is a sample of the first 15 pages of the Scan chapter.

Fpga Implementation of Low Complexity Test Circuits Using Shift Registers

Testing Digital Systems II

VHDL Implementation of Logic BIST (Built In Self Test) Architecture for Multiplier Circuit for High Test Coverage in VLSI Chips

國立清華大學電機系 EE-6250 超大型積體電路測試. VLSI Testing. Chapter 7 Built-In Self-Test. Design-for-Testability

I. INTRODUCTION. S Ramkumar. D Punitha

DESIGN OF RANDOM TESTING CIRCUIT BASED ON LFSR FOR THE EXTERNAL MEMORY INTERFACE

Chapter 5. Logic Built-In Self-Test. VLSI EE141 Test Principles and Architectures Ch. 5 - Logic BIST - P. 1

A New Approach to Design Fault Coverage Circuit with Efficient Hardware Utilization for Testing Applications

Lecture 18 Design For Test (DFT)

Design of BIST with Low Power Test Pattern Generator

Module 8. Testing of Embedded System. Version 2 EE IIT, Kharagpur 1

Changing the Scan Enable during Shift

Weighted Random and Transition Density Patterns For Scan-BIST

LFSR TEST PATTERN FOR FAULT DETECTION AND DIAGNOSIS FOR FPGA CLB CELLS

Based on slides/material by. Topic 14. Testing. Testing. Logic Verification. Recommended Reading:

LFSRs as Functional Blocks in Wireless Applications Author: Stephen Lim and Andy Miller

Lecture 17: Introduction to Design For Testability (DFT) & Manufacturing Test

UNIT IV CMOS TESTING. EC2354_Unit IV 1

SIC Vector Generation Using Test per Clock and Test per Scan

Design and Implementation of Uart with Bist for Low Power Dissipation Using Lp-Tpg

CSE 352 Laboratory Assignment 3

LFSR Counter Implementation in CMOS VLSI

Transactions Brief. Circular BIST With State Skipping

Power Problems in VLSI Circuit Testing

Synthesis Techniques for Pseudo-Random Built-In Self-Test Based on the LFSR

Chapter 8 Design for Testability

DESIGN OF TEST PATTERN OF MULTIPLE SIC VECTORS FROM LOW POWER LFSR THEORY AND APPLICATIONS IN BIST SCHEMES

VLSI Technology used in Auto-Scan Delay Testing Design For Bench Mark Circuits

EE241 - Spring 2001 Advanced Digital Integrated Circuits. References

Low Transition-Generalized Linear Feedback Shift Register Based Test Pattern Generator Architecture for Built-in-Self-Test

DESIGN OF LOW POWER TEST PATTERN GENERATOR

Strategies for Efficient and Effective Scan Delay Testing. Chao Han

Design for test methods to reduce test set size

Design of Efficient Programmable Test-per-Scan Logic BIST Modules

Low Transition Test Pattern Generator Architecture for Built-in-Self-Test

TEST PATTERN GENERATION USING PSEUDORANDOM BIST

The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem.

Research Article Ring Counter Based ATPG for Low Transition Test Pattern Generation

A Novel Method for UVM & BIST Using Low Power Test Pattern Generator

Cell-Aware Fault Analysis and Test Set Optimization in Digital Integrated Circuits

Testing Digital Systems II

Testing of Cryptographic Hardware

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Unit V Design for Testability

FOR A DISSERTATION SUBMITTED TO THE DEPARTMENT OF ELECTRICAL ENGINEERING AND THE COMMITTEE ON GRADUATE STUDIES OF STANFORD UNIVERSITY

Random Access Scan. Veeraraghavan Ramamurthy Dept. of Electrical and Computer Engineering Auburn University, Auburn, AL

Design for Testability Part II

Efficient Test Pattern Generation Scheme with modified seed circuit.

K.T. Tim Cheng 07_dft, v Testability

Digital Integrated Circuits Lecture 19: Design for Testability

Optimization of Multi-Channel BCH Error Decoding for Common Cases. Russell Dill Master's Thesis Defense April 20, 2015

Low Power Illinois Scan Architecture for Simultaneous Power and Test Data Volume Reduction

Based on slides/material by. Topic Testing. Logic Verification. Testing

Computer Architecture and Organization

DESIGN FOR TESTABILITY

LOW TRANSITION TEST PATTERN GENERATOR ARCHITECTURE FOR MIXED MODE BUILT-IN-SELF-TEST (BIST)

Enhanced JTAG to test interconnects in a SoC

DETERMINISTIC TEST PATTERN GENERATOR DESIGN WITH GENETIC ALGORITHM APPROACH

IMPLEMENTATION OF X-FACTOR CIRCUITRY IN DECOMPRESSOR ARCHITECTURE

Design and Implementation of Low Power Linear Feedback Shift Segisters for Vlsi Application

Comparative Analysis of Stein s. and Euclid s Algorithm with BIST for GCD Computations. 1. Introduction

nmos transistor Basics of VLSI Design and Test Solution: CMOS pmos transistor CMOS Inverter First-Order DC Analysis CMOS Inverter: Transient Response

Transcription:

ECE 538 VLSI System Testing Krish Chakrabarty Built-In Self-Test (BIST): ECE 538 Krish Chakrabarty BIST Motivation Useful for field test and diagnosis (less expensive than a local automatic test equipment) Software tests for field test and diagnosis: Low hardware fault coverage Low diagnostic resolution Slow to operate Hardware BIST benefits: Lower system test effort Improved system maintenance and repair Improved component repair Better diagnosis ECE 538 Krish Chakrabarty 2

Costly Test Problems Alleviated by BIST Increasing chip logic-to-pin ratio harder observability Increasingly dense devices and faster clocks Increasing test generation and application times Increasing size of test vectors stored in ATE Expensive ATE needed for multi-ghz chips Hard testability insertion designers unfamiliar with gatelevel logic, since they design at behavioral level Shortage of test engineers Circuit testing cannot be easily partitioned ECE 538 Krish Chakrabarty 3 Typical Quality Requirements Example: 98% single stuck-at fault coverage % interconnect fault coverage Reject ratio (DPM) in, ECE 538 Krish Chakrabarty 4 2

Benefits and Costs of BIST with DFT Level Design and test Fabrication Manuf Test Maintenance test Diagnosis and repair Service interruption Chips + / - + - Boards + / - + - - System + / - + - - - - + Cost increase - Cost saving +/- Cost increase may balance cost reduction ECE 538 Krish Chakrabarty 5 Economics BIST Costs Chip area overhead for: Test controller Hardware pattern generator Hardware response compacter Testing of BIST hardware Pin overhead -- At least pin needed to activate BIST operation Performance overhead extra path delays due to BIST Yield loss due to increased chip area or more chips in system because of BIST Reliability reduction due to increased area Increased BIST hardware complexity happens when BIST hardware is made testable ECE 538 Krish Chakrabarty 6 3

BIST Benefits Faults tested: Single combinational / sequential stuck-at faults Delay faults Single stuck-at faults in BIST hardware BIST benefits Reduced testing and maintenance cost Lower test generation cost Reduced storage / maintenance of test patterns Simpler and less expensive ATE Can test many units in parallel Shorter test application times Can test at functional system speed ECE 538 Krish Chakrabarty 7 Some Definitions BILBO Built-in logic block observer, extra hardware added to flipflops so they can be reconfigured as an LFSR pattern generator or response compacter, a scan chain, or as flip-flops Concurrent testing Testing process that detects faults during normal system operation CUT Circuit-under-test Exhaustive testing Apply all possible 2 n patterns to a circuit with n inputs Irreducible polynomial Boolean polynomial that cannot be factored LFSR Linear feedback shift register, hardware that generates pseudo-random pattern sequence ECE 538 Krish Chakrabarty 8 4

More Definitions Primitive polynomial must divide the polynomial + x k for k = 2 n, but not for any smaller k value Pseudo-exhaustive testing Break circuit into small, overlapping blocks and test each exhaustively Pseudo-random testing Algorithmic pattern generator that produces a subset of all possible tests with most of the properties of randomlygenerated patterns Signature Any statistical circuit property distinguishing between bad and good circuits TPG Hardware test pattern generator ECE 538 Krish Chakrabarty 9 BIST Process Test controller Hardware that activates self-test simultaneously on all PCBs Each board controller activates parallel chip BIST Diagnosis effective only if very high fault coverage ECE 538 Krish Chakrabarty 5

BIST Architecture Note: BIST cannot test wires and transistors: From PI pins to Input MUX From POs to output pins ECE 538 Krish Chakrabarty BILBO Works as Both a PG and a RC Built-in Logic Block Observer (BILBO) -- 4 modes: Flip-flop 2 LFSR pattern generator 3 LFSR response compacter 4 Scan chain for flip-flops ECE 538 Krish Chakrabarty 2 6

Complex BIST Architecture Testing epoch I: LFSR generates tests for CUT and CUT2 BILBO2 (LFSR3) compacts CUT (CUT2) Testing epoch II: BILBO2 generates test patterns for CUT3 LFSR3 compacts CUT3 response ECE 538 Krish Chakrabarty 3 Bus-Based BIST Architecture Self-test control broadcasts patterns to each CUT over bus parallel pattern generation Awaits bus transactions showing CUT s responses to the patterns: serialized compaction ECE 538 Krish Chakrabarty 4 7

Pattern Generation Store in ROM too expensive Exhaustive Pseudo-exhaustive Pseudo-random (LFSR) Preferred method Binary counters use more hardware than LFSR Modified counters Test pattern augmentation LFSR combined with a few patterns in ROM Hardware diffracter generates pattern cluster in neighborhood of pattern stored in ROM ECE 538 Krish Chakrabarty 5 Exhaustive Pattern Generation Shows that every state and transition works For n-input circuits, requires all 2 n vectors Impractical for n > 2 ECE 538 Krish Chakrabarty 6 8

Pseudo-Exhaustive Method Partition large circuit into fanin cones Backtrace from each PO to PIs influencing it Test fanin cones in parallel Reduced # of tests from 2 8 = 256 to 2 5 x 2 = 64 Incomplete fault coverage ECE 538 Krish Chakrabarty 7 Pseudo-Exhaustive Pattern Generation ECE 538 Krish Chakrabarty 8 9

Random Pattern Testing Bottom: random-pattern resistant circuit ECE 538 Krish Chakrabarty 9 Pseudo-Random Pattern Generation Standard Linear Feedback Shift Register (LFSR) Produces patterns algorithmically repeatable Has most of desirable random # properties Need not cover all 2 n input combinations Long sequences needed for good fault coverage ECE 538 Krish Chakrabarty 2

Matrix Equation for Standard LFSR X (t + ) X (t + ) X n-3 (t + ) X n-2 (t + ) X n- (t + ) = h h 2 h n-2 h n- X (t) X (t) X n-3 (t) X n-2 (t) X n- (t) X (t + ) = T s X (t) (T s is companion matrix) ECE 538 Krish Chakrabarty 2 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: st column, except nth element which is always (X always feeds X n- ) Rest of row n feedback coefficients h i Rest is identity matrix I means a right shift Near-exhaustive (maximal length) LFSR Cycles through 2 n states (excluding all-) pattern of n s, one of n- consecutive s ECE 538 Krish Chakrabarty 22

Standard n-stage LFSR Implementation Autocorrelation any shifted sequence same as original in 2 n- bits, differs in 2 n- bits If h i =, that XOR gate is deleted ECE 538 Krish Chakrabarty 23 LFSR Theory Cannot initialize to all s hangs If X is initial state, progresses through states X, T s X, T s 2 X, T s 3 X, Matrix period: Smallest k such that T s k = I k LFSR cycle length Described by characteristic polynomial: f (x) = T s I X = + h x + h 2 x 2 + + h n- x n- + x n ECE 538 Krish Chakrabarty 24 2

Example External XOR LFSR Characteristic polynomial f (x) = + x + x 3 (read taps from right to left) ECE 538 Krish Chakrabarty 25 External XOR LFSR Pattern sequence for example LFSR (earlier): X X X 2 Always have and x n terms in polynomial Never repeat an LFSR pattern more than time Repeats same error vector, cancels fault effect X (t + ) X (t + ) X 2 (t + ) = X (t) X (t) X 2 (t) ECE 538 Krish Chakrabarty 26 3

Generic Modular LFSR ECE 538 Krish Chakrabarty 27 Modular Internal XOR LFSR Described by companion matrix T m = T s T Internal XOR LFSR XOR gates in between D flip-flops Equivalent to standard External XOR LFSR With a different state assignment Faster usually does not matter Same amount of hardware X (t + ) = T m x X (t) f (x) = T m I X = + h x + h 2 x 2 + + h n- x n- + x n Right shift equivalent to multiplying by x, and then dividing by characteristic polynomial and storing the remainder ECE 538 Krish Chakrabarty 28 4

Modular LFSR Matrix X (t + ) X (t + ) X 2 (t + ) X n-3 (t + ) X n-2 (t + ) X n- (t + ) = h h 2 h n-3 h n-2 h n- X (t) X (t) X 2 (t) X n-3 (t) X n-2 (t) X n- (t) ECE 538 Krish Chakrabarty 29 Example Modular LFSR f (x) = + x 2 + x 7 + x 8 Read LFSR tap coefficients from left to right ECE 538 Krish Chakrabarty 3 5

Primitive Polynomials Want LFSR to generate all possible 2 n patterns (except the all- pattern) Conditions for this must have a primitive polynomial: Monic coefficient of x n term must be Modular LFSR all D FF s must right shift through XOR s from X through X,, through X n-, which must feed back directly to X Standard LFSR all D FF s must right shift directly from X n- through X n-2,, through X, which must feed back into X n- through XORing feedback network ECE 538 Krish Chakrabarty 3 Primitive Polynomials (continued) Characteristic polynomial must divide the polynomial + x k for k = 2 n, but not for any smaller k value See Appendix B of book for tables of primitive polynomials If p (error) = 5, no difference between behavior of primitive & non-primitive polynomial But p (error) is rarely = 5 In that case, non-primitive polynomial LFSR takes much longer to stabilize with random properties than primitive polynomial LFSR ECE 538 Krish Chakrabarty 32 6

Weighted Pseudo-Random Pattern Generation s-a- F If p() at all PIs is 5, p F () = 5 8 = 256 255 p F () = = 256 256 Will need enormous # of random patterns to test a stuck-at fault on F -- LFSR p() = 5 We must not use an ordinary LFSR to test this IBM holds patents on weighted pseudo-random pattern generator in ATE ECE 538 Krish Chakrabarty 33 Weighted Pseudo-Random Pattern Generator LFSR p () = 5 Solution: Add programmable weight selection and complement LFSR bits to get p () s other than 5 Need 2-3 weight sets for a typical circuit Weighted pattern generator drastically shortens pattern length for pseudo-random patterns ECE 538 Krish Chakrabarty 34 7

Weighted Pattern Gen w w 2 Inv p (output) ½ ½ w w 2 Inv p (output) /8 7/8 ¼ 3/4 /6 5/6 ECE 538 Krish Chakrabarty 35 Test Pattern Augmentation Secondary ROM to get LFSR to % SAF coverage Add a small ROM with missing test patterns Add extra circuit mode to Input MUX shift to ROM patterns after LFSR done Important to compact extra test patterns Use diffracter: Generates cluster of patterns in neighborhood of stored ROM pattern Transform LFSR patterns into new vector set Put LFSR and transformation hardware in full-scan chain ECE 538 Krish Chakrabarty 36 8

Response Compaction Severe amounts of data in CUT response to LFSR patterns example: Generate 5 million random patterns CUT has 2 outputs Leads to: 5 million x 2 = billion bits response Uneconomical to store and check all of these responses on chip Responses must be compacted ECE 538 Krish Chakrabarty 37 Definitions Aliasing Due to information loss, signatures of good and some bad machines match Compaction Drastically reduce # bits in original circuit response lose information Compression Reduce # bits in original circuit response no information loss fully invertible (can get back original response) Signature analysis Compact good machine response into good machine signature Actual signature generated during testing, and compared with good machine signature Transition Count Response Compaction Count # transitions from and as a signature ECE 538 Krish Chakrabarty 38 9

Transition Counting ECE 538 Krish Chakrabarty 39 Transition Counting Details Transition count: m C (R) = Σ (r i i = To maximize fault coverage: r i- ) for all m primary outputs Make C (R) good machine transition count as large or as small as possible ECE 538 Krish Chakrabarty 4 2

LFSR for Response Compaction Use cyclic redundancy check code (CRCC) generator (LFSR) for response compacter Treat data bits from circuit POs to be compacted as a decreasing order coefficient polynomial CRCC divides the PO polynomial by its characteristic polynomial Leaves remainder of division in LFSR Must initialize LFSR to seed value (usually ) before testing After testing compare signature in LFSR to known good machine signature Critical: Must compute good machine signature ECE 538 Krish Chakrabarty 4 Example Modular LFSR Response Compacter LFSR seed value is ECE 538 Krish Chakrabarty 42 2

Logic Simulation: Polynomial Division Inputs Initial State X X X 2 X 3 Logic simulation: Remainder = + x 2 + x 3 X 4 x + x + x 2 + x 3 + x 4 + x 5 + x 6 + x 7 ECE 538 Krish Chakrabarty 43 Symbolic Polynomial Division x 2 + x 5 + x 3 + x + x 7 + x 3 + x x 7 + x 5 + x 3 + x 2 x 5 x 5 + x 3 + x 2 + x + x + remainder x 3 + x 2 + Remainder matches that from logic simulation of the response compacter! ECE 538 Krish Chakrabarty 44 22

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 ECE 538 Krish Chakrabarty 45 Modular MISR Example ECE 538 Krish Chakrabarty 46 23