Testing Digital Systems I

Similar documents
VLSI System Testing. Fault Simulation

Lecture 3 - Fault Simulation

Lecture 7 Fault Simulation

Fault Simulation. Problem and Motivation

VLSI Test Technology and Reliability (ET4076)

VLSI Testing. Virendra Singh. Bangalore E0 286: Test & Verification of SoC Design Lecture - 7. Jan 27,

VLSI Testing. Fault Simulation. Virendra Singh. Indian Institute of Science Bangalore

Metodologie di progetto HW Il test di circuiti digitali

Metodologie di progetto HW Il test di circuiti digitali

ECE 156B Fault Model and Fault Simulation

Design and Synthesis for Test

Contents 1 Basic of Test and Role of HDLs 2 Verilog HDL for Design and Test

Lecture 28 IEEE JTAG Boundary Scan Standard

PROOFS Fault Simulation Algorithm

Sequential Circuit Testing 3

Preizkušanje elektronskih vezij

CHAPTER 1 INTRODUCTION

UMBC. space and introduced backtrace. Fujiwara s FAN efficiently constrained the backtrace to speed up search and further limited the search space.

Collapsing for Multiple Output Circuits. Diagnostic and Detection Fault. Raja K. K. R. Sandireddy. Dept. Of Electrical and Computer Engineering,

Testing Digital Systems I

Design Verification and Test of Digital VLSI Circuits NPTEL Video Course. Module-VIII Lecture-I Fault Simulation

ECE 2300 Digital Logic & Computer Organization. More Sequential Logic Verilog

Multiple Fault Models Using Concurrent Simulation 1

Advanced Digital Logic Design EECS 303

CPE 628 Chapter 4 Test Generation. Dr. Rhonda Kay Gaede UAH. CPE Introduction Conceptual View. UAH Chapter 4

Extraction Error Diagnosis and Correction in High-Performance Designs

The Embedded computing platform. Four-cycle handshake. Bus protocol. Typical bus signals. Four-cycle example. CPU bus.

Hardware Design Environments. Dr. Mahdi Abbasi Computer Engineering Department Bu-Ali Sina University

l Some materials from various sources! n Current course textbook! Soma 1! Soma 3!

An Efficient Method for Multiple Fault Diagnosis

Very Large Scale Integration (VLSI)

VLSI Test Technology and Reliability (ET4076)

12. Use of Test Generation Algorithms and Emulation

outline Reliable State Machines MER Mission example

Digital Integrated Circuits

Digital Systems Testing

A Parallel Implementation of Fault Simulation on a Cluster of. Workstations

Chapter 9. Design for Testability

Diagnostic Test Vectors for Combinational and Sequential

IMPLEMENTATION OF AN ATPG USING PODEM ALGORITHM

Fault-Tolerant Computing

Digital VLSI Testing Prof. Santanu Chattopadhyay Department of Electronics and EC Engineering India Institute of Technology, Kharagpur.

Department of Electrical and Computer Engineering University of Wisconsin Madison. Fall Midterm Examination CLOSED BOOK

Atmel AT94K FPSLIC Architecture Field Programmable Gate Array

VLSI Test Technology and Reliability (ET4076)

Advanced FPGA Design Methodologies with Xilinx Vivado

Design for Test Methodology Case Study for Motorola C-5e DCP Using the Cadence Incisive Accelerator/Emulator

UNIT IV CMOS TESTING

Page 1. Outline. A Good Reference and a Caveat. Testing. ECE 254 / CPS 225 Fault Tolerant and Testable Computing Systems. Testing and Design for Test

FT-Unshades2: High Speed, High Capacity Fault Tolerance Emulation System

Net Diagnosis Using Stuck-at and Transition Fault Models. Lixing Zhao

Functional Fault Equivalence and Diagnostic Test Generation in Combinational Logic Circuits Using Conventional ATPG

High Speed Fault Injection Tool (FITO) Implemented With VHDL on FPGA For Testing Fault Tolerant Designs

Testing & Verification of Digital Circuits ECE/CS 5745/6745. Hardware Verification using Symbolic Computation

Defect Tolerance in VLSI Circuits

INTERCONNECT TESTING WITH BOUNDARY SCAN

Chapter 7. Logic Diagnosis. VLSI EE141 Test Principles and Architectures Ch. 7 - Logic Diagnosis - P. 1

Hardware Design and Simulation for Verification

Digital VLSI Testing. Week 1 Assignment Solution

Functional extension of structural logic optimization techniques

VHDL. VHDL History. Why VHDL? Introduction to Structured VLSI Design. Very High Speed Integrated Circuit (VHSIC) Hardware Description Language

Upper Bounding Fault Coverage by Structural Analysis and Signal Monitoring

Testing Embedded Cores Using Partial Isolation Rings

A Case Study. Jonathan Harris, and Jared Phillips Dept. of Electrical and Computer Engineering Auburn University

Adaptive Techniques for Improving Delay Fault Diagnosis

Computer Science Engineering Sample Papers

Automatic Test Program Generation from RT-level microprocessor descriptions

On Using Design Partitioning To Reduce Diagnosis Memory Footprint

Origins of Stuck-Faults. Combinational Automatic Test-Pattern Generation (ATPG) Basics. Functional vs. Structural ATPG.

Advanced VLSI Design Prof. Virendra K. Singh Department of Electrical Engineering Indian Institute of Technology Bombay

Two HDLs used today VHDL. Why VHDL? Introduction to Structured VLSI Design

Module 5 - CPU Design

Design for Test of Digital Systems TDDC33

Mixed Signal Verification Transistor to SoC

Synthesis of Asynchronous Logic Design: A Study of Current Testing Practices. EXTRA CREDIT PROJECT EE552 Advanced Logic Design and Switching Theory

CprE 458/558: Real-Time Systems. Lecture 17 Fault-tolerant design techniques

R3-7. SASIMI 2015 Proceedings. A Verilog Compiler Proposal for VerCPU Simulator. January 29,

Fault Tolerant Computing CS 530 Testing Sequential Circuits

Fault Grading FPGA Interconnect Test Configurations

Overview ECE 753: FAULT-TOLERANT COMPUTING 1/23/2014. Recap. Introduction. Introduction (contd.) Introduction (contd.)

Design Diagnosis Using Boolean Satisfiability

Hello I am Zheng, Hongbin today I will introduce our LLVM based HLS framework, which is built upon the Target Independent Code Generator.

A Fault Tolerant Superscalar Processor

ELEC 7250 VLSI Testing. Final Project: Logic Simulation and Fault Diagnosis. Andrew J. White

Lecture 21: Combinational Circuits. Integrated Circuits. Integrated Circuits, cont. Integrated Circuits Combinational Circuits

ECE7995 (3) Basis of Caching and Prefetching --- Locality

Design Verification Lecture 01

Outline of Presentation

EE595. Part VIII Overall Concept on VHDL. EE 595 EDA / ASIC Design Lab

CRITICAL PATH TRACING - AN ALTERNATIVE TO FAULT SIMULATION

Indexing and Searching

Upper Bounding Fault Coverage by Structural Analysis and Signal Monitoring

CS 250 VLSI Design Lecture 11 Design Verification

Digital System Design with SystemVerilog

VLSI Test Technology and Reliability (ET4076)

Faults. Abstract. 1. Introduction. * Nur A. Touba is now with the Department of Electrical and Computer Engineering, University of Texas, Austin, TX

Homework deadline extended to next friday

Faults, Testing & Test Generation

Behavioral Fault Simulation and ATPG System for VHDL

Automated TestVector Generation. Issues in Test Vector Generation. BIST Approach. Built-In Self Test (BIST) LFSR (cont)

Transcription:

Testing Digital Systems I Lecture 6: Fault Simulation Instructor: M. Tahoori Copyright 2, M. Tahoori TDS I: Lecture 6 Definition Fault Simulator A program that models a design with fault present Inputs: A circuit A sequence of test vectors A fault model Usually single-stuck faults Sometimes multiple-stuck, bridging faults,... Determines Fault coverage (fault grading) Set of undetected faults (Areas of Low Fault Coverage) Generates fault dictionary (Fault diagnosis) Test compaction Copyright 2, M. Tahoori TDS I: Lecture 6 2 Lecture 6

Fault simulator in VLSI Design Verified design netlist Verification input stimuli Fault simulator Test vectors Modeled fault list Remove tested faults Test compactor Delete vectors Fault Low coverage? Adequate Stop Test generator Add vectors Copyright 2, M. Tahoori TDS I: Lecture 6 3 Fault Simulation Algorithms Serial Parallel Deductive Concurrent Copyright 2, M. Tahoori TDS I: Lecture 6 4 Lecture 6 2

Serial Fault Simulation First, perform fault-free logic simulation on the original circuit Good (fault-free) response For each fault, perform fault injection and logic simulation Modify Circuit by Introducing Fault i Obtain faulty circuit N i Simulate modified netlist, vector by vector, comparing responses with good responses Copyright 2, M. Tahoori TDS I: Lecture 6 5 Algorithm Flow start F collapsed fault list fault-free simulation for all patterns end no next fault? yes. get next fault f from F 2. reset pattern counter next no pattern? yes. get next pattern p 2. fault simulation for p mismatch? delete f from F Copyright 2, M. Tahoori TDS I: Lecture 6 6 no yes Lecture 6 3

Example A H f: A stuck-at G 2 G 4 L B g: J stuck-at G G 3 C E F J K Pat. # Input Internal Output A B C E F L J H K good K f K g P P2 P3 Copyright 2, M. Tahoori TDS I: Lecture 6 7 Fault Dropping Halting simulation of the detected fault Example Suppose we are to simulate P, P 2, P 3 in order Fault f is detected by P Do not simulate for P 2, P 3 For fault grading Most faults are detected after relatively few test patterns have been applied For fault diagnosis Avoided to obtain the entire fault simulation results Copyright 2, M. Tahoori TDS I: Lecture 6 8 Lecture 6 4

Pro and Con Advantages: Easy to implement Compatible with hardware accelerator Ability to handle a wide range of fault models (stuck-at, delay, Br, ) Very fast combinational simulation Simulate many input patterns in parallel Disadvantage Many simulation runs required CPU time prohibitive for VLSI circuits Copyright 2, M. Tahoori TDS I: Lecture 6 9 Parallel Fault Simulation Compiled-code method; best with two-states (,) Exploits inherent bit-parallelism of logic operations on computer words Each Signal Line is Represented by a Vector Bit of Computer Word Represents Good Circuit Value of Same Signal in Good Circuit Remaining Bits i of Computer Word represent Values of Same Signal in Faulty Circuits Ni Multi-pass simulation: Each pass simulates w- faults, where w is the machine word length Speed up over serial method ~ w- Copyright 2, M. Tahoori TDS I: Lecture 6 Lecture 6 5

Parallel Fault Simulation How about 3-valued signals? Use two vectors for each signal line Signal Value X Vector V bit value Vector V 2 bit value AND Gate with inputs A, B; output C C = A B ; C 2 = A 2 B 2 ; Inverter with inputs A; output B B = (A 2 )' ; B 2 = (A ) Fault Insertion Masks Presence of fault on each line The value of faulty line Copyright 2, M. Tahoori TDS I: Lecture 6 Parallel Fault Simulation Bit : fault-free circuit Bit : circuit with c s-a- Bit 2: circuit with f s-a- a b c s-a- e c s-a- detected g d f s-a- Copyright 2, M. Tahoori TDS I: Lecture 6 2 Lecture 6 6

Fault Injection A H f: A stuck-at G 2 G 4 L B g: J stuck-at G G 3 C E F J K A G f G 2 H L G 4 K B G C E F G 3 J G g Copyright 2, M. Tahoori TDS I: Lecture 6 3 Example Pat # A Input A f B C E F Internal L J J g H Output K FF P f g FF P 2 f g FF P 3 f g Copyright 2, M. Tahoori TDS I: Lecture 6 4 Lecture 6 7

Pro and Con Advantages A large number of faults are detected by each pattern when simulating the beginning of test sequence Disadvantages Only applicable to the unit or zero delay models Faults cannot be dropped unless all (w-) faults are detected Copyright 2, M. Tahoori TDS I: Lecture 6 5 Deductive Fault Simulation Only good circuit is explicitly simulated Deduce from good signals all detectable faults Each circuit line i has list Li of faults Each fault causes line-i error for current input state Lists propagated from primary inputs to outputs Lists updated for each input state change Event driven (selective trace) logic event signal value changes fault event fault list changes Recompute list wherever either event occurs + One pass for each input pattern (in principle) - Set-theoretic rules difficult to derive for non-boolean gates - Gate delays are difficult to use - Memory Space Needed Cannot be Predicted Copyright 2, M. Tahoori TDS I: Lecture 6 6 Lecture 6 8

Fault List Propagation Rules Gate type AND OR NOT inputs a b - - Output c Output fault list L c [L a L b ] c [L a L b ] c [L a L b ] c [L a L b ] c [L a L b ] c [L a L b ] c [L a L b ] c [L a L b ] c L a c L a c Copyright 2, M. Tahoori TDS I: Lecture 6 7 Algorithm Flow start F collapsed fault list end no next pattern? yes apply next pattern. fault-free simulation 2. propagate fault list delete detected faults from F no F empty? yes end Copyright 2, M. Tahoori TDS I: Lecture 6 8 Lecture 6 9

Deductive Fault Simulation Notation: L k is fault list for line k k n is s-a-n fault on line k a b {a } {b, c } e {b } c d {b, d } L e = L a U L c U {e } = {a, b, c, e } f {b, d, f } g L g = (L e L f ) U {g } = {a, c, e, g } Faults detected by the input vector U Copyright 2, M. Tahoori TDS I: Lecture 6 9 Pro and Con Advantages Very efficient Simulate all faults in one pass Disadvantages Not easy to handle unknowns Only for zero-delay timing model Potential memory management problem Copyright 2, M. Tahoori TDS I: Lecture 6 2 Lecture 6

Concurrent Fault Simulation Simulate only differential parts of whole circuit Event-driven simulation with fault-free and faulty circuits simulated altogether Concurrent fault list for each gate Consist of a set of bad gates Fault index & associated gate I/O values Initially only contains local faults Fault propagate from previous stage Copyright 2, M. Tahoori TDS I: Lecture 6 2 Good Event and Bad Event Good event Events that happen in good circuit Affect both good gates and bad gates Bad event Events that occur in the faulty circuit of corresponding fault Affect only bad gates Diverge Addition of new bad gates Converge Removal of bad gates whose I/O signals are the same as corresponding good gates Copyright 2, M. Tahoori TDS I: Lecture 6 22 Lecture 6

Algorithm Flow start F collapsed fault list next pattern? yes apply next pattern no end. analyze events at gate inputs 2. execute events 3. compute events at gate outputs end no yes F empty? yes more events? no delete detected faults from F Copyright 2, M. Tahoori TDS I: Lecture 6 23 Example P Copyright 2, M. Tahoori TDS I: Lecture 6 24 Lecture 6 2

Example (cont d) P 2 Copyright 2, M. Tahoori TDS I: Lecture 6 25 Example (cont d) P 3 Copyright 2, M. Tahoori TDS I: Lecture 6 26 Lecture 6 3

Pro and Con Advantages Efficient Faults can be simulated in any modeling style or detail supported in true-value simulation (offers most flexibility.) Faster than other methods Disadvantages Potential memory problem Size of the concurrent fault list changes at run time Copyright 2, M. Tahoori TDS I: Lecture 6 27 Comparison of Fault Simulation Techniques Speed Serial fault simulation: slowest Parallel fault simulation: O(n 3 ), n: num of gates Deductive fault simulation: O(n 2 ) Concurrent fault is faster than deductive fault simulation Memory usage Serial fault simulation, parallel fault simulation: no problem Deductive fault simulation: dynamic allocate memory and hard to predict size Concurrent fault simulation: more severe than deductive fault simulation Copyright 2, M. Tahoori TDS I: Lecture 6 28 Lecture 6 4

Comparison of Fault Simulation Techniques Multi-valued fault simulation to handle unknown (X) and/or high-impedance (Z) Serial fault simulation, concurrent fault simulation: easy to handle Parallel fault simulation: difficult Delay and functional modeling capability Serial fault simulation: no problem Parallel fault simulation, deductive fault simulation: not capable Concurrent fault simulation: capable Copyright 2, M. Tahoori TDS I: Lecture 6 29 Alternative to Fault Simulation Toggle Coverage Fault Sampling Critical Path Tracing Statistical Fault Analysis Copyright 2, M. Tahoori TDS I: Lecture 6 3 Lecture 6 5

Summary Fault simulation is very important for ATPG Diagnosis Fault grading Popular techniques Serial, Parallel, Deductive, Concurrent Requirements for fault simulation Fast speed, efficient memory usage, modeling functional blocks, sequential circuits Copyright 2, M. Tahoori TDS I: Lecture 6 3 Lecture 6 6