Spring 08, Mar 27 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Fault Simulation Vishwani D. Agrawal James J.

Slides:



Advertisements
Similar presentations
High-Level Fault Grading. Improving Gate-Level Fault Coverage by RTL Fault Grading* * W. Mao and R. K. Gulati, ITC 1996, pp
Advertisements

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 13/12alt1 Lecture 13 Sequential Circuit ATPG Time-Frame Expansion (Lecture 12alt in the Alternative.
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.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES Logic Simulation.
Copyright 2001, Agrawal & BushnellDay-1 AM-3 Lecture 31 Testing Analog & Digital Products Lecture 3: Fault Modeling n Why model faults? n Some real defects.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 71 Lecture 7 Fault Simulation n Problem and motivation n Fault simulation algorithms n Serial n Parallel.
Design for Testability Theory and Practice
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 4a1 Design for Testability Theory and Practice Lecture 4a: Simulation n What is simulation? n Design.
Copyright 2001, Agrawal & BushnellDay-1 AM Lecture 11 Design for Testability Theory and Practice January 15 – 17, 2005 Vishwani D. Agrawal James J. Danaher.
Spring 07, Feb 6 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Verification Vishwani D. Agrawal James J. Danaher.
Logic Simulation 4 Outline –Fault Simulation –Fault Models –Parallel Fault Simulation –Concurrent Fault Simulation Goal –Understand fault simulation problem.
4/26/05Prasad: ELEC PROOFS: A Fault Simulation Algorithm Pratap S.Prasad ELEC 7250 Instructor: Prof. Vishwani Agrawal.
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 4b1 Design for Testability Theory and Practice Lecture 4b: Fault Simulation n Problem and motivation.
Spring 08, Apr 1 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Testability Measures Vishwani D. Agrawal James.
Spring 08, Jan 15 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Introduction Vishwani D. Agrawal James J. Danaher.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 9alt1 Lecture 9alt Combinational ATPG (A Shortened version of Original Lectures 9-12) n ATPG problem.
Test de Circuitos Integrados
Spring 07, Jan 16 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Introduction Vishwani D. Agrawal James J. Danaher.
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 61 Design for Testability Theory and Practice Lecture 6: Combinational ATPG n ATPG problem n Example.
Sep. 26, 2001Agrawal: Stratified Sampling1 Stratified Sampling for Fault Coverage of VLSI Systems Vishwani D. Agrawal Agere Systems, Murray Hill, NJ
Spring 07, Feb 8 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Logic Equivalence Vishwani D. Agrawal James J.
Lecture 5 Fault Simulation
Lecture 5 Fault Modeling
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 51 Lecture 5 Fault Modeling n Why model faults? n Some real defects in VLSI and PCB n Common fault.
Spring 07, Mar 8 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Timing Verification and Optimization Vishwani D.
Vishwani D. Agrawal James J. Danaher Professor
Spring 07, Jan 25 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 VLSI System DFT Vishwani D. Agrawal James J. Danaher.
Spring 07, Mar 1, 6 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Timing Simulation and STA Vishwani D. Agrawal.
Dominance Fault Collapsing of Combinational Circuits By Kalpesh Shetye & Kapil Gore ELEC 7250, Spring 2004.
Copyright 2001, Agrawal & BushnellDay-1 AM-1 Lecture 11 Testing Analog & Digital Products Dr. Vishwani D. Agrawal James J. Danaher Professor of Electrical.
Jan. 11, '02Kim, et al., VLSI Design'021 Mutiple Faults: Modeling, Simulation and Test Yong C. Kim University of Wisconsin, Dept. of ECE, Madison, WI 53706,
ELEN 468 Lecture 231 ELEN 468 Advanced Logic Design Lecture 23 Testing.
Spring 08, Feb 6 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Timing Verification and Optimization Vishwani D.
Spring 08, Apr 8 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Combinational Circuit ATPG Vishwani D. Agrawal.
EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Technical University Tallinn, ESTONIA Overview: Fault Simulation Overview about methods Low (gate) level methods Parallel fault simulation Deductive fault.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES Fault Modeling.
VLSI Testing Lecture 7: Combinational ATPG
CMP238: Projeto e Teste de Sistemas VLSI Marcelo Lubaszewski Aula 3 - Teste PPGC - UFRGS 2005/I.
6/5/2016 Based on text by S. Mourad "Priciples of Electronic Systems" Digital Testing: Fault Simulation.
Fault Models, Fault Simulation and Test Generation Vishwani D. Agrawal Department of ECE, Auburn University Auburn, AL 36849, USA
EE434 ASIC & Digital Systems Partha Pande School of EECS Washington State University
Copyright 2001, Agrawal & BushnellLecture 6: Sequential ATPG1 VLSI Testing Lecture 6: Sequential ATPG n Problem of sequential circuit ATPG n Time-frame.
1 CSCE 932, Spring 2007 Fault Coverage Analysis. 2 Fault Simulation.
Copyright 2001, Agrawal & BushnellLecture 6:Fault Simulation1 VLSI Testing Lecture 6: Fault Simulation Dr. Vishwani D. Agrawal James J. Danaher Professor.
ELEC Digital Logic Circuits Fall 2015 Delay and Power Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 51 Lecture 5 Fault Modeling n Why model faults? n Some real defects in VLSI and PCB n Common fault.
Fault Models, Fault Simulation and Test Generation Vishwani D. Agrawal Department of ECE, Auburn University Auburn, AL 36849, USA
Speaker: Nansen Huang VLSI Design and Test Seminar (ELEC ) March 9, 2016 Simulation-Based Equivalence Checking.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 61 Lecture 6 Logic Simulation n What is simulation? n Design verification n Circuit modeling n True-value.
VLSI Testing Lecture 5: Logic Simulation
VLSI Testing Lecture 5: Logic Simulation
Vishwani D. Agrawal Department of ECE, Auburn University
VLSI Testing Lecture 6: Fault Simulation
Lecture 7 Fault Simulation
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
VLSI Testing Lecture 6: Fault Simulation
VLSI Testing Lecture 7: Combinational ATPG
ELEC Digital Logic Circuits Fall 2014 Logic Testing (Chapter 12)
Vishwani D. Agrawal James J. Danaher Professor
Testing for Faults, Looking for Defects
VLSI Testing Lecture 8: Sequential ATPG
Fault Models, Fault Simulation and Test Generation
VLSI Testing Lecture 7: Combinational ATPG
VLSI Testing Lecture 4: Testability Analysis
VLSI Testing Lecture 3: Fault Modeling
Sungho Kang Yonsei University
ELEC Digital Logic Circuits Fall 2015 Logic Testing (Chapter 12)
Presentation transcript:

Spring 08, Mar 27 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Fault Simulation Vishwani D. Agrawal James J. Danaher Professor ECE Department, Auburn University Auburn, AL

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)2 Fault Simulation   Problem and motivation   Fault simulation algorithms   Serial   Parallel   Deductive   Concurrent   Random Fault Sampling   Summary   Review problems

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)3 Problem and Motivation   Fault simulation Problem: Given   A circuit   A sequence of test vectors   A fault model Determine   Fault coverage - fraction (or percentage) of modeled faults detected by test vectors   Set of undetected faults   Motivation   Determine test quality and in turn product quality   Find undetected fault targets to improve tests

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)4 Fault Simulator in VLSI Design Verified design netlist Verification input stimuli Fault simulatorTest vectors Modeled fault list Test generator Test compactor Fault coverage ? Remove tested faults Delete vectors Add vectors Low Adequate Stop

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)5 Fault Simulation Scenario   Circuit model: mixed-level   Mostly logic with some switch-level for high-impedance (Z) and bidirectional signals   High-level models (memory, etc.) with pin faults   Signal states: logic   Two (0, 1) or three (0, 1, X) states for purely Boolean logic circuits   Four states (0, 1, X, Z) for sequential MOS circuits   Timing:   Zero-delay for combinational and synchronous circuits   Mostly unit-delay for circuits with feedback

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)6 Fault Simulation Scenario (Cont.)   Faults:   Mostly single stuck-at faults   Sometimes stuck-open, transition, and path-delay faults; analog circuit fault simulators are not yet in common use   Equivalence fault collapsing of single stuck-at faults   Fault-dropping – a fault once detected is dropped from consideration as more vectors are simulated; fault-dropping may be suppressed for diagnosis   Fault sampling – a random sample of faults is simulated when the circuit is large

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)7 Fault Simulation Algorithms  Serial  Parallel  Deductive  Concurrent  Differential* * See M. L. Bushnell and V. D. Agrawal, Essentials of Electronic Testing for Digital, Memory and Mixed-Signal VLSI Circuits, Springer, 2000, Chapter 5.

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)8 Serial Algorithm   Algorithm: Simulate fault-free circuit and save responses. Repeat following steps for each fault in the fault list:   Modify netlist by injecting one fault   Simulate modified netlist, vector by vector, comparing responses with saved responses   If response differs, report fault detection and suspend simulation of remaining vectors   Advantages:   Easy to implement; needs only a true-value simulator, less memory   Most faults, including analog faults, can be simulated

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)9 Serial Algorithm (Cont.)   Disadvantage: Much repeated computation; CPU time prohibitive for VLSI circuits   Alternative: Simulate many faults together Test vectors Fault-free circuit Circuit with fault f1 Circuit with fault f2 Circuit with fault fn Comparator f1 detected? Comparator f2 detected? Comparator fn detected?

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)10 Parallel Fault Simulation   Compiled-code method; best with two-states (0,1)   Exploits inherent bit-parallelism of logic operations on computer words   Storage: one word per line for two-state simulation   Multi-pass simulation: Each pass simulates w-1 new faults, where w is the machine word length   Speed up over serial method ~ w-1   Not suitable for circuits with timing-critical and non- Boolean logic

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)11 Parallel Fault Simulation Example a b c d e f g s-a-1 s-a c s-a-0 detected Bit 0: fault-free circuit Bit 1: circuit with c s-a-0 Bit 2: circuit with f s-a-1

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)12 Deductive Fault Simulation   One-pass simulation   Each line k contains a list L k of faults detectable on it   Following true-value simulation of each vector, fault lists of all gate output lines are updated using set-theoretic rules, signal values, and gate input fault lists   PO fault lists provide detection data   Limitations:   Set-theoretic rules difficult to derive for non-Boolean gates   Gate delays are difficult to use

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)13 Deductive Fault Sim. Example b c d e f g {b 0, c 0 } {b0}{b0} {b 0, d 0 } = {a 0, b 0, c 0, e 0 } L g = (L e L f ) U {g 0 } = {a 0, c 0, e 0, g 0 } U {b 0, d 0, f 1 } Notation: L k is fault list for line k k n is s-a-n fault on line k Faults detected by the input vector a g 1 {a0}{a0} = {a 0, b 0, c 0, e 0 } 1

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)14 Concurrent Fault Simulation   Event-driven simulation of fault-free circuit and only those parts of the faulty circuit that differ in signal states from the fault-free circuit.   A list per gate containing copies of the gate from all faulty circuits in which this gate differs. List element contains fault ID, gate input and output values and internal states, if any.   All events of fault-free and all faulty circuits are implicitly simulated.   Faults can be simulated in any modeling style or detail supported in true-value simulation (offers most flexibility.)   Faster than other methods, but uses most memory.

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)15 Concurrent Fault Sim. Example a b c d e f g a0a0 b0b0 c0c0 e0e0 a0a0 b0b0 b0b0 c0c0 e0e0 d0d0 d0d0 g0g0 f1f1 f1f1

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)16 Fault Sampling   A randomly selected subset (sample) of faults is simulated.   Measured coverage in the sample is used to estimate fault coverage in the entire circuit.   Advantage: Saving in computing resources (CPU time and memory.)   Disadvantage: Limited data on undetected faults.

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)17 Motivation for Sampling   Complexity of fault simulation depends on:   Number of gates   Number of faults   Number of vectors   Complexity of fault simulation with fault sampling depends on:   Number of gates   Number of vectors

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)18 Random Sampling Model All faults with a fixed but unknown coverage Detected fault Undetected fault Random picking N p = total number of faults (population size) C = fault coverage (unknown) N s = sample size N s << N p c = sample coverage (a random variable)

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)19 Probability Density of Sample Coverage, c (x – C ) 2 - ───── 1 2σ 2 p (x) = Prob (x ≤ c ≤ x +dx ) = ─────── e σ (2 π) 1/2 p (x) C C +3σ C -3σ 1.0 x Sample coverage C (1 - C) Variance, σ 2 = ────── N s Mean = C Sampling error σ σ x

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)20 Sampling Error Bounds C (1 - C ) | x - C | = 3 [ ────── ] 1/2 N s Solving the quadratic equation for C, we get the 3-sigma (99.7% confidence) estimate: 4.5 C 3σ = x ± ── [ N s x (1 - x )] 1/2 N s Where N s is sample size and x is the measured fault coverage in the sample. Example: A circuit with 39,096 faults has an actual fault coverage of 87.1%. The measured coverage in a random sample of 1,000 faults is 88.7%. The above formula gives an estimate of 88.7% ± 3%. CPU time for sample simulation was about 10% of that for all faults.

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)21 Summary   Fault simulator is an essential tool for test development.   Concurrent fault simulation algorithm offers the best choice.   For restricted class of circuits (combinational and synchronous sequential with only Boolean primitives), differential algorithm can provide better speed and memory efficiency.   For large circuits, the accuracy of random fault sampling only depends on the sample size (1,000 to 2,000 faults) and not on the circuit size. The method has significant advantages in reducing CPU time and memory needs of the simulator.

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)22 Exercise   For the circuit shown above   Using the parallel fault simulation algorithm, determine which of the four primary input faults are detectable by the test 00.

Spring 08, Mar 27ELEC 7770: Advanced VLSI Design (Agrawal)23 Exercise Answer PI1=0 PI2= No fault PI1 s-a-0 PI1 s-a-1 PI2 s-a-0 PI2 s-a-1 PI2 s-a-1 detected Parallel fault simulation of four PI faults is illustrated below. Fault PI2 s-a-1 is detected by the 00 test input.