Chap1. Fundamentals.1 Fundamentals on Testing and Design for Testability.

Slides:



Advertisements
Similar presentations
IC TESTING.
Advertisements

Digital Integrated Circuits© Prentice Hall 1995 Design Methodologies Design for Test.
Chapter 3 Fault Modeling
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.
CMP238: Projeto e Teste de Sistemas VLSI Marcelo Lubaszewski Aula 2 - Teste PPGC - UFRGS 2005/I.
Slides based on Kewal Saluja
March 23, 2001VLSI Test: Bushnell-Agrawal/Lecture 211 Lecture 21 I DDQ Current Testing n Definition n Faults detected by I DDQ tests n Vector generation.
9. Fault Modeling Reliable System Design 2011 by: Amir M. Rahmani.
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 2005, Agrawal & BushnellVLSI Test: Lecture 19alt1 Lecture 19alt I DDQ Testing (Alternative for Lectures 21 and 22) n Definition n Faults detected.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 211 Lecture 21 I DDQ Current Testing n Definition n Faults detected by I DDQ tests n Vector generation.
Modern VLSI Design 2e: Chapter 4 Copyright  1998 Prentice Hall PTR Topics n Switch networks. n Combinational testing.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 11 Lecture 1 Introduction n VLSI realization process n Verification and test n Ideal and real tests.
Output Hazard-Free Transition Tests for Silicon Calibrated Scan Based Delay Testing Adit D. Singh Gefu Xu Auburn University.
Spring 08, Mar 13 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 VLSI Test Principles Vishwani D. Agrawal James.
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.
EE141 Chapter 1 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.
Build-In Self-Test of FPGA Interconnect Delay Faults Laboratory for Reliable Computing (LaRC) Electrical Engineering Department National Tsing Hua University.
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 231 ELEN 468 Advanced Logic Design Lecture 23 Testing.
EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
공과대학 > IT 공학부 Embedded Processor Design Chapter 8: Test EMBEDDED SYSTEM DESIGN 공과대학 > IT 공학부 Embedded Processor Design Presenter: Yvette E. Gelogo Professor:
Introduction to Digital Logic Design Appendix A of CO&A Dr. Farag
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES Fault Modeling.
Technical University Tallinn, ESTONIA 1 Boolean derivatives Calculation of the Boolean derivative: Given:
Modern VLSI Design 4e: Chapter 4 Copyright  2008 Wayne Wolf Topics n Switch networks. n Combinational testing.
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.
CSE477 L28 DFT.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 28: Design for Test Mary Jane Irwin ( )
Unit I Testing and Fault Modelling
Chapter 7. Testing of a digital circuit
CSE 494: Electronic Design Automation Lecture 2 VLSI Design, Physical Design Automation, Design Styles.
Testing of Digital Systems: An Introduction Dr. Aiman H. El-Maleh Computer Engineering Department King Fahd University of Petroleum & Minerals Dr. Aiman.
Basic Sequential Components CT101 – Computing Systems Organization.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
4. Combinational Logic Networks Layout Design Methods 4. 2
Chapter 7 Logic Circuits 1.State the advantages of digital technology compared to analog technology. 2. Understand the terminology of digital circuits.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 41 Lecture 4 Yield Analysis & Product Quality n Yield and manufacturing cost n Clustered defect yield.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Fault Models, Fault Simulation and Test Generation Vishwani D. Agrawal Department of ECE, Auburn University Auburn, AL 36849, USA
TOPIC : Different levels of Fault model UNIT 2 : Fault Modeling Module 2.1 Modeling Physical fault to logical fault.
Section 1  Quickly identify faulty components  Design new, efficient testing methodologies to offset the complexity of FPGA testing as compared to.
EE434 ASIC & Digital Systems Partha Pande School of EECS Washington State University
Fault modeling is the translation of physical defects into a mathematical construct that can be operated upon algorithmically and.
Bi-CMOS Prakash B.
An introduction to Fault Detection in Logic Circuits By Dr. Amin Danial Asham.
CS/EE 3700 : Fundamentals of Digital System Design
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
Manufacture Testing of Digital Circuits
Jan. 26, 2001VLSI Test: Bushnell-Agrawal/Lecture 51 Lecture 5 Fault Modeling n Why model faults? n Some real defects in VLSI and PCB n Common fault models.
Silicon Programming--Testing1 Completing a successful project (introduction) Design for testability.
TOPIC : Introduction to Faults UNIT 2: Modeling and Simulation Module 1 : Logical faults due to physical faults.
TOPIC : Fault detection and fault redundancy UNIT 2 : Fault modeling Module 2.3 Fault redundancy and Fault collapsing.
TOPIC : Introduction to Faults UNIT 2: Modeling and Simulation Module 1 : Logical faults due to physical faults.
VLSI Testing Class Fault Modeling 李昆忠 Kuen-Jong Lee Dept. of Electrical Engineering National Cheng-Kung University Tainan, Taiwan.
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.
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.
Introduction to ASICs ASIC - Application Specific Integrated Circuit
Sequential Logic Design
COUPING WITH THE INTERCONNECT
VLSI Testing engr. uconn. edu/~tehrani/teaching/test/index
ELEC Digital Logic Circuits Fall 2014 Logic Testing (Chapter 12)
Lecture 5 Fault Modeling
Automatic Test Generation for Combinational Circuits
VLSI Testing Lecture 7: Delay Test
VLSI Testing Lecture 3: Fault Modeling
ELEC Digital Logic Circuits Fall 2015 Logic Testing (Chapter 12)
Manufacturing Testing
Presentation transcript:

Chap1. Fundamentals.1 Fundamentals on Testing and Design for Testability

Chap1. Fundamentals.2 Design Verification, Testing and Diagnosis Design Verification: Ascertain the design perform its specified behavior Testing: Exercise the system and analyze the response to ascertain whether it behaves correctly Diagnosis: To locate the cause of misbehavior after the incorrect behavior is detected

Chap1. Fundamentals.3 Some Real Defects in Chips Processing Faults –missing contact windows –parasitic transistors –oxide breakdown Material Defects –bulk defects (cracks, crystal imperfections) –surface impurities (ion migration) Time-Dependent Failures –dielectric breakdown –electromigration Packaging Failures –contact degradation –seal leaks

Chap1. Fundamentals.4 Faults, Errors and Failures Fault: A physical defect within a circuit or a system – May or may not cause a system failure Error: Manifestation of a fault that results in incorrect circuit (system) outputs or states – Caused by faults Failure: Deviation of a circuit or system from its specified behavior – Fails to do what it should do – Caused by an error Fault ---> Error ---> Failure

Chap1. Fundamentals.5 Scenario for Manufacture Test TEST VECTORS MANUFACTURED CIRCUIT COMPARATOR CIRCUIT RESPONSE PASS/FAIL CORRECT RESPONSES

Chap1. Fundamentals.6 Purpose of Manufacture Testing Verify Manufacture of Circuit –Improve System Reliability –Diminish System Cost Cost of repair goes up by an order of magnitude each step away from fab line IC Test Board Test System Test Warranty Repair Cost per fault (Dollars) B. Davis,The Economics of Automatic Testing, McGRAW-HILL, 1982.

Chap1. Fundamentals.7 Testing and Quality ASIC Fabrication Testing Yield: Fraction of good parts Rejects Shipped Parts Quality: Defective parts per million (DPM) * Quality of shipped part is a function of yield Y and the test (fault) coverage T.

Chap1. Fundamentals.8 Fault Coverage * Fault coverage T is the measure of the ability of a set of tests to detect a given class of faults that may occur on the device under test. T= # of detected faults # of possible faults

Chap1. Fundamentals.9 Defect Level * Defect Level, DL is the fraction of the shipped parts that are defective. DL= 1 - Y (1-T) Y: yield T: fault coverage

Chap1. Fundamentals.10 Relating Defect Level to Fault Coverage Y=.99 Y=.90 Y=.75 Y=.50 Y=.25 Y=.10 Y=.01 Y = Yield Fault Coverage, T (%) DL = 1 -Y (1-T)

Chap1. Fundamentals.11 Defect Level, Yield and Fault Coverage 50%90%67,000 75%90%28,000 90% 10,000 95%90%5,000 99%90%1,000 90% 10,000 90%95%5,000 90%99%1,000 90%99.9%100 Yield Fault Coverage DPM

Chap1. Fundamentals.12 ASIC What is ASIC: Application Specific Integrated Circuits –Why we need ASICs Microelectronic economics –Volume –Time to market –Quality

Chap1. Fundamentals.13 ASICs' Demand * While ASIC density and complexity have exploded, global market pressures have increased the demand for bothQuality and Quick Turnaround.

Chap1. Fundamentals.14 Test Development Time vs. Testability Controllability and observability as a percentage of circuit covered Measured development times Extrapolated curve

Chap1. Fundamentals.15 Time-to-Market Model Lost revenue due to delay Time GrowthStagnationDecline Delay in reaching market *1/8 delay of the product lifetime reduces 1/3 revenue.

Chap1. Fundamentals.16 Why Testing is Difficult ? Test application time can be exploded for exhaustive testing of VLSI –For a combinational circuit with 50 inputs, we need 2 50 = 1.126x10 15 test patterns. Assume one test per sec, it takes 1.125x10 8 sec = 3.57yrs. to test such a circuit. –Test generation of sequential circuits are even more difficult. »Lack of Controllability and Observability of Flip-Flops (Latches) Functional testing may not be able to detect the physical faults

Chap1. Fundamentals.17 How To Do Test Fault Modeling –Identify target faults –Limit the scope of test generation –Make analysis possible Test Generation –Automatical or Manual Fault Simulation –Assess completeness of tests Testability Analysis –Analyze a circuit for potential problem on test generation Design For Testability –Design a circuit for guaranteed test generation –Introduce both area overhead and performance degradation

Chap1. Fundamentals.18 The New Challenges for VLSI Testing Chip, Board, Module & System for high –Performance –Density –Integration –Reliability

Chap1. Fundamentals.19 Reference: 《 Digital Systems testing and testable design 》 ISBN : 0 - 7167 - 8179 - 4 Author : Breuer mELVIN a. etc 《 VLSI Testing digital and mixed analogure/digital techinques 》 ISBN : Author : Stanley Lhurst

Chap1. Fundamentals.20 DEC Alpha Chip (1994) * 64-bit RISC * 200 MHz * 400 MIPS * 200 Mflops * 16.8  13.9-mm die * 1.68 million Txs * 431-pin package * 3.3-V * 30W power consumption.

Chap1. Fundamentals.21 Multi-Chip Module (MCM) * IBM Enterprise System/9000* Type 9121 Model 320 * Air-Cooled Processor Technology * Integration of bipolar chips, CMOS SRAM chips, and ECL & DCS logic circuitry in a TCM (thermal conduction module) (Ref: IBM J. RES. DEVELOP., May 1991)

Chap1. Fundamentals.22 Wafer Scale Integration (WSI) * ELSA (European Large SIMD Array), a wafer-scale two-dimensional array of single-bit processors * MUSE (Matrix Update Systolic Experiment), MIT Lincoln Laboratory

Chap1. Fundamentals.23 Traditional Design Flow Conduct testing after design Design Spec. Design Too Large or Too Slow? Testability Analysis Testability Improvement? Done Design for Testability No Yes No Yes

Chap1. Fundamentals.24 The Infamous Design/Test Wall 30 years of experience proves that test after design does not work! Functionally correct! We're done! Oh no! What does this chip do?! Design EngineeringTest Engineering

Chap1. Fundamentals.25 New Design Mission Design circuit to optimally satisfy or trade-off their design constraints in terms of area, performance and testability. PERFORMANCEAREA TESTABILITY

Chap1. Fundamentals.26 New VLSI Design Flow Structure Logic Synthesis Function/ Behavior Design Spec. No Satisfied ? Circuit Synthesis Placement/ Routing ATPGMASKTESTS Yes Testability Analysis Testable Design Rules Test plan

Chap1. Fundamentals.27 Why Model Faults ? I/O function tests inadequate for manufacturing –Functionality vs. component & interconnection testing Exhaustive testing is Prohibitively expensive

Chap1. Fundamentals.28 Why Model Faults ? Fault model identifies target faults –Model faults most likely to occur Fault model limits the scope of test generation –Creat tests only for the modeled faults Fault model makes effectiveness measurable by experiments –Fault coverage can be computed for specific test patterns to reflect its effectiveness Fault model makes analysis possible –Associate specific defects with specific test patterns

Chap1. Fundamentals.29 Fault Modeling Modeling the effects of physical defects on the logic function and timing. Physical Defects: – Silicon Defects – Photolithographic Defects – Mask Contamination – Process Variations – Defective Oxide

Chap1. Fundamentals.30 Fault Modeling (cont'd) Electrical Effects: – Shorts (Bridging Faults) – Opens – Transistor Stuck-On/Open – Resistive Shorts and Opens – Change in Threshold Voltages Logic Effects: – Logic Stuck-At-0/1 – Slower Transition (Delay Faults) – AND-Bridging, OR-Bridging

Chap1. Fundamentals.31 Fault Modeling * Stuck-At Faults * Bridging Faults * Transistor Stuck-On/Open Faults * IDDQ Faults * Functional Faults * Memory Faults * PLA Faults * Delay Faults * State Transition Faults

Chap1. Fundamentals.32 Single Stuck-At Faults /0 stuck-at-0 True Response Test Vector Faulty Response Assumptions: Only one line is faulty. Faulty line permanently set to 0 or 1. Fault can be at an input or output of a gate.

Chap1. Fundamentals.33 Multiple Stuck-At Faults Several stuck-at faults occur at the same time –Important in high density circuits For a circuit with k lines –there are 2k single stuck-at faults –there are 3 k -1 multiple stuck-at faults

Chap1. Fundamentals.34 Why Single Stuck-At Fault Model? * Complexity is greatly reduced. Many different physical defects may be modeled by the same logical single stuck-at fault. * Single stuck-at fault is technology independent. Can be applied to TTL, ECL, CMOS, etc. * Single stuck-at fault is design style independent. Gate Arrays, Standard Cell, Custom VLSI * Even when single stuck-at fault does not accurately model physical defects, the tests derived for logic faults are still valid for these defects. * Single stuck-at tests cover a large percentage of multiple stuck-at faults.

Chap1. Fundamentals.35 Multiple Faults Multiple Stuck-fault coverage by single-fault tests of combinational circuit: –4-bit ALU (Hughes & McCluskey, ITC-84) All double and most triple-faults covered. –Large circuits (Jacob & Biswas, ITC-87) Almost 100% multiple faults covered for circuits with 3 or more outputs. No results available for sequential circuits.

Chap1. Fundamentals.36 Bridging Faults A B f g A B f g A B f g A B f g Two or more normally distinct points (lines) are shorted together –Logic effect depends on technology –Wired-AND for TTL –Wired-OR for ECL –CMOS ?

Chap1. Fundamentals.37 CMOS Transistor Stuck-ON 0 stuck-on ? IDDQ * Transistor stuck-on may cause ambiguous logic level. * When input is low, both P and N transistors are conducting causing increased quiescent current, called IDDQ fault. –depends on the relative impedances of the pull-up & pull-down networks

Chap1. Fundamentals.38 CMOS Transistor Stuck-OPEN 0 stuck-open ? = previous state * Transistor stuck-open may cause output floating.

Chap1. Fundamentals.39 CMOS Transistor Stuck-OPEN (cont'd) 0 1 stuck-open 1 0/0 0 Initialization vector memory behaviour Can turn the circuit into a sequential one Stuck-open faults require two-vector tests

Chap1. Fundamentals.40 Fault Coverage in a CMOS Chip Test Vectors stuck and open faults stuck faults only

Chap1. Fundamentals.41 Summary of Stuck-Open Faults * First report: Wadsack, Bell Syst. Tech. J., 1978 * Recent results: Woodhall, et al, ITC-87 Experiment with 1-micron CMOS chips: – 4552 chips passed parametric test – 1255 chips (27.57%) failed tests for stuck-at faults – 44 chips (0.97%) failed tests for stuck-open faults – 4 chips with stuck-open faults passed tests for stuck-at faults Conclusion – Stuck-at faults are about 29 times more frequent than stuck-open faults – About 91% of chips with stuck-open faults may also have stuck-at faults – Faulty chips escaping tests for stuck-at faults = 0.121%

Chap1. Fundamentals.42 Functional Faults * Fault effects modeled at a higher level than logic for function modules, such as Decoders Multiplexers Adders Counters RAMs ROMs

Chap1. Fundamentals.43 Functional Faults of Decoder f(L i /L j ): Instead of line L i, Line L j is selected f(L i /L i +L j ): In addition to L i, L j is selected f(L i /0): None of the lines are selected 2-bit Decoder A B AB

Chap1. Fundamentals.44 Memory Faults Parametric Faults –Output Levels –Power Consumption –Noise Margin –Data Retention Time Functional Faults –Stuck Faults in Address Register, Data Register, and Address Decoder –Cell Stuck Faults –Adjacent Cell Coupling Faults –Pattern-Sensitive Faults

Chap1. Fundamentals.45 Memory Faults Pattern-sensitive faults: the presence of a faulty signal depends on the signal values of the nearby points –Most common in DRAMs Adjacent cell coupling faults –Pattern sensitivity between a pair of cells d b 0 a 0 a=b=0 => d=0 a=b=1 => d=1

Chap1. Fundamentals.46 Memory Testing * Test sequences can be derived without much difficulty for each specific fault. However, the length of the test sequence can be prohibitive. e.g. A pattern sensitive test is5n 2 long for an n-bit RAM. – Testing a 1-M bit chip at 10 ns per pattern would take 14 hours. – For a 64-M bit chip it would take 6 years.

Chap1. Fundamentals.47 PLA Faults * Stuck Faults * Crosspoint Faults Extra/Missing Transistors * Bridging Faults * Break Faults

Chap1. Fundamentals.48 Stuck Faults in PLA ABC f1 f2 P1 P2 ABCf1f2 P1 P2 AND-ArrayOR-Array * S-A-0 & S-A-1 on inputs, input invertors, product lines, and outputs * Easy to simulate in gate model Gate-level representation

Chap1. Fundamentals.49 Missing Crosspoint Faults in PLA ABCf1f2 ABC f1 f2 Growth Disappearance s-a-1 s-a-0 * Missing crosspoint in AND-array -- Growth fault * Missing crosspoint in OR-array -- Disappearance fault Equivalent stuck fault representation

Chap1. Fundamentals.50 Extra Crosspoint Faults in PLA * Extra crosspoint in AND-array -- Shrinkage or disappearance fault * Extra crosspoint in OR-array -- Appearance fault Equivalent stuck fault representation ABCf1f2 ABC f1 f2 Disapp. "1" Shrinkage "0" Appearance

Chap1. Fundamentals.51 Bridging Faults in PLA * Shorting of adjacent lines (layout dependent) * Faulty value identical on shorted lines * Faulty value AND/OR function of shorted signals * A large number of bridging faults map into stuck or crosspoint faults

Chap1. Fundamentals.52 Summary of PLA Faults * Crosspoint Faults - 80 ~ 85% covered by stuck-fault tests - Layout-dependence in folded PLA * Bridging Faults - 99% covered by stuck-fault tests - Layout-dependence inall PLA (Ref: Agrawal & Johnson, ICCD-86)

Chap1. Fundamentals.53 Why Delay Testing? * There are defects on the chip which allows it to pass the DC stuck-fault testing, but causes it to fail when operated at system speed. – A chip may pass testing under 1MHz operation but not under 10 MHz

Chap1. Fundamentals.54 Gate-Delay-Fault Slow to rise, slow to fall –x is slow to rise when channel resistance R1 is abnormally high VDD C L X X L ---> H R1 R p : channel resistance

Chap1. Fundamentals.55 Gate-Delay-Fault * Disadvantage: Delay faults resulting from the sum of several small incremental delay defects may not be detected. slow

Chap1. Fundamentals.56 Path-Delay-Fault Propagation delay of the path exceeds the clock interval. The number of paths grows exponentially with the number of gates.

Chap1. Fundamentals.57 State Transition Graph * Each state transition is associated with 4 tuple: (source state, input, output, destination state) S2S3 S1 I2/O2I1/O1

Chap1. Fundamentals.58 Single State Transition Fault Model S2S3 S1 I/O * A fault causes a single state transition to a wrong destination state.

Chap1. Fundamentals.59 Single State Transition Fault Model * Has M(N-1) faults for a M-transition N-state machine * Is modeled in the state transition level and independent of implementation * Is dominated by most physical faults for all possible implementation (cont'd)

Chap1. Fundamentals.60 Transition Faults in State Graph * Any irredundant physical faults will cause some changes in the state graph. – Single or multiple transitions will be corrupted. – A transition is corrupted if its: (a) Output label is changed, or (b) Destination state is changed, or (c) Both (a) and (b). – A test to type (b) fault will detect type (a) and (c) faults.

Chap1. Fundamentals.61 Test for a State Transition Fault * A test sequence for a fault causing a type (b) corruption on a transition consists of three subsequences: (1)Initialization sequence (2) Input label of the faulty transition (3) State-pair differentiating sequence between good and faulty states CS S1 S2 S3 Sn S2' S3' Sn' I1/O1 I/OI'/O' I1'/O1' (1) (2) (3)

Chap1. Fundamentals.62 Test for a State Transition Fault (cont'd) * Subsequences (1) and (2) already produce faulty output responses if the output label of the target transition is corrupted. * Only need to generate tests for the state transition faults causing wrong destination states.

Chap1. Fundamentals.63 Multiple-State-Transition (MST) Faults * A test sequence that detects all MST faults detects all irredundant physical fault. * A machine of M transitions and N states has: N M MST faults M(N-1) SST faults

Chap1. Fundamentals.64 Why Logical Fault Modeling Fault analysis on logic rather than physical problem –Complexity is reduced Technology independent –Same fault model is applicable to many technologies –Testing and diagnosis methods remain valid despite changes in technology Tests derived may be used for physical faults whose effect on circuit behavior is not completely understood or too complex to be analyzed Stuck-at fault: The most popular logical fault model

Chap1. Fundamentals.65 Fault Detection A test(vector) t detects a fault f iff –t detects f Example x X 1 X 2 X 3 Z 1 Z 2 s-a-1 Z 1 =X 1 X 2 Z 2 2 X 3 Z 1f 1 Z 2f 2 X 3 zt   z f t   1 The test 100 detects f because z 1 (100)=0 while z 1f (100)=1

Chap1. Fundamentals.66 Sensitization z (1011)=0 z f (1011)= detects the fault f (G 2 stuck-at 1) v/v f : v = signal value in the fault free circuit v f = signal value in the faulty circuit X 1 X 2 X 3 X 4 G 1 G 2 G 3 G s-a-1 0/1 1 z

Chap1. Fundamentals.67 Sensitization A test t that detects a fault f –Activates f (or generate a fault effect) by creating different v and v f values at the site of the fault –Propagates the error to a primary output w by making all the lines along at least one path between the fault site and w have different v and v f values A line whose value in the test changes in the presence of the fault f is said to be sensitized to the fault f by the test A path composed of sensitized lines is called a sensitized path

Chap1. Fundamentals.68 Detectability A fault f is said to be detectable if there exists a test t that detects f ; otherwise, f is an undetectable fault For an undetectable fault f –No test can simultaneously activate f and create a sensitized path to a primary output z f x   zx 

Chap1. Fundamentals.69 Undetectable Fault G 1 output stuck-at-0 fault is undetectable –Undetectable faults do not change the function of the circuit –The related circuit can be deleted to simplify the circuit x s-a-0 a b c z G 1

Chap1. Fundamentals.70 Test Set Complete detection test set: A set of tests that detect any detectable faults in a class of faults The quality of a test set is measured by fault coverage Fault coverage: Fraction of faults that are detected by a test set The fault coverage can be determined by fault simulation –>95% is typically required for single stuck-at fault model –>99.9% in IBM

Chap1. Fundamentals.71 Typical Test Generation Flow Select target fault Generate test for target Fault simulate Discard detected faults No more faults Done

Chap1. Fundamentals.72 Fault Equivalence A test t distinguishes between faults  and  if Two faults,  &  are said to be equivalent in a circuit, iff the function under  is equal to the function under  for any input combination (sequence) of the circuit. – for all t –No test can distinguish between  and  –Any test which detects one of them detects all of them

Chap1. Fundamentals.73 Fault Equivalence AND gate: all s-a-0 faults are equivalent OR gate: all s-a-1 faults are equivalent NAND gate: all the input s-a-0 faults and the output s-a-1 faults are equivalent NOR gate: all input s-a-1 faults and the output s-a-0 faults are equivalent Inverter: input s-a-1 and output s-a-0 are equivalent input s-a-0 and output s-a-1 are equivalent

Chap1. Fundamentals.74 Equivalence Fault Collapsing n+2 instead of 2n+2 faults need to be considered for n-input gates s-a-1 s-a-0

Chap1. Fundamentals.75 Equivalence in a Wire * B-sa0 and B-sa1 need not to be considered. AB * Fault equivalence: A sao B sao A sa1 B sa1

Chap1. Fundamentals.76 Fault Equivalence Two equivalent faults are detected by exactly the same tests –three faults shown are equivalent s-a-1 s-a-0 s-a-1 x x x

Chap1. Fundamentals.77 Fault Dominance A fault  is said to dominate another fault  in an irredundant circuit, iff every test (sequence) for  is also a test (sequence) for . –No need to consider fault  for fault detection

Chap1. Fundamentals.78 Fault Dominance AND gate: Output s-a-1 dominates any input s-a-1 NAND gate: Output s-a-0 dominates any input s-a-1 OR gate: Output s-a-0 dominates any input s-a-0 NOR gate: Output s-a-1 dominates any input s-a-0 Dominance fault collapsing: The reduction of the set of faults to be analyzed based on dominance relation

Chap1. Fundamentals.79 Fault Dominance Detect A sa1: Detect C sa1: C sa1 --> A sa1 Similarly C sa1 --> B sa1 C sa0 --> A sa0 C sa0 --> B sa0 zt   z f t   CD  CE   D    D  CD  1  C  0, D  1  zt   z f t    CE   D  E   1  C  0, D  1  orC  0, E  1  A B C D E x x x

Chap1. Fundamentals.80 Equivalence & Dominance in a Single-Gate A B C A BC A sa1 B C A sa0 B C A sa0 B sa0 C sa0 C sa1 ---> A sa1 C sa1 ---> B sa1 * Fault equivalence: * Fault dominance: * A-sa0, B-sa0, and C-sa1 need not to be considered.

Chap1. Fundamentals.81 Fault Collapsing For each n-input gate, we only need to consider n+1 faults

Chap1. Fundamentals.82 Prime Fault  is a prime fault if every fault that is dominated by  is also equivalent to  Representative Set of Prime Fault (RSPF) –A set that consists of exactly one prime fault from each equivalence class of prime faults –True minimal RSPF is difficult to find

Chap1. Fundamentals.83 Why Fault Collapsing? # of total faults # of equivalent faults # of prime faults 160%40% * Memory & CPU-Time saving ===> To ease the burden for test generation and fault simulation in testing

Chap1. Fundamentals.84 Fault Collapsing for a Combinational Circuit * 30 total faults ==> 12 prime faults

Chap1. Fundamentals.85 Checkpoint Theorem Primary-input & Fanout-Branches ==> a sufficient and necessary set of checkpoints in irredundant combinational circuits –In fanout-free combinational circuits, primary inputs are the set of checkpoints Any test set which detects all signal (multiple) stuck faults on check points will detect all signal (multiple) stuck faults

Chap1. Fundamentals.86 Fault Collapsing The set of checkpoint faults can be further collapsed by using equivalence and dominance relation Example –10 checkpoint faults –a s-a-0 d s-a-0, c s-a-0 e s-a-0 b s-a-0 -> d -> 0, b s-a-1 -> d -> 1 –6 tests are enough a b c d e f g h

Chap1. Fundamentals.87 Problem 1.1 If the yield of good dice is 90%, and we want a defect level not to exceed 0.1%, what level of testing in terms of fault coverage must be achieved? 1.2 Given the market entry time verse revenue curves as shown in the figure, fill in the following formula 1a. Lost Revenue = Total Expected Revenue * [ ]; The answer should be in term of d and w. d is the delay entry, 2w is the product life. The two market growth rates are the same. 1b. Given a product with total expected revenue $100M, product life is 20 months, What is the revenue loss due to the one month late to the market?

Chap1. Fundamentals For state transition fault model, explain why there are M(N-1) faults for a M-transition N-state machine. Similarly explain why there are N M -1 multiple state transition faults. 1.4 For PLA, there are missing crosspoints and extra crosspoints faults in both AND-plane and OR-plane. Can missing crosspoints be modeled as equivalent stuck-at faults? Why? Can extra crosspoints be modeled as equivalent stuck-at faults? Why?

Chap1. Fundamentals For the PLA design shown in Figure 1, construct the Karnaugh maps for Y 1,Y 2 and Y 3 for each of the following situation. (a) The original PLA; (b) A shrinkage fault caused by an extra connection between bit line b 2 and product line P 4 ; (c) An appearance fault caused by an extra connection between P 3 and Y 1 ; (d) A growth fault caused by the missing connection between bit line b 4 and P 3 ; (e) A disappearance fault caused by the missing connection between P 1 and Y 3 ;

Chap1. Fundamentals Prove that for combinational circuits faults dominance is a transitive relation, i.e. if f dominates g and g dominates h, then f dominates h. 1.7 In the following circuit, a. How many single stuck-at faults needed to be considered initially? b. Applying the check point theorem, how many check point faults needed to be considered? c. Using fault dominance and fault equivalence relations to further reduce the number of stuck-at faults? How many remaining faults needed to be considered? a b c d f g h i e j k m

Chap1. Fundamentals In the circuit if any of the following tests detect the fault x 1 s-a-0 ? a. (0,1,1,1) b. (1,0,1,1) c. (1,1,0,1) d. (1,0,1,0) x 1 x 2 x 3 x 4 z