Technical University Tallinn, ESTONIA 1 Overview: Fault Modelling Faults, errors and defects Stuck-at-faults (SAF) Fault equivalence and fault dominance.

Slides:



Advertisements
Similar presentations
IC TESTING.
Advertisements

Digital Integrated Circuits© Prentice Hall 1995 Design Methodologies Design for Test.
MEMORY BIST by: Saeid Hashemi Mehrdad Falakparvaz
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 2001, Agrawal & BushnellDay-1 PM Lecture 4a1 Design for Testability Theory and Practice Lecture 4a: Simulation n What is simulation? n Design.
Modern VLSI Design 2e: Chapter 4 Copyright  1998 Prentice Hall PTR Topics n Switch networks. n Combinational testing.
1 Digital Logic
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.
Technical University Tallinn, ESTONIA Overview: Testability Evaluation Outline Quality Policy of Electronic Design Tradeoffs of Design for Testability.
ELEN 468 Lecture 231 ELEN 468 Advanced Logic Design Lecture 23 Testing.
5/24/2016 Based on text by S. Mourad "Priciples of Electronic Systems" Digital Testing: Defects, Failures and Faults.
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
Technical University Tallinn, ESTONIA 1 Boolean derivatives Calculation of the Boolean derivative: Given:
CREDES Summer School Dependable Systems Design June 2-3, 2011
Design for Testability
Modern VLSI Design 4e: Chapter 4 Copyright  2008 Wayne Wolf Topics n Switch networks. n Combinational testing.
Technical University Tallinn, ESTONIA Copyright by Raimund Ubar 1 Raimund Ubar Tallinn Technical University D&T Laboratory Estonia Hierarchical.
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
Technical University Tallinn, ESTONIA 1 Faults in Circuits and Fault Diagnosis 0110 T FaultF 5 located Fault table Test experiment Test generation.
ECE Advanced Digital Systems Design Lecture 12 – Timing Analysis Capt Michael Tanner Room 2F46A HQ U.S. Air Force Academy I n t e g r i.
1 5. Application Examples 5.1. Programmable compensation for analog circuits (Optimal tuning) 5.2. Programmable delays in high-speed digital circuits (Clock.
EKT 221/4 DIGITAL ELECTRONICS II  Registers, Micro-operations and Implementations - Part3.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Technical University Tallinn, ESTONIA Overview about Testing of Digital Systems 0110 T Fault table Test generation Fault simulation Fault modeling.
ECE 260B – CSE 241A Testing 1http://vlsicad.ucsd.edu ECE260B – CSE241A Winter 2005 Testing Website:
Fault Models, Fault Simulation and Test Generation Vishwani D. Agrawal Department of ECE, Auburn University Auburn, AL 36849, USA
Technical University Tallinn, ESTONIA Copyright by Raimund Ubar 1 Raimund Ubar Tallinn Technical University D&T Laboratory Estonia Hierarchical.
TOPIC : Different levels of Fault model UNIT 2 : Fault Modeling Module 2.1 Modeling Physical fault to logical fault.
EE434 ASIC & Digital Systems Partha Pande School of EECS Washington State University
Courtesy RK Brayton (UCB) and A Kuehlmann (Cadence) 1 Logic Synthesis Multi-Level Logic Synthesis.
An introduction to Fault Detection in Logic Circuits By Dr. Amin Danial Asham.
CS/EE 3700 : Fundamentals of Digital System Design
2. Sissejuhatus teooriasse
Technical University Tallinn, ESTONIA Test generation Gate-level methods  Functional testing: universal test sets  Structural test generation  Path.
Technical University Tallinn, ESTONIA Component level dy Defect mapping Hierarchical Test Generation x1x1 x2x2 x3x3 x4x4 x5x5 System level WdWd Logic level.
Technical University Tallinn, ESTONIA 1 Raimund Ubar TTÜ Tallinn, 21. mai 2003 Kuidas tagada kvaliteeti üha keerukamates.
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.
Technical University Tallinn, ESTONIA Copyright by Raimund Ubar 1 Raimund Ubar Tallinn Technical University D&T Laboratory Estonia Hierarchical.
TOPIC : Introduction to Faults UNIT 2: Modeling and Simulation Module 1 : Logical faults due to physical faults.
Technical University Tallinn, ESTONIA Overview: Fault Simulation Overview about methods Low (gate) level methods Parallel fault simulation Deductive fault.
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.
Technical University Tallinn, ESTONIA Overview: Fault Simulation Overview about methods Low (gate) level methods Parallel fault simulation Deductive fault.
Speaker: Nansen Huang VLSI Design and Test Seminar (ELEC ) March 9, 2016 Simulation-Based Equivalence Checking.
Research in ATI © Raimund Ubar 4. High-Level Decision Diagrams Overview and examples Register Transfer Level circuits Microprocessors Methods of synthesis.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 61 Lecture 6 Logic Simulation n What is simulation? n Design verification n Circuit modeling n True-value.
Faults in Circuits and Fault Diagnosis
5. High-Level Decision Diagrams
Generalization of BDDs
COUPING WITH THE INTERCONNECT
ELEC Digital Logic Circuits Fall 2014 Logic Testing (Chapter 12)
Defect and High Level Fault Modeling in Digital Systems
Overview: Fault Diagnosis
Lecture 5 Fault Modeling
VLSI Testing Lecture 3: Fault Modeling
Hierarchical Defect-Oriented Test Generation
Manufacturing Testing
Presentation transcript:

Technical University Tallinn, ESTONIA 1 Overview: Fault Modelling Faults, errors and defects Stuck-at-faults (SAF) Fault equivalence and fault dominance Redundant faults Transistor level physical defects Mapping transistor defects to logic level Fault modelling by Boolean differential equations Functional fault modelling Faults and test generation hierarchy High-level fault modelling Fault modelling with DDs

Technical University Tallinn, ESTONIA 2 Fault Modeling in Digital Systems An instance of an incorrect operation of the system being tested is referred to as an error The causes of the observed errors may be design errors or physical faults (defects) Physical defects do not allow a direct mathematical treatment of testing and diagnosis The solution is to deal with logical fault models System Component Defect Error Fault (model) Defects, faults and errors

Technical University Tallinn, ESTONIA 3 Physical Defects as Fault Causes Physical defects may occur: Manufacturing process: missing contacts, parasitic transistors, gate oxide shorts, oxide break-down, metal-to silicon shorts, missing or wrong components, broken or shorted tracks (board design), etc. Process fabrication marginalities: line width variation, etc. Material and age defects: bulk defects (cracks, crystal imperfections), surface impurities, dielectric breakdown, electromigration, etc. Packaging: contact degradation, seal leaks, etc. Enviromental infuence: temperature related defects, high humidity, vibration, electrical stress, crosstalk, radiation, etc.

Technical University Tallinn, ESTONIA 4 Soft and Hard Defects Defects can be divided roughly into two basic groups : Soft defects –defects which cause speed fault –show up at high speed or produce some temperature –they need two or more test patterns for their activation and error observation (require carefully constructed transitions for defect activation); –require tests to be applied at speed. –examples: “high resistance” bridges, x-coupling, “tunneling break” Hard defects –defects observated at all frequencies –a test can be applied at slow speed –they need only one-pattern test set –example: “low resistance” bridge

Technical University Tallinn, ESTONIA 5 Defect Manifestation and Test Methods Defects have to be measured and modeled into the faults They are manifested in different measurable manners: by changing a logical value on a circuit node (Boolean testing, or testing at the logical level) by increasing the steady state supply current (IDDQ testing) by changing time specifications (At-speed testing) by variation in one or a set of parameters such that their specific distribution in a circuit makes it fall out of specifications The test methods listed are not replacable They all have to be used for achieving high quality of testing

Technical University Tallinn, ESTONIA 6 Why We Need Fault Models? Fault models are needed for –test generation, –test quality evaluation and –fault diagnosis To handle real physical defects is too difficult The fault model should –reflect accurately the behaviour of defects, and –be computationably efficient Usually combination of different fault models is used Fault model free approaches (!)

Technical University Tallinn, ESTONIA 7 Fault Modeling Fault modeling levels –Transistor level faults –Logic level faults stuck-at fault model bridging fault model open fault model delay fault model –Register transfer level faults –ISA level faults (MP faults) –SW level faults Hierarchical fault handling Functional fault modeling Low-Level models High-Level models

Technical University Tallinn, ESTONIA 8 Structural Logic Level Fault Modeling Why logic fault models? complexity of simulation reduces (many physical faults may be modeled by the same logic fault) one logic fault model is applicable to many technologies logic fault tests may be used for physical faults whose effect is not completely understood they give a possibility to move from the lower physical level to the higher logic level 1 x2x2 x1x1 Broken line 1 x2x2 x1x1 Bridge to ground 0V Single model: Stuck-at-0 Two defects: Stuck-at fault model:

Technical University Tallinn, ESTONIA 9 Structural and Functional Fault Modeling Fault models are: explicit and implicit  explicit faults may be enumerated  implicit faults are given by some characterizing properties Fault models are: structural and functional:  structural faults are related to structural models, they modify interconnections between components  functional faults are related to functional models, they modify functions of components 1 & & x1x1 x2x2 x3x3 x 21 x 22 y a b Structural faults: - line a is broken - short between x 2 and x 3 Functional fault: Instead of Classification of fault models

Technical University Tallinn, ESTONIA 10 Extended Fault Models Defect Extensions of the parallel critical path tracing for two large general fault classes for modeling physical defects: Conditional fault Pattern fault Constrained SAF Single faulty signal X-fault Byzantine fault Bridges Stuck-opens Multiple faulty signal Resistive bridge fault SAF Multiple fault

Technical University Tallinn, ESTONIA 11 Functional Fault Modeling: Trojans A trojan is inserted into a main circuit at manufacturing and is mostly inactive unless it is triggered by a rare value or time event Then it produces a payload error in the circuit, potentially catastrophic Copyright © F.Wolf, Ch. Papachristou, S.Bhunia, R.S.Chakraborty 2008

Technical University Tallinn, ESTONIA 12 Gate-Level Faults: SAF Model SAF is modeled by assigning a fixed (0,1) value to a signal line: stuck_at 0 (SAF0) or stuck_at 1 (SAF1) The death of the SAF model has been predicted, but several reasons and SAF properties have been persuaded that the SAF model continues in testing: –simplicity: SAF is easy to apply to a CUT –tractability: can be applied to millions of gates at once –logic behavior: fault behavior can be determined logically, so simulation is straightforward and deterministic –measurability: detection/non detection are easy –adaptability: can apply on gates, systems, transistors, RTL, etc. SAF model is the industrial standard since 1959

Technical University Tallinn, ESTONIA 13 Gate-Level Faults: SAF Model 1 Broken (stuck-at-0) & Broken (stuck-at-1) Broken 1 Broken 2 Broken Broken 1  stuck branches: 1,2,3 (or stuck stem) Broken 2  stuck branches: 2,3 Broken 3  stuck branches: 3 Stuck-At Fault Model

Technical University Tallinn, ESTONIA 14 Stuck-at Fault Properties Fault equivalence and fault dominance: & & A B C D A B C D Fault class A/0, B/0, C/0, D/1 Equivalence class A/1, D/ B/1, D/0 Dominance classes C/1, D/0 Fault collapsing: & 1  1 1 1  0 0  1 1 & & 1  0 0 1  1 1  0 0 Dominance Equivalence

Technical University Tallinn, ESTONIA 15 Rikete dominants Viin ja jää hävitavad neerud Rumm ja jää hävitavad maksa Viski ja jää hävitavad südame Džinn ja jää hävitavad aju Pepsi ja jää hävitavad hambad A B C D Rikete vahelised suhted A/0, B/0, C/0, D/1 Ekvivalents A/1, D/ B/1, D/0 D/0 domineerib C/1, D/0 Kuidas seletada dominantsi suhet: Ilmselt on jää surmav!

Technical University Tallinn, ESTONIA 16 Impact of Fault Collapsing Theorem 1: A set of test vectors that detects all single SAFs on all primary inputs of a fanout-free combinational logic circuit will detect all single SAFs in that circuit Theorem 2: A set of test vectors that detects all single SAFs on all primary inputs and all fanout branches of a combinational logic circuit will detect all single SAFs in that circuit The idea of N-detect single SAF test vectors was proposed to detect more defects not covered by the SAF model

Technical University Tallinn, ESTONIA 17 Fault Collapsing with SSBDDs Each node in SSBDD represents a signal path: Theorem 2: A set of test vectors that detects all single SAFs on all primary inputs and all fanout branches of a combinational logic circuit will detect all single SAFs in that circuit

Technical University Tallinn, ESTONIA 18 Fault Redundancy 1 & & & 1 & x1x1 x2x2 & x4x4 x3x3 y Internal signal dependencies: 1 & & Impossible pattern, OR  XOR not testable Faults at x 2 not testable Optimized function: Redundant gates (bad design):

Technical University Tallinn, ESTONIA 19 Fault Redundancy 1 & & & 1 1 0101 1010 0101 1 1 Hazard control circuitry: Redundant AND-gate Fault  0 is not testable  0 0 Error control circuitry: Decoder   1 1 E  1 if decoder is fault-free Fault  0 is not testable E

Technical University Tallinn, ESTONIA 20 Transistor Level Faults Stuck-at-1 Broken (change of the function) Bridging Stuck-open (change of the number of states) Stuck-on (change of the function) Short (change of the function) Stuck-off (change of the function) Stuck-at-0 Logic level interpretations:

Technical University Tallinn, ESTONIA 21 Bridging Faults Fault-free W-ANDW-OR x1x1 x2x2 x’ 1 x’ 2 x’ 1 x’ Wired AND/OR model x1x1 x2x2 x’ 1 x’ 2 & x1x1 x2x2 x’ 1 x’ 2 W-AND: 1 x1x1 x2x2 x’ 1 x’ 2 W-OR:

Technical University Tallinn, ESTONIA 22 Bridging Faults Fault-freex 1 dom x 2 x 2 dom x 1 x1x1 x2x2 x’ 1 x’ 2 x’ 1 x’ Dominant bridging model x1x1 x2x2 x’ 1 x’ 2 x 1 dom x 2 : x 2 dom x 1 : x1x1 x2x2 x’ 1 x’ 2 x1x1 x2x2 x’ 1 x’ 2

Technical University Tallinn, ESTONIA 23 Advanced Bridging Fault Models Copyright © G.Chen, S.Reddy, I.Pomeranz, J.Rajski, P.Engelke, B.Becker 2005 Bridge between a and b The two branches of a and three branches of b could be interpreted by the driven gates to be any one of the 32 combinations One corresponds to fault free situation, 31 correspond to faulty situations – 31 MLSFs Method of implicit fault simulation: assign one branch with faulty value, and let other branches with unknown values Constrained Multiple Line SAF Model

Technical University Tallinn, ESTONIA 24 Delay Faults Studies of the electrical properties of defects have shown that most of the random CMOS defects cause a timing (delay) effect rather than a other catastrophic defects (e.g. resistive bridges above a critical resistance cause delay) Delay fault means that a good CUT may perform correctly its function in a system, but it fails in designed timing specifications Delay faults could be caused by: –subtle manufacturing process defects, –transistor threshold voltage shifts, –increased parasitic capacitance, –improper timing design, etc.

Technical University Tallinn, ESTONIA 25 Delay Fault Models Delay faults are tested by test pattern pairs: - the first test pattern initializes the circuit, and - the second pattern sensitizes the fault & & & 00 & A D C B x1x1 x2x2 x3x y Delay fault models: - Gate delay fault (delay fault is lumped at a single gate, quantitative model) - Transition fault (qualitative model, gross delay fault model, independent of the activated path) - Path delay fault (sum of the delays of gates along a given path) - Line delay fault (is propagated through the longest senzitizable path) - Segment delay fault (tradeoff between the transition and the path delay fault models)

Technical University Tallinn, ESTONIA 26 Delay Fault Models Different conditions of detecting transition delay faults (TDF):

Technical University Tallinn, ESTONIA 27 Delay Fault Models

Technical University Tallinn, ESTONIA 28 Transistor Level Faults Stuck-at-1 Broken (change of the function) Bridging Stuck-open (change of the number of states) Stuck-on (change of the function) Short (change of the function) Stuck-off (change of the function) Stuck-at-0 Logic level interpretations:

Technical University Tallinn, ESTONIA 29 Transistor Level Stuck-on Faults x1x1 x2x2 Y V DD V SS x1x1 x2x2 x1x1 x2x2 yydyd V Y /I DDQ 1100 NOR gate Stuck-on x1x1 x2x2 Y V DD V SS x1x1 x2x2 Conducting path for “10” RNRN RPRP

Technical University Tallinn, ESTONIA 30 Transistor Level Stuck-off Faults x1x1 x2x2 Y V DD V SS x1x1 x2x2 x1x1 x2x2 yydyd Y’ 1100 NOR gate Stuck-off (open) x1x1 x2x2 Y V DD V SS x2x2 No conducting path from V DD to V SS for “10” x1x1 Test sequence is needed: 00,10

Technical University Tallinn, ESTONIA 31 Mapping Transistor Faults to Logic Level Short x1x1 x2x2 x3x3 x4x4 x5x5 y Generic function with defect: Function: Faulty function: A transistor fault causes a change in a logic function not representable by SAF model Defect variable: d =d = 0 – defect d is missing 1 – defect d is present Mapping the physical defect onto the logic level by solving the equation:

Technical University Tallinn, ESTONIA 32 Mapping Transistor Faults to Logic Level Short x1x1 x2x2 x3x3 x4x4 x5x5 y Test calculation by Boolean derivative: Generic function with defect: Function: Faulty function:

Technical University Tallinn, ESTONIA 33 Functional Fault Model for Stuck-ON Stuck-on x1x1 x2x2 Y V DD V SS x1x1 x2x2 NOR gate Conducting path for “10” RNRN RPRP x1x1 x2x2 yydyd Z: V Y /I DDQ 1100 Condition of the fault potential detecting:

Technical University Tallinn, ESTONIA 34 Functional Fault Model for Stuck-Open Stuck-off (open) x1x1 x2x2 Y V DD V SS x2x2 NOR gate No conducting path from V DD to V SS for “10” x1x1 Test sequence is needed: 00,10 x1x1 x2x2 yydyd Y’ 1100 t x 1 x 2 y

Technical University Tallinn, ESTONIA 35 Functional Fault Model Example: Bridging fault between leads x k and x l The condition means that in order to detect the short between leads x k and x l on the lead x k we have to assign to x k the value 1 and to x l the value 0. xkxk xlxl x* k d Wired-AND model x k *= f(x k,x l,d)

Technical University Tallinn, ESTONIA 36 Functional Fault Model Example: x1x1 x2x2 x3x3 y & & x1x1 x2x2 x3x3 y & & & Equivalent faulty circuit: Bridging fault causes a feedback loop: Sequential constraints: A short between leads x k and x l changes the combinational circuit into sequential one t x 1 x 2 x 3 y

Technical University Tallinn, ESTONIA 37 Generalization: Functional Fault Model d = 1, if the defect is present y Component F(x 1,x 2,…,x n ) Defect WdWd Component with defect: Logical constraints Fault model: (dy,W d ), (dy,{W k d }) Constraints: Fault-free Faulty Constraints calculation:

Technical University Tallinn, ESTONIA 38 Fault Table: Mapping Defects to Faults

Technical University Tallinn, ESTONIA 39 Philosophy of the Uniform Fault Model Network of transistors F ki Test W d ki W F k interpretation: Test – at the lower level Fault model – at the higher level FunctionsStructure Component: Higher level Module k WFkWFk WSkWSk Network of modules Bridge System F Test W S k Network of modules System: W F k F k W F ki W S Module Network of components Test Lower level Interface between levels Fault model

Technical University Tallinn, ESTONIA 40 Component level dy Mapping of defects Hierarchical Fault Modeling System level WdWd Logic level Error x1x1 x2x2 x3x3 x4x4 x5x5 Defect {W d }  dy Fault model: Hierarchical diagnostics y*

Technical University Tallinn, ESTONIA 41 Motivations for High-Level Fault Models Current situation: The efficiency of test generation (quality, speed) is highly depending on –the description method (level, language), and –fault models Because of the growing complexity of systems, gate level methods have become obsolete High-Level methods for diagnostic modeling are today emerging, however they are not still mature Main disadvantages: The known methods for fault modeling are –dedicated to special classes (i.e. for microprocessors, for RTL, VHDL etc. languages...), not general –not well defined and formalized

Technical University Tallinn, ESTONIA 42 Fault Models for High-Level Components Decoder: - instead of correct line, incorrect is activated - in addition to correct line, additional line is activated - no lines are activated Multiplexer ( n inputs log 2 n control lines): - stuck-at - 0 (1) on inputs - another input (instead of, additional) - value, followed by its complement - value, followed by its complement on a line whose address differs in 1 bit Memory fault models: - one or more cells stuck-at - 0 (1) - two or more cells coupled

Technical University Tallinn, ESTONIA 43 Fault models and Tests Dedicated functional fault model for multiplexer: –stuck-at-0 (1) on inputs, –another input (instead of, additional) –value, followed by its complement –value, followed by its complement on a line whose address differs in one bit Functional fault model Test description

Technical University Tallinn, ESTONIA 44 Register Level Fault Models K: ( If T,C) R D  F(R S1, R S2, … R Sm ),  N RTL statement: K- label T- timing condition C- logical condition R D - destination register R S - source register F- operation (microoperation)  - data transfer  N- jump to the next statement Components (variables) of the statement: RT level faults: K  K’- label faults T  T’- timing faults C  C’- logical condition faults R D  R D - register decoding faults R S  R S - data storage faults F  F’- operation decoding faults  - data transfer faults  N - control faults (F)  (F)’ - data manipulation faults

Technical University Tallinn, ESTONIA 45 Universal Functional Fault Model Exhaustive combinational fault model: - exhaustive test patterns - pseudoexhaustive test patterns - exhaustive output line oriented test patterns - exhaustive module oriented test patterns

Technical University Tallinn, ESTONIA 46 Pseudo-Exhaustive Testing Pseudo-exhaustive test sets: –Output function verification maximal parallel testability partial parallel testability –Segment function verification Output function verification = >> 4x16 = 64 > 16 Exhaustive test Pseudo- exhaustive sequential Segment function verification F & Pseudo- exhaustive parallel

Technical University Tallinn, ESTONIA Pseudo-Exhaustive Testing of Adders Output function verification (maximum parallelity) Exhaustive test generation for n-bit adder: Good news: Bit number n - arbitrary Test length - always 8 (!) 0-bit testing 2-bit testing 1-bit testing 3-bit testing … etc Bad news: The method is correct only for ripple-carry adder

Technical University Tallinn, ESTONIA 48 Binary Decision Diagrams and Faults Fault modeling on Structurally Synthesized BDDs:

Technical University Tallinn, ESTONIA 49 High-Level Decision Diagrams and Faults RTL-statement: Terminal nodes RTL-statement faults: data storage, data transfer, data manipulation faults Nonterminal nodes RTL-statement faults: label, timing condition, logical condition, register decoding, operation decoding, control faults K: ( If T,C) R D  F(R S1,R S2,…R Sm ),  N

Technical University Tallinn, ESTONIA 50 Fault Modeling on DDs m y 1 0 m Y h FkFk FnFn lmlm l1l1 l0l0 l0l0 l1l1 l2l2 lhlh lklk l k+1 F k+1 lnln lmlm GyGy GYGY Binary DD with 2 terminal nodes and 2 outputs from each node General case of DD with n  2 terminal nodes and n  2 outputs from each node

Technical University Tallinn, ESTONIA 51 Uniform Formal Fault Model on DDs D1: the output edge for x(m) = i of a node m is always activated D2: the output edge for x(m) = i of a node m is broken D3: instead of the given edge, another edge or a set of edges is activated Each node can be faulty in the following ways: