CSE477 L28 DFT.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 28: Design for Test Mary Jane Irwin ( www.cse.psu.edu/~mji ) www.cse.psu.edu/~cg477www.cse.psu.edu/~mji.

Slides:



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

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.
Introduction to CMOS VLSI Design Lecture 17: Design for Testability David Harris Harvey Mudd College Spring 2004.
Design for Testability (DfT)
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 261 Lecture 26 Logic BIST Architectures n Motivation n Built-in Logic Block Observer (BILBO) n Test.
1 Chapter Design For Testability The Scan-Path Technique The testing problems with sequential circuit can be overcome by two properties: 1.The.
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
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt1 Lecture 21alt BIST -- Built-In Self-Test (Alternative to Lectures 25, 26 and 27) n Definition.
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.

EE466: VLSI Design Lecture 17: Design for Testability
Copyright 2001, Agrawal & BushnellDay-1 AM Lecture 11 Design for Testability Theory and Practice January 15 – 17, 2005 Vishwani D. Agrawal James J. Danaher.
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
Chapter 7: Testing Of Digital Circuits 1 Testing of Digital Circuits M. Balakrishnan Dept. of Comp. Sci. & Engg. I.I.T. Delhi.
Design for Testability
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 11 Lecture 1 Introduction n VLSI realization process n Verification and test n Ideal and real tests.
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.
Vishwani D. Agrawal James J. Danaher Professor
ELEC516/10 Lecture 10 1 ELEC 516 VLSI System Design and Design Automation Spring 2010 Lecture 10 – Design for Testability Reading Assignment: Kang – CMOS.
Design Methodologies.
Testing of Logic Circuits. 2 Outline  Testing –Logic Verification –Silicon Debug –Manufacturing Test  Fault Models  Observability and Controllability.
Sequential Testing Two choices n Make all flip-flops observable by putting them into a scan chain and using scan latches o Becomes combinational testing.
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.
Design for Testability
TOPIC - BIST architectures I
Design for Testability
EE 447/EE547 1 VLSI DESIGN Lecture 10 Design for Testability.
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.
Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Topics Testability and architecture. Design methodologies. Multiprocessor system-on-chip.
Modern VLSI Design 3e: Chapter 5,6 Copyright  2002 Prentice Hall PTR Adapted by Yunsi Fei Topics n Sequential machine (§5.2, §5.3) n FSM construction.
August VLSI Testing and Verification Shmuel Wimer Bar Ilan University, School of Engineering.
Testing of integrated circuits and design for testability J. Christiansen CERN - EP/MIC
Fault models Stuck-at Stuck-at-1 Reset coupling 0 0 Set coupling Inversion coupling Transition  /0 0 1 Transition  /1 1.
Unit III Design for Testability
Logic BIST Logic BIST.
Design for Testability By Dr. Amin Danial Asham. References An Introduction to Logic Circuit Testing.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
ECE 260B – CSE 241A Testing 1http://vlsicad.ucsd.edu ECE260B – CSE241A Winter 2005 Testing Website:
1 Note on Testing for Hardware Components. 2 Steps in successful hardware design (basic “process”): 1.Understand the requirements (“product’) 2.Write.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
Copyright 2001, Agrawal & BushnellLecture 6: Sequential ATPG1 VLSI Testing Lecture 6: Sequential ATPG n Problem of sequential circuit ATPG n Time-frame.
Sp09 CMPEN 411 L18 S.1 CMPEN 411 VLSI Digital Circuits Spring 2009 Lecture 16: Static Sequential Circuits [Adapted from Rabaey’s Digital Integrated Circuits,
CS/EE 3700 : Fundamentals of Digital System Design
Silicon Programming--Testing1 Completing a successful project (introduction) Design for testability.
Lecture 5: Design for Testability. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 12: Design for Testability2 Outline  Testing –Logic Verification –Silicon.
1 VLSI Design Lecture Four Design & Testing Issues Dr. Richard Spillman PLU Spring 2003.
EE3A1 Computer Hardware and Digital Design Lecture 13 Detecting faults in Digital Systems.
Hayri Uğur UYANIK Very Large Scale Integration II - VLSI II
UNIT VIII: CMOS TESTING
COUPING WITH THE INTERCONNECT
VLSI Testing Lecture 14: Built-In Self-Test
ECE 434 Advanced Digital System L18
Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)
Lecture 12: Design for Testability
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
Lecture 12: Design for Testability
Design for Testability
Lecture 12: Design for Testability
Sungho Kang Yonsei University
Testing in the Fourth Dimension
Design for Testability
Lecture 26 Logic BIST Architectures
VLSI Testing Lecture 13: DFT and Scan
Presentation transcript:

CSE477 L28 DFT.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 28: Design for Test Mary Jane Irwin ( ) [Adapted from Rabaey’s Digital Integrated Circuits, Second Edition, ©2003 J. Rabaey, A. Chandrakasan, B. Nikolic]

CSE477 L28 DFT.2Irwin&Vijay, PSU, 2003 Test Procedures  Diagnostic test l used in debugging and defect localization l can afford to spend time testing  Production test - “go/no go” l used in chip production (wafer and/or packaged) l since have to test each part, must be fast  Parametric test l [v, i] versus [0,1] l check parameters such as noise margins, V t, t p at corners (range of temperatures and supply voltage variations) l usually done with special wafer drop-ins

CSE477 L28 DFT.3Irwin&Vijay, PSU, 2003 Testing Fabricated Designs  Goals of design-for-test (DFT) l make testing of manufactured parts swift and comprehensive  DFT mantra l Provide controllability and observability  Components of DFT strategy l Provide test patterns that guarantee reasonable coverage l Provide circuitry to enable testing

CSE477 L28 DFT.4Irwin&Vijay, PSU, 2003 Two Important Test Properties  Controllability - measures the ease of bringing a node to a given condition using only the input pins  Observability - measures the ease of observing the value of a node at the output pins  Need both! l combinational circuits are both - so relatively easy to determine test patterns l state in sequential circuits problematic - so turn into a combinational circuit (or use self-test)

CSE477 L28 DFT.5Irwin&Vijay, PSU, 2003 Generating and Validating Test Vectors  Automatic test-pattern generation (ATPG) l for given fault, determine excitation vector (called test vector) that will propagate error to primary (observable) output l majority of available tools: combinational networks only l sequential ATPG available from academic research  Fault simulation l determines test coverage of proposed test-vector set l simulates correct network in parallel with faulty networks  Both require adequate models of faults in CMOS integrated circuits

CSE477 L28 DFT.6Irwin&Vijay, PSU, 2003 Fault Models Stuck-at models sa0 - stuck at zero (short-circuit to GND) sa1 - stuck at one (short-circuit to V dd ) A B C Z   

CSE477 L28 DFT.7Irwin&Vijay, PSU, 2003 Fault Models Stuck-at models sa0 - stuck at zero (short-circuit to GND) sa1 - stuck at one (short-circuit to V dd ) A B C Z     - A sa1  - A sa0 or B sa0  - C sa1 or Z sa0

CSE477 L28 DFT.8Irwin&Vijay, PSU, 2003 Problem with Stuck-at Model  A B BA Z A B Z

CSE477 L28 DFT.9Irwin&Vijay, PSU, 2003 Problem with Stuck-at Model sequential effect - needs two vectors to ensure detection  A B BA Z A B Z Z i-1 output node floats (retains old value)

CSE477 L28 DFT.10Irwin&Vijay, PSU, 2003 Path Sensitization  Determine the input pattern that makes a fault controllable (triggers the fault) and observable (makes its impact visible at the output nodes) A B C D E U X Y Z sa0 Controllable: Observable:

CSE477 L28 DFT.11Irwin&Vijay, PSU, 2003 Path Sensitization  Determine the input pattern that makes a fault controllable (triggers the fault) and observable (makes its impact visible at the output nodes) A B C D E U X Y Z sa0 Controllable: Observable: Try to set U to 1  A = 1 and B = 1 Propagate U to Z  X = 1 and E =

CSE477 L28 DFT.12Irwin&Vijay, PSU, 2003 Test Problem Size comb logic module N inputs K outputs 2 N input patterns comb logic module N inputs K outputs 2 N+M input patterns M state regs

CSE477 L28 DFT.13Irwin&Vijay, PSU, 2003 Test Problem Size comb logic module N inputs K outputs 2 N input patterns comb logic module N inputs K outputs 2 N+M input patterns M state regs N=20  1 million patterns 1  sec/pattern  1 second test N=20, M=10  1 billion patterns 1  sec/pattern  16 minute test

CSE477 L28 DFT.14Irwin&Vijay, PSU, 2003 Reducing Number of Test Vectors  Two features can be exploited to reduce the number of test vectors  Redundancy - a single fault in the circuit is usually covered by several input patterns; detection of the fault requires only one  Reduced fault coverage - relax the requirement that all faults be detected (95% to 99% fault coverage is typical)

CSE477 L28 DFT.15Irwin&Vijay, PSU, 2003 Test Approaches  Scan based test  Self test  Ad-hoc testing Problem is getting harder l increasing complexity and heterogeneous combination of modules in system-on-a-chip. l advanced packaging and assembly techniques extend problem to the board level

CSE477 L28 DFT.16Irwin&Vijay, PSU, 2003 Scan Based Test Comb logic A regAregA Comb logic B regBregB InOut ScaninScanout Two operational modes normal mode (N-bit wide clocked registers) test mode (registers chained as a single serial shift register) run  test  run  test 

CSE477 L28 DFT.17Irwin&Vijay, PSU, 2003 Scan Path FF Implementation Q (& scanout) D QMQM run  scanin test 

CSE477 L28 DFT.18Irwin&Vijay, PSU, 2003 Polarity Hold Shift FF flipflop latch Q system data !Q scanout !scanout run  scanin testA  testB  Introduced at IBM and set as company policy for all designs

CSE477 L28 DFT.19Irwin&Vijay, PSU, 2003 Scan Register FF Test !Test Test In 0 Out 0 Scanin FF Test !Test Test In 1 Out 1 FF Test !Test Test In 2 Out 2 FF Test !Test Test In 3 Out 3 Scanout Test Clock N cycles scan in N cycles scan out 1 cycle evaluate

CSE477 L28 DFT.20Irwin&Vijay, PSU, 2003 Scan Path Testing Partial scan can be more effective for pipelined datapaths REG[5] REG[4] REG[3]REG[2] REG[0]REG[1] COMP OUT SCANIN COMPIN SCANOUT AB

CSE477 L28 DFT.21Irwin&Vijay, PSU, 2003 Boundary Scan (JTAG) Board testing becoming as problematic as chip testing

CSE477 L28 DFT.22Irwin&Vijay, PSU, 2003 Built in Self Test (BIST)  The circuit decides if the results are correct!  Need a way to supply test patterns (stimulus generator) and to compare the circuit’s responses to a known correct sequence (response analyzer) (Sub)circuit under test Stimulus generator Response analyzer Test controller

CSE477 L28 DFT.23Irwin&Vijay, PSU, 2003 Stimulus Generator (LRSR) A1A1 A2A2 A3A3 Pseudo-random pattern generator A0A

CSE477 L28 DFT.24Irwin&Vijay, PSU, 2003 Response Analyzer Counter Latch In Counts the number of 0  1 and 1  0 transitions Counter value (signature of the circuit) is then compared to the known correct count Signature Analysis to comparison circuitry

CSE477 L28 DFT.25Irwin&Vijay, PSU, 2003 Response Analyzer Counter Latch In Counts the number of 0  1 and 1  0 transitions Counter value (signature of the circuit) is then compared to the known correct count Signature Analysis 0  0  1  0  1  0 0  1  0  1  0  0 0  1  1  1  1  0 to comparison circuitry 4

CSE477 L28 DFT.26Irwin&Vijay, PSU, 2003 BILBO R In 0 S0S0 R S1S1 In 1 R In 2 S2S2 B0B0 B1B1 scanin scaniout B0B0 B1B1 Op Mode

CSE477 L28 DFT.27Irwin&Vijay, PSU, 2003 BILBO R In 0 S0S0 R S1S1 In 1 R In 2 S2S2 B0B0 B1B1 scanin scaniout B0B0 B1B1 Op Mode 1 1 Normal 0 0 Scan In 0 In 1 In sc !sc !S 0 !S 1

CSE477 L28 DFT.28Irwin&Vijay, PSU, 2003 BILBO R In 0 S0S0 R S1S1 In 1 R In 2 S2S2 B0B0 B1B1 scanin scaniout B0B0 B1B1 Op Mode 1 1 Normal 0 0 Scan 1 0 BIST 0 1 Reset In 0 In 1 In sc !sc !S 0 !S 1 In i  !S i-1

CSE477 L28 DFT.29Irwin&Vijay, PSU, 2003 Use of BILBO Comb logic A BILBO A Comb logic B InOut seedinScanout Reg A is a BILBO register doing pattern generation to test Comb logic A run  test  Reg B is a BILBO register doing signature analysis to test Comb logic A BILBO B run  test 

CSE477 L28 DFT.30Irwin&Vijay, PSU, 2003 Ad-Hoc Test Inserting multiplexer improves testability I/O bus data Memory Processor address I/O bus data Memory Processor address test select

CSE477 L28 DFT.31Irwin&Vijay, PSU, 2003 Memory Self Test FSM Memory Under Test Signature Analysis data_in address & R/W control data_out Patterns: Writing/Reading 0s, 1s, Walking 0s, 1s Galloping 0s, 1s