Fault Modeling. 李昆忠 Kuen-Jong Lee. Dept. of Electrical Engineering National Cheng-Kung University Tainan, Taiwan. VLSI Testing Class

Similar documents
Lecture 5 Fault Modeling

Chapter 2 Fault Modeling

Single Stuck-At Fault Model Other Fault Models Redundancy and Untestable Faults Fault Equivalence and Fault Dominance Method of Boolean Difference

Fault Modeling. Fault Modeling Outline

Introduction to VLSI Testing

Fault Tolerant Computing CS 530 Fault Modeling

FAULT MODELING. Chapter Defects, Errors, and Faults

VLSI Design I. Defect Mechanisms and Fault Models

Advanced Testing. EE5375 ADD II Prof. MacDonald

Fault Tolerant Computing CS 530 Fault Modeling. Yashwant K. Malaiya Colorado State University

Overview ECE 553: TESTING AND TESTABLE DESIGN OF. Memory Density. Test Time in Seconds (Memory Size n Bits) 10/28/2014

ECE-470 Digital Design II Memory Test. Memory Cells Per Chip. Failure Mechanisms. Motivation. Test Time in Seconds (Memory Size: n Bits) Fault Types

Outline Fault Simulation

S No. Questions Bloom s Taxonomy Level UNIT-I

ECE 3060 VLSI and Advanced Digital Design. Testing

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Memory, Latches, & Registers

Adders, subtractors comparators, multipliers and other ALU elements

Topics. Dynamic CMOS Sequential Design Memory and Control. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

EE141Microelettronica. CMOS Logic


S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques

Lecture 34: Portable Systems Technology Background Professor Randy H. Katz Computer Science 252 Fall 1995

Chapter 5. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 5 <1>

Adders, subtractors comparators, multipliers and other ALU elements

Lecture 7: Logic design. Combinational logic circuits

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Digital Integrated Circuits A Design Perspective

Clock signal in digital circuit is responsible for synchronizing the transfer to the data between processing elements.

Introduction to CMOS VLSI Design Lecture 1: Introduction

Floating Point Representation and Digital Logic. Lecture 11 CS301

! Charge Leakage/Charge Sharing. " Domino Logic Design Considerations. ! Logic Comparisons. ! Memory. " Classification. " ROM Memories.

EECS 579: Logic and Fault Simulation. Simulation

Chap 2. Combinational Logic Circuits

VLSI Design, Fall Logical Effort. Jacob Abraham

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

CMPEN 411. Spring Lecture 18: Static Sequential Circuits

Chapter 13. Clocked Circuits SEQUENTIAL VS. COMBINATIONAL CMOS TG LATCHES, FLIP FLOPS. Baker Ch. 13 Clocked Circuits. Introduction to VLSI

IHS 3: Test of Digital Systems R.Ubar, A. Jutman, H-D. Wuttke

Section 3: Combinational Logic Design. Department of Electrical Engineering, University of Waterloo. Combinational Logic

VLSI Design Verification and Test Simulation CMPE 646. Specification. Design(netlist) True-value Simulator

Combinational Logic. Mantıksal Tasarım BBM231. section instructor: Ufuk Çelikcan

Semiconductor Memories

Testability. Shaahin Hessabi. Sharif University of Technology. Adapted from the presentation prepared by book authors.

Lecture 16: Circuit Pitfalls

Chapter 2 Boolean Algebra and Logic Gates

ALU A functional unit

Name: Answers. Mean: 83, Standard Deviation: 12 Q1 Q2 Q3 Q4 Q5 Q6 Total. ESE370 Fall 2015

CMOS Digital Integrated Circuits Lec 13 Semiconductor Memories

7. Combinational Circuits

Logic Synthesis and Verification

EE115C Winter 2017 Digital Electronic Circuits. Lecture 19: Timing Analysis

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Introduction to Computer Engineering. CS/ECE 252, Fall 2012 Prof. Guri Sohi Computer Sciences Department University of Wisconsin Madison

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering

04. What is the Mod number of the counter circuit shown below? Assume initially reset.

ECE 1767 University of Toronto

Cs302 Quiz for MID TERM Exam Solved

COSC 243. Introduction to Logic And Combinatorial Logic. Lecture 4 - Introduction to Logic and Combinatorial Logic. COSC 243 (Computer Architecture)

Digital Integrated Circuits A Design Perspective. Semiconductor. Memories. Memories

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Xarxes de distribució del senyal de. interferència electromagnètica, consum, soroll de conmutació.

Chapter 5 CMOS Logic Gate Design

Topics. CMOS Design Multi-input delay analysis. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Lecture 22 Chapters 3 Logic Circuits Part 1

Intro To Digital Logic

Sample Test Paper - I

Fault Equivalence, Dominance & Collapsing. Fault Equivalence

CS311 Lecture: Introduction to Digital Logic

Very Large Scale Integration (VLSI)

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

EECS150 - Digital Design Lecture 26 - Faults and Error Correction. Types of Faults in Digital Designs

CPS311 Lecture: Introduction to Digital Logic

Computer organization

Static CMOS Circuits. Example 1

Topics to be Covered. capacitance inductance transmission lines

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

CPS311 Lecture: Introduction to Combinatorial Logic

DIGITAL LOGIC CIRCUITS

Lecture 9: Sequential Logic Circuits. Reading: CH 7

DIGITAL LOGIC CIRCUITS

Introduction to Computer Engineering. CS/ECE 252, Spring 2017 Rahul Nayar Computer Sciences Department University of Wisconsin Madison

VLSI. Faculty. Srikanth

UNIT 8A Computer Circuitry: Layers of Abstraction. Boolean Logic & Truth Tables

Lecture 6: Circuit design part 1

DO NOT COPY DO NOT COPY

CSE 140 Midterm 3 version A Tajana Simunic Rosing Spring 2015

Chapter 7. Sequential Circuits Registers, Counters, RAM

Issues on Timing and Clocking

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Fundamentals of Computer Systems

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

F14 Memory Circuits. Lars Ohlsson

GMU, ECE 680 Physical VLSI Design 1

CS470: Computer Architecture. AMD Quad Core

EC-121 Digital Logic Design

The Linear-Feedback Shift Register

EE 447 VLSI Design. Lecture 5: Logical Effort

Testability Measures controllability observability Controllability Observability

Transcription:

Fault Modeling 李昆忠 Kuen-Jong Lee Dept. of Electrical Engineering National Cheng-Kung University Tainan, Taiwan Class

Fault Modeling Some Definitions Why Modeling Faults Various Fault Models Fault Detection Fault Collapsing Fault model.2

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) Packaging Failures Contact degradation Seal leaks Time-Dependent Failures Dielectric breakdown Electromigration Fault model.3

Defects, Faults, Errors and Failures Defect: An unintended difference between the implemented hardware and its intended design Fault: A representation of a defect at abstracted functional level May or may not cause a problem 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 Defect ---> Fault ---> Error ---> Failure Fault model.4

Defect, Fault, and Error Example Defect: b short to ground Fault: signal b stuck-at 0 Error: a=1, b=1, output c=0 (correct output c=1) No Error when a=0 or b=0 a b c Fault model.5

Why Model Faults? Identifies target faults Model faults most likely to occur Limits the scope of test generation Create tests only for the modeled faults Makes analysis possible Associate specific defects with specific test patterns Makes test effectiveness measurable by experiments Fault coverage can be computed for specific test patterns to reflect its effectiveness Fault model.6

Fault Models Stuck-At Faults Bridging/break Faults Transistor Stuck-On/Open Faults Functional Faults Memory Faults Delay Faults Transition Faults State Transition Faults Fault model.7

Single Stuck-At Faults Test Vector 0 1 Faulty Response Fault-free Response 0 1/ 0 1 1 stuck-at-0 1/0 Assumptions: Only one line is faulty. (Why?) Faulty line permanently set to 0 or 1. Fault can be at an input or output of a gate. Fault model.8

Single Stuck-at Faults # single stuck-at fault sites in a Boolean gate circuit = #PI + #gates + # (fanout branches) Example: A 4-NAND XOR circuit has 12 fault sites ( ) and 24 single stuck-at faults c j a b d e g 1 h i 1 z f k How many faults? Fault model.9

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 ATPG algorithms for multiple s-a-faults are much more complex and not as well developed Fault model.10

Why Single Stuck-At Faults? 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 some physical defects, the tests derived for these faults may still be effective for these defects. Single stuck-at tests cover a large percentage of multiple stuck-at faults. Fault model.11

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

Feedback Bridging Faults Input C Output Can cause oscillation or latching (additional memory) Consequences: The shorted signal lines form wired logic so the original logic function is changed The circuit may become unstable if unwanted feedbacks exist Applying opposite values to the signal lines being tested to test these faults Fault model.13

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

CMOS Transistor Stuck-OPEN Transistor stuck-open may cause output floating Can turn the circuit into a sequential one (temporarily keep the previous value) Stuck-open faults require two-vector tests: initialiation and test vectors 0 stuck-open? = previous state initialization vector 10 01 / 00 test vector stuck-open memory behavior Fault model.15

(Line) Break Faults Can be on the line between two gates or within one gate. Usually resulting in floating. May require two or more patterns to detect a break fault. IDDQ X X X X Fault model.16

Functional Faults Fault effects modeled at a higher level than logic for function modules, such as -- Decoders -- Multiplexers -- Adders -- RAM -- ROM -- CPU (instruction set) -- Cache memory Fault model.17

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 /L j +L k ): Instead of L i, L j and L k are selected f(l i /0): None of the lines are selected A B 2-bit Decoder AB AB AB AB Fault model.18

Memory Faults Parametric Faults Output Levels Power Consumption Noise Margin Data Retention Time Functional Faults Stuck-at Faults in Address Register, Data Register, and Address Decoder Cell Stuck Faults Adjacent Cell Coupling Faults Pattern-Sensitive Faults Fault model.19

Memory Faults (Cont.) Pattern-sensitive faults: the presence of a faulty signal depends on the signal values of the nearby points Most common in DRAMs 0 0 0 0 x b 0 a 0 a=b=0 x=0 a=b=1 x=1 Adjacent cell coupling faults Pattern sensitivity between a pair of cells Fault model.20

Delay Fault Model Assumption Some physical defects, such as process variations, make some delays in the CUT greater than some defined limits Two delay fault models are typically used Gate delay fault model (a local delay fault model) Path delay fault model (a global delay fault model) 5ns Regs. D CUT Regs. clk normal clk faulty Fault model.21

Gate-Delay-Fault Slow to rise, slow to fall x is slow to rise when channel resistance R1 is abnormally high VDD VDD X 1 ---> 0 R1 X C L Fault model.22

Gate-Delay-Fault slow Disadvantage: Delay faults resulting from the sum of several small incremental delay defects may not be detected. Fault model.23

Path-Delay-Fault Propagation delay of the path exceeds the clock interval. Disadvantage: The number of paths grows exponentially with the number of gates. Fault model.24

Transition Fault Model Assumes a large/gross delay is present at a circuit node Irrespective of which path the effect is propagated, the gross delay defect will be late arriving at an observable point Most commonly used in industry for timing-related faults Simple and number of faults linear to circuit size Also needs 2 vectors to test Node x slow-to-rise (x-str) can be modeled simply as two stuck-at faults First time-frame: x/1 needs to be excited Second time-frame: x/0 needs to be excited and propagated 25

Transition Fault Properties Lemma: a transition fault may be launched robustly, non-robustly, or neither Example: STR at output of OR gate 26

State Transition Graph Each state transition is associated with a 4-tuple: (source state, input, output, destination state) S1 I2/O2 I1/O1 S2 S3 Fault model.27

Single State Transition Fault Model A fault causes a single state transition to a wrong destination state. S1 I/O I/O S2 S3 Fault model.28

Fault Detection A test (vector) t detects a fault f iff t detects f <=> z f ( t) z( t) Example z ( t ) z f ( t ) = 1 X 1 X 2 x s-a-1 Z 1 X 3 Z 2 Z 1 =X 1 X 2 Z 2 =X 2 X 3 Z 1 f =X 1 Z 2 f =X 2 X 3 The test 001 detects f because z 1 (001)=0 while z 1f (001)=1 Fault model.29

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 Fault model.30

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, for all input x z f ( x ) = z ( x ) No test can simultaneously activate f and create a sensitized path to a primary output Fault model.31

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

Undetectable Fault The presence of an undetectable fault f may prevent the detection of another fault g, even when there exists a test which detects the fault g. Example: A detectable fault a s-a-0 becomes undetectable under the presence of a undetectable fault c s-a-1. A B C c s.a.1 a s.a.0 Z In fact, Z = AB + ABC = AB Thus the circuit can be simplified. In general, identifying undetectable faults can lead to simplication of CUT Fault model.33

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 in a complex system such as a CPU Fault model.34

Fault collapsing Fault equivalence Fault dominance Checkpoint theory Fault model.35

Fault Equivalence A test t distinguishes between faults a and b if Two faults, a & b are said to be equivalent in a circuit, iff the function under a is equal to the function under b for any input combination (sequence) of the circuit. z ( ) z b ( t ) a t z a ( t ) = z b ( t ) for all t No test can distinguish between a and b Any test which detects one of them detects both faults Fault model.36

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 Example: Three faults shown are equivalent s.a.0 s.a.1 s.a.1 Fault model.37

Equivalence Fault Collapsing n+2 instead of 2n+2 faults need to be considered for an n-input gate. s-a-1 s-a-1 s-a-1 s-a-0 s-a-0 s-a-0 s-a-1 s-a-0 s-a-1 s-a-1 s-a-1 s-a-0 s-a-0 s-a-0 s-a-1 s-a-0 Fault model.38

Fault Dominance A fault b is said to dominate another fault a in an irredundant circuit, iff every test (sequence) for a is also a test (sequence) for b. Notation: b a No need to consider fault b for fault detection When two faults f 1 and f 2 dominate each other, then they are equivalent D C E sa1 sa1 A z Detect A sa1: z t z f t = CD CE Detect C sa1: ( ) ( ) ( ) ( D CE) = 1 ( C = 0, D = 1) ( ) ( ) ( ) ( ) ( ) ( 1) z t z f t = CD CE D E = 1 C = 0, D = 1 or C = 0, E = Similarly, C sa1 A sa1, C sa1 B sa1, C sa0 A sa0, C sa0 B sa0 Fault model.39

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 Fault model.40

Fault Dominance D x A C x E B x Detect A sa1: Detect C sa1: z( t) z f ( t) = ( CD CE) ( D CE) = D CD =1 ( C = 0, D = 1) z( t) z f ( t) = ( CD CE) ( D E) = 1 ( C = 0, D = 1) or ( C = 0, E = 1) Similarly C sa1 --> A sa1 C sa1 --> B sa1 C sa0 --> A sa0 C sa0 --> B sa0 Fault model.41

Fault Collapsing For each n-input gate, we only need to consider n+1 faults Fault model.42

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

Why Fault Collapsing? Memory & CPU-Time saving To ease the burden for test generation and fault simulation in testing # of total faults # of equivalent faults # of prime faults 1 60% 40% Fault model.44

Fault Collapsing for Combinational Circuit 30 total faults 12 prime faults Fault model.45

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 Fault model.46

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