Oct. 2006 Fault Testing Slide 1 Fault-Tolerant Computing Dealing with Low-Level Impairments.

Slides:



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

Based on text by S. Mourad "Priciples of Electronic Systems" Digital Testing: Design Representation and Fault Detection
Apr. 2007SatisfiabilitySlide 1 Satisfiability A Lecture in CE Freshman Seminar Series: Ten Puzzling Problems in Computer Engineering.
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.
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.
Oct. 2007State-Space ModelingSlide 1 Fault-Tolerant Computing Motivation, Background, and Tools.
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 & BushnellVLSI Test: Lecture 91 Lecture 9 Combinational Automatic Test-Pattern Generation (ATPG) Basics n Algorithms and representations.
Oct State-Space Modeling Slide 1 Fault-Tolerant Computing Motivation, Background, and Tools.
Nov Malfunction Diagnosis and Tolerance Slide 1 Fault-Tolerant Computing Dealing with Mid-Level Impairments.
ECE 331 – Digital System Design
Logic Simulation 4 Outline –Fault Simulation –Fault Models –Parallel Fault Simulation –Concurrent Fault Simulation Goal –Understand fault simulation problem.
Apr. 2015SatisfiabilitySlide 1 Satisfiability A Lecture in CE Freshman Seminar Series: Ten Puzzling Problems in Computer Engineering.
Algorithms and representations Structural vs. functional test
Oct Combinational Modeling Slide 1 Fault-Tolerant Computing Motivation, Background, and Tools.
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.
ELEN 468 Lecture 241 ELEN 468 Advanced Logic Design Lecture 24 Design for Testability.
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 61 Design for Testability Theory and Practice Lecture 6: Combinational ATPG n ATPG problem n Example.
ECE Synthesis & Verification1 ECE 667 Spring 2011 Synthesis and Verification of Digital Systems Verification Introduction.
1 Introduction VLSI Testing. 2 Overview First digital products (mid 1940's) Complexity:low MTTF:hours Cost:high Present day products (mid 1980's) Complexity:high.
EECS 40 Spring 2003 Lecture 12S. Ross and W. G. OldhamCopyright Regents of the University of California More Digital Logic Gate delay and signal propagation.
Lecture 27 Memory and Delay-Fault Built-In Self-Testing
Oct. 2007Fault TestingSlide 1 Fault-Tolerant Computing Dealing with Low-Level Impairments.
Comparison of LFSR and CA for BIST
Ugur Kalay, Marek Perkowski, Douglas Hall Universally Testable AND-EXOR Networks Portland State University Speaker: Alan Mishchenko.
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.
ELEN 468 Lecture 251 ELEN 468 Advanced Logic Design Lecture 25 Built-in Self Test.
TOPIC - BIST architectures I
Technical University Tallinn, ESTONIA Overview: Fault Simulation Overview about methods Low (gate) level methods Parallel fault simulation Deductive fault.
Introduction to Digital Logic Design Appendix A of CO&A Dr. Farag
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES Fault Modeling.
Themes of Presentations Rule-based systems/expert systems (Catie) Software Engineering (Khansiri) Fuzzy Logic (Mark) Configuration Systems (Sudhan) *
EE 447/EE547 1 VLSI DESIGN Lecture 10 Design for Testability.
Unit II Test Generation
VLSI Testing Lecture 7: Combinational ATPG
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.
Chapter 7. Testing of a digital circuit
Fault models Stuck-at Stuck-at-1 Reset coupling 0 0 Set coupling Inversion coupling Transition  /0 0 1 Transition  /1 1.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Logic BIST Logic BIST.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTEMS
Page 1EL/CCUT T.-C. Huang Mar TCH CCUT Introduction to IC Test Tsung-Chu Huang ( 黃宗柱 ) Department of Electronic Eng. Chong Chou Institute of Tech.
ECE 260B – CSE 241A Testing 1http://vlsicad.ucsd.edu ECE260B – CSE241A Winter 2005 Testing Website:
An introduction to Fault Detection in Logic Circuits By Dr. Amin Danial Asham.
CS/EE 3700 : Fundamentals of Digital System Design
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
Counters.
Manufacture Testing of Digital Circuits
Silicon Programming--Testing1 Completing a successful project (introduction) Design for testability.
Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals.
Technical University Tallinn, ESTONIA Overview: Fault Simulation Overview about methods Low (gate) level methods Parallel fault simulation Deductive fault.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES Functional testing.
TOPIC : RTD, SST UNIT 5 : BIST and BIST Architectures Module 5.2 Specific BIST Architectures.
04/21/20031 ECE 551: Digital System Design & Synthesis Lecture Set : Functional & Timing Verification 10.2: Faults & Testing.
Technical University Tallinn, ESTONIA Overview: Fault Simulation Overview about methods Low (gate) level methods Parallel fault simulation Deductive fault.
Lecture 5: Design for Testability. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 12: Design for Testability2 Outline  Testing –Logic Verification –Silicon.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
1 VLSI Design Lecture Four Design & Testing Issues Dr. Richard Spillman PLU Spring 2003.
COUPING WITH THE INTERCONNECT
Algorithms and representations Structural vs. functional test
VLSI Testing Lecture 7: Combinational ATPG
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
Overview: Fault Diagnosis
Automatic Test Generation for Combinational Circuits
Fault Models, Fault Simulation and Test Generation
VLSI Testing Lecture 7: Combinational ATPG
Lecture 26 Logic BIST Architectures
Presentation transcript:

Oct Fault Testing Slide 1 Fault-Tolerant Computing Dealing with Low-Level Impairments

Oct Fault Testing Slide 2 About This Presentation EditionReleasedRevised FirstOct This presentation has been prepared for the graduate course ECE 257A (Fault-Tolerant Computing) by Behrooz Parhami, Professor of Electrical and Computer Engineering at University of California, Santa Barbara. The material contained herein can be used freely in classroom teaching or any other educational setting. Unauthorized uses are prohibited. © Behrooz Parhami

Oct Fault Testing Slide 3 Fault Testing

Oct Fault Testing Slide 4 The good news is that the tests don’t show any other problems

Oct Fault Testing Slide 5 Multilevel Model Component Logic Service Result Information System Legend: Tolerance Entry Today Next lecture

Oct Fault Testing Slide 6 Overview of Fault Testing FAULT TESTING (Engineering, Manufacturing, Maintenance) Correct design? Correct implementation? Correct Operation?

Oct Fault Testing Slide 7 Requirements and Setup for Testing Reference value Test pattern source Circuit under test (CUT) Comparator Pass/Fail Testability requires controllability and observability (redundancy may reduce testability if we are not careful; e.g., TMR) Reference value can come from a “gold” version or from a table Test patterns may be randomly generated, come from a preset list, or be selected according to previous test outcomes Test results may be compressed into a “signature” before comparing Test application may be off-line or on-line (concurrent) Easier to test if direct access to some inner points is possible

Oct Fault Testing Slide 8 Importance and Limitations of Testing “Trying to improve software quality by increasing the amount of testing is like trying to lose weight by weighing yourself more often.” Steve C. McConnell “Program testing can be used to show the presence of bugs, but never to show their absence!” Edsger W. Dijkstra Test coverage may be well below 100% (model inaccuracies and impossibility of dealing with all combinations of the modeled faults) Important to detect faults as early as possible Approximate cost of catching a fault at various levels Component $1 Board $10 System $100 Field $1000

Oct Fault Testing Slide 9 Fault Models at Different Abstraction Levels Fault model is an abstract specification of the types of deviations in logic values that one expects in the circuit under test Can be specified at various levels: transistor, gate, function, system Transistor-level faults Caused by defects, shorts/opens, electromigration, transients,... May lead to high current, incorrect output, intermediate voltage,... Modeled as stuck-on/off, bridging, delay, coupling, crosstalk faults Quickly become intractable because of the large model space Function-level faults Selected in an ad hoc manner based on the function of a block (decoder, ALU, memory) System-level faults (malfunctions, in our terminology) Will discuss later in section dealing with mid-level impairments

Oct Fault Testing Slide 10 Gate- or Logic-Level Fault Models Most popular models (due to their accuracy and relative tractability) Line stuck faults Stuck-at-0 (s-a-0) Stuck-at-1 (s-a-1) Line open faults Often can be modeled as s-a-0 or s-a-1 Delay faults (less tractable than the previous fault types) Signals experience unusual delays A B C S K s-a-0 Line bridging faults Unintended connection (wired OR/AND) Short (OR) Open Other faults Coupling, crosstalk

Oct Fault Testing Slide 11 Path Sensitization and D-Algorithm The main idea behind test design: control the faulty point from inputs and propagate its behavior to some output Example: s-a-0 fault Test must force the line to 1 This method is formalized in the D-algorithm A B C S K s-a-0 1/ Two possible tests (A, B, C) = (0 1 1) or (1 0 1) Forward trace (sensitization) Backward trace D-calculus 1/0 on the diagram above is represented as D 0/1 is represented as D Encounters difficulties with XOR gates (PODEM algorithm fixes this)

Oct Fault Testing Slide 12 Selection of a Minimal Test Set Each input pattern detects a subset of all possible faults of interest (according to our fault model) A B C S K E F G H J L NM P R Q Choosing a minimal test set is a covering problem ABCPQ s-a-0 s-a x 011x -x - 101? ?? ? 111? ?? ? Equivalent faults: e.g.,P s-a-0  L s-a-0  Q s-a-0 Q s-a-1  R s-a-1  K s-a-1

Oct Fault Testing Slide 13 Capabilities and Complexity of D-Algorithm Reconvergent fan-out Consider the s input s-a-0 PODEM solves the problem by setting y to D 1 D D z s y x Worst-case complexity of D-algorithm is exponential in circuit size Must consider all path combinations XOR gates cause the behavior to approach the worst case Average case is much better; quadratic PODEM: Path-oriented decision making Developed by Goel in 1981 Also exponential, but in the number of circuit inputs, not its size Simple path sensitization does not allow us to propagate the fault to the primary output z

Oct Fault Testing Slide 14 Boolean Difference K = f(A, B, C) = AB  BC  CA dK/dB= f(A, 0, C)  f(A, 1, C) = CA  (A  C) = A  C A B C S K E F G H J L NM P R Q s-a-0 K = PC  AB dK/dP= AB  (C  AB) = C(AB) Tests that detect P s-a-0 are solutions to the equation P dK/dP = 1 (A  B) C(AB) = 1  C = 1, A  B Tests that detect P s-a-1 are solutions to the equation P dK/dP = 1 (A  B) C(AB) = 1  C = 1, A = B = 0

Oct Fault Testing Slide 15 Complexity of Fault Testing The satisfiability problem (SAT) Decision problem: Is a Boolean expression satisfiable? (i.e., can we assign values to the variables to make the result 1?) Theorem (Cook, 1971): SAT is NP-complete In fact, even restricted versions of SAT remain NP-complete According to the Boolean difference formulation, test generation can be converted to SAT (find the solutions to P dK/dP = 1) To prove the NP-completeness of test generation, we need to show that SAT (or some other NP-complete problem) can be converted to test generation For a simple proof, see [Fuji85], pp

Oct Fault Testing Slide 16 Design for Testability: Combinational Increase controllability and observability via the insertion of degating mechanisms and control points Design for dual-mode operation Normal mode Test mode Degate Control/Observe AB Muxes Partitioned design AB Normal mode AB Test mode for A

Oct Fault Testing Slide 17 Design for Testability: Sequential Increase controllability and observability via provision of mechanisms to set and observe internal flip-flops Scan design Shift desired states into FF Shift out FF states to observe Combinational logic FF Mode control Combinational logic FF Partial scan design: Mitigates the excessive overhead of a full scan design

Oct Fault Testing Slide 18 Boundary Scan for Board-Level Testing Allows us to apply arbitrary inputs to circuit parts whose inputs would otherwise not be externally accessible Boundary scan elements of multiple parts are cascaded together into a scan path Any digital circuit Scan in Scan out Test clock Mode select From: Parallel out Parallel in

Oct Fault Testing Slide 19 Basic Boundary Scan Cell From:

Oct Fault Testing Slide 20 Built-in Self-Test (BIST) Reference value Test pattern source Circuit under test (CUT) Comparison Pass/Fail Test patterns may be generated (pseudo)randomly – e.g., via LFSRs Decision may be based on compressed test results Ordinary testing Test pattern generation Circuit under test (CUT) Decision Pass/Fail Built-in self-testing

Oct Fault Testing Slide 21 Quantifying Testability: Controllability N(0) = 7 N(1) = 1 CTF = 0.25 Controllability transfer factor CTF = 1 – N(0) – N(1) N(0) + N(1) N(0) = 1 N(1) = 7 CTF = 0.25 C output = (  i C input i / k)  CTF A line with very low controllability is a good place for test point insertion 0 Control point Controllability C of a line has a value between 0 and 1 k-input, 1-output components k-way fan-out C C / (1 + log k) for each of k

Oct Fault Testing Slide 22 Quantifying Testability: Observability A line with very low observability is a good place for test point insertion 1 Observation point Observability O of a line has a value between 0 and 1 k-input, 1-output components N(sp) = 1Sensitizations N(ip) = 3Inhibitions OTF = 0.25 Observability transfer factor OTF = N(sp) N(sp) + N(ip) O input i = O output  OTF k-way fan-out 1 –  (1 – O j ) O j for line j

Oct Fault Testing Slide 23 Quantifying Testability: Combined Measure Testability = Controllability  Observability Controllabilities Observabilities Testabilities Overall testability of a circuit = Average of line testabilities