Unit IV Self-Test and Test Algorithms

Slides:



Advertisements
Similar presentations
Introduction to DFT Alexander Gnusin.
Advertisements

Digital Integrated Circuits© Prentice Hall 1995 Design Methodologies Design for 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.
Design for Testability (DfT)
Apr. 20, 2001VLSI Test: Bushnell-Agrawal/Lecture 311 Lecture 31 System Test n Definition n Functional test n Diagnostic test  Fault dictionary  Diagnostic.
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.
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.
BIST for Logic and Memory Resources in Virtex-4 FPGAs Sachin Dhingra, Daniel Milton, and Charles Stroud Electrical and Computer Engineering Auburn University.
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.
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
Fall 2006, Nov. 30 ELEC / Lecture 12 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Test Power Vishwani D.
Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 121 Design for Testability Theory and Practice Lecture 12: System Diagnosis n Definition n Functional.
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
ELEN 468 Lecture 251 ELEN 468 Advanced Logic Design Lecture 25 Built-in Self Test.
TOPIC - BIST architectures I
TOPIC : Introduction to BIST and types of BIST
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 vs. ATPG.
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.
Design for Testability
Technical University Tallinn, ESTONIA Overview: Fault Simulation Overview about methods Low (gate) level methods Parallel fault simulation Deductive fault.
EE 447/EE547 1 VLSI DESIGN Lecture 10 Design for Testability.
Testimise projekteerimine: Labor 2 BIST Optimization
Introduction to CMOS VLSI Design Test. CMOS VLSI DesignTestSlide 2 Outline  Testing –Logic Verification –Silicon Debug –Manufacturing Test  Fault Models.
Testing of integrated circuits and design for testability J. Christiansen CERN - EP/MIC
CSE477 L28 DFT.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 28: Design for Test Mary Jane Irwin ( )
Fault models Stuck-at Stuck-at-1 Reset coupling 0 0 Set coupling Inversion coupling Transition  /0 0 1 Transition  /1 1.
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.
EE141 VLSI Test Principles and Architectures Ch. 9 - Memory Diagnosis & BISR - P. 1 1 Chapter 9 Memory Diagnosis and Built-In Self-Repair.
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
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 : Controllability and Observability
Mixed-Mode BIST Based on Column Matching Petr Fišer.
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.
TOPIC : CBIST, CEBS UNIT 5 : BIST and BIST Architectures Module 5.2 Specific BIST Architectures.
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.
TITLE : types of BIST MODULE 5.1 BIST basics
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.
Topics SRAM-based FPGA fabrics: Xilinx. Altera..
VLSI Testing Lecture 14: System Diagnosis
Hardware Testing and Designing for Testability
COUPING WITH THE INTERCONNECT
VLSI Testing Lecture 14: Built-In Self-Test
Motivation and economics Definitions
CPE/EE 428/528 VLSI Design II – Intro to Testing (Part 3)
VLSI Testing Lecture 15: System Diagnosis
Sungho Kang Yonsei University
Sungho Kang Yonsei University
Lecture 26 Logic BIST Architectures
Test Data Compression for Scan-Based Testing
Presentation transcript:

Unit IV Self-Test and Test Algorithms

Syllabus Built-In self Test – test pattern generation for BIST – Circular BIST – BIST Architectures –Testable Memory Design – Test Algorithms – Test generation for Embedded RAMs.

What is BIST? On circuit Random pattern generation, very long tests Test pattern generation Response verification Random pattern generation, very long tests Response compression IC

WHAT IS BIST ? (contd.) BIST (Built-In Self-Test) : is a design technique in which parts of a circuit are used to test the circuit itself . Hardcore : Parts of a circuit that must be operational to execute a self test BIST categories : Memory BIST Logic BIST Logic + Embedded memory (ASICs) Applications : Mission-critical sytems, self-diagnostic circuitry (consumer electronics).

SoC BIST Optimization: - testing time  - memory cost  System on Chip Core 2 Core 3 Core 4 Core 5 Embedded Tester Core 1 Test access mechanism BIST Test Controller Tester Memory Optimization: - testing time  - memory cost  - power consumption  - hardware cost  - test quality 

Built-In Self-Test (BIST) Motivations for BIST: Need for a cost-efficient testing (general motivation) Doubts about the stuck-at fault model Increasing difficulties with TPG (Test Pattern Generation) Growing volume of test pattern data Cost of ATE (Automatic Test Equipment) Test application time Gap between tester and UUT (Unit Under Test) speeds Drawbacks of BIST: Additional pins and silicon area needed Decreased reliability due to increased silicon area Performance impact due to additional circuitry Additional design time and cost

BIST in Maintenance and Repair Useful for field test and diagnosis (less expensive than a local automatic test equipment) Disadvantages of software tests for field test and diagnosis (nonBIST): 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

BIST Techniques BIST techniques are classified: on-line BIST - includes concurrent and nonconcurrent techniques off-line BIST - includes functional and structural approaches

On-line BIST On-line BIST - testing occurs during normal functional operation Concurrent on-line BIST - testing occurs simultaneously with normal operation mode, usually coding techniques or duplication and comparison are used Nonconcurrent on-line BIST - testing is carried out while a system is in an idle state, often by executing diagnostic software or firmware routines

Off-line BIST Off-line BIST - system is not in its normal working mode, usually on-chip test generators and output response analyzers or microdiagnostic routines Functional off-line BIST is based on a functional description of the Component Under Test (CUT) and uses functional high-level fault models Structural off-line BIST is based on the structure of the CUT and uses structural fault models (e.g. SAF)

BIST key elements Circuit under test (CUT) Test pattern generators (TPG) Output response analyzer (ORA) Distribution system for data transmission between TPG, CUT and ORA BIST controller

General Architecture of BIST BIST components: Test pattern generator (TPG) Test response analyzer (TRA) TPG & TRA are usually implemented as linear feedback shift registers (LFSR) Two widespread schemes: test-per-scan test-per-clock

BIST architecture Chip, Board or System CUT ORA BIST controller TPG

Detailed BIST Architecture

Test Pattern Generation Techniques Exhaustive : Applying all 2**n input combinations, generated by binary counters or complete LFSR. Pseudoexhaustive : Circuit is segmented & each segment is tested exhaustively(Less no. of tests required): Logical segmentation : Cone + Sensitized-path Physical segmentation

Pseudoexhaustive Testing Pseudo-exhaustive test sets: Output function verification maximal parallel testability partial parallel testability Segment function verification Output function verification 4 Primitive polynomials Segment function verification F & 1111 0101 0011 216 = 65536 Pseudo- exhaustive sequential >> 4x16 = 64 Pseudo- exhaustive parallel > 16 Exhaustive test

Test Pattern Generation Techniques (Contd.) Pseudorandom : Not all 2**n input combinations, Random patterns generated deterministically & repeatably, pattern with/without replacement, applicable to both combinational and sequential circuits. weighted : Non-uniform distribution of 0’s & 1’s, improved fault coverage, using LFSR added with combinational circuits. Adaptive : Using intermediate results of fault simulation to modify 0’s & 1’s weights, more efficient,more hard ware complexity.

Built-In Self-Test Test per Scan: Initial test set: T1: 1100 T2: 1010 Test application: 1100 T 1010 T 0101T 1001 T Number of clocks = (4 x 4) + 4 = 20 Assumes existing scan architecture Drawback: Long test application time

Built-In Self-Test Test per Clock: Combinational Circuit Under Test T1 Initial test set: T1: 1100 T2: 1010 T3: 0101 T4: 1001 Test application: 1 10 0 1 0 1 0 01 01 1001 Number of clocks = 8 < 20 Combinational Circuit Under Test T1 Scan-Path Register T4 T3 T2

Pattern Generation Store in ROM – too expensive Exhaustive – too long Pseudo-exhaustive Pseudo-random (LFSR) – Preferred method Binary counters – use more hardware than LFSR Modified counters Test pattern augmentation ( Hybrid BIST) LFSR combined with a few patterns in ROM

LFSR Based Testing: Some Definitions Exhaustive testing – Apply all possible 2n patterns to a circuit with n inputs 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 randomly-generated patterns LFSR – Linear feedback shift register, hardware that generates pseudo-random pattern sequence BILBO – Built-in logic block observer, extra hardware added to flip-flops so they can be reconfigured as an LFSR pattern generator or response compacter, a scan chain, or as flip-flops

Pattern Generation Pseudorandom test generation by LFSR: Using special LFSR registers Test pattern generator Signature analyzer Several proposals: BILBO CSTP Main characteristics of LFSR: polynomial initial state test length

Pseudorandom Test Generation LFSR – Linear Feedback Shift Register: Standard LFSR x x2 x3 x4 x3 x2 x4 x Modular LFSR Polynomial: P(x) = x4 + x3 + 1

Specific BIST Architecture A Centralized and Separate Board-Level BIST Architecture (CSBL) Built-In Evaluation and Self-Test (BEST) Random-Test Socket (RTS) LSSD On-Chip Self-Test (LOCST) Self-Testing Using MISR and Parallel SRSG (STUMPS) A Concurrent BIST Architecture (CBIST) A Centralized and Embedded BIST Architecture with Boundary Scan (CEBS) Random Test Data (RTD) Simultaneous Self-Test (SST) Cyclic Analysis Testing System (CATS) Circular Self-Test Path (CSTP) Built-In Logic-Block Observation (BILBO)

A Centralized and Separate Board-Level BIST Architecture (CSBL)

Built-In Evaluation and Self-Test (BEST)

Random-Test Socket (RTS)

LSSD On-Chip Self-Test (LOCST)

Self-Testing Using MISR and Parallel SRSG (STUMPS)

A Concurrent BIST Architecture (CBIST)

A Centralized and Embedded BIST Architecture with Boundary Scan (CEBS)

Random Test Data (RTD)

Simultaneous Self-Test (SST)

Cyclic Analysis Testing System (CATS)

Circular Self-Test Path (CSTP)

Built-In Logic-Block Observation (BILBO) Combined functionality of D flip-flop, pattern generator, response compacter and scan chain ELEN 468 Lecture 25

BILBO Serial Scan Mode B1 B2 = “00” Dark lines show enabled data paths ELEN 468 Lecture 25

BILBO LFSR Pattern Generator Mode B1 B2 = “01” ELEN 468 Lecture 25

BILBO in D-FF (Normal) Mode B1 B2 = “10” ELEN 468 Lecture 25

BILBO in Response Compactor Mode B1 B2 = “11” ELEN 468 Lecture 25

Importance of memories Memories dominate chip area (94% of chip area in 2014) Memories are most defect sensitive parts Because they are fabricated with minimal feature widths Memories have a large impact on total chip DPM level Therefore high quality tests required (Self) Repair becoming standard for larger memories (> 1 Mbit) % of chip area year

Memory chip cost over time Price of high-volume parts is constant in time; except for inflation Note: Slope of line matches inflation! Dollars per DRAM chip

March tests: Concept and notation A march test consists of a sequence of march elements A march element consists of a sequence of operations applied to every cell, in either one of two address orders: 1. Increasing () address order; from cell 0 to cell n-1 2. Decreasing () address order; from cell n-1 to cell 0 Note: The  address order may be any sequence of addresses (e.g., 5,2,0,1,3,4,6,7), provided that the  address order is the exact reverse sequence (i.e, 7,6,4,3,1,0,2,5) Example: MATS+ {(w0);(r0,w1);(r1,w0)} Test consists of 3 march elements: M0, M1 and M2 The address order of M0 is irrelevant (Denoted by symbol ) M0: (w0) means ‘for i = 0 to n-1 do A[i]:=0’ M1: (r0,w1) means ‘for i = 0 to n-1 do {read A[i]; A[i]:=1}’ M2: (r1,w0) means ‘for i = n-1 to 0 do {read A[i]; A[i]:=0}’

Traditional tests Traditional tests are older tests Usually developed without explicitly using fault models Usually they also have a relatively long test time Some have special properties in terms of: detecting dynamic faults locating (rather than only detecting) faults Many traditional tests exist: 1. Zero-One (Usually referred to as Scan Test or MSCAN) 2. Checkerboard 3. GALPAT and Walking 1/0 4. Sliding Diagonal 5. Butterfly 6. Many, many others

Zero-One test (Scan test, (M)SCAN) Minimal test, consisting of writing & reading 0s and 1s Step 1: write 0 in all cells Step 2: read all cells Step 3: write 1 in all cells Step 4: read all cells March notation for Scan test: {(w0);(r0);(w1);(r1)} Test length: 4*n operations; which is O(n) Fault detection capability: AFs not detected Condition AF not satisfied: 1. (rx,…,wx*) 2. (rx*,…,wx) If address decoder maps all addresses to a single cell, then it can only be guaranteed that one cell is fault free Special property: Stresses read/write & precharge circuits when Fast X addressing is used and sequence of write/read 0101.... data in a column! Fast X addressing Row 000000 stripe 111111 000000 111111 Checker 010101 board 101010 010101 101010 Columns Rows

Checkerboard Is SCAN test, using checkerboard data background pattern Step 1: w1 in all cells-W w0 in all cells-B Step 2: read all cells Step 3: w0 in all cells-W w1 in all cells-B Step 4: read all cells Test length: 4*2N operations; which is O(n) Fault detection capability: Condition AF not satisfied : 1. (rx,…,wx*); 2. (rx*,…,wx) If address decoder maps all cells-W to one cell, and all cells-B to another cell, then only 2 cells guaranteed fault free Special property: Maximizes leakage between physically adjacent cells. Used for DRAM retention test!! B W 1 Step1 pattern Checkerboard data background

GALPAT and Walking 1/0 GALPAT and Walking 1/0 are similar algorithms They walk a base-cell through the memory After each step of the base-cell, the contents of all other cells is verified, followed by verification of the base-cell Difference between GALPAT and Walking 1/0 is when, and how often, the base-cell is read 0 0 0 0 0 1 0 0 Walking 1/0 0 0 0 0 0 1 0 0 GALPAT Base cell Base cell