DOC PREVIEW
Duke ECE 269 - VLSI System Testing

This preview shows page 1-2-3-4 out of 13 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

1 ECE 538 Krish Chakrabarty 1 ECE 538 VLSI System Testing Krish Chakrabarty Fault Simulation ECE 538 Krish Chakrabarty 2 Fault Simulation • Problem and motivation • Fault simulation algorithms • Serial • Parallel • Deductive • Concurrent • Random Fault Sampling • Summary2 ECE 538 Krish Chakrabarty 3 Problem and Motivation • Fault simulation Problem: Given  A circuit  A sequence of test vectors  A fault model – Determine  Fault coverage - fraction (or percentage) of modeled faults detected by test vectors  Set of undetected faults • Motivation  Determine test quality and in turn product quality  Find undetected fault targets to improve tests ECE 538 Krish Chakrabarty 4 Motivation • Simulate a circuit in the presence of faults • Given test set T, determine the fault coverage of T (test grading) – Fraction of faults (percentage) detected by T • How is fault coverage related to defect coverage and yield? DL = 1 - Y1-d DL (defect level): Probability of shipping a defective chip Y: yield, d: fault (defect) coverage e.g. if Y = 0.5, 99% fault coverage needed to achieve 0.01 defect level 95% fault coverage implies 0.035 defect level3 ECE 538 Krish Chakrabarty 5 Applications • Evaluate effects (criticality) of faults • Evaluate fault coverage of given test set • Generate fault dictionaries (for diagnosis) • Aid in test pattern generation – Fault dropping – Test set compaction – Simulation-based and random test generation ECE 538 Krish Chakrabarty 6 Fault Simulator in a VLSI Design Process Verified design netlist Verification input stimuli Fault simulator Test vectors Modeled fault list Test generator Test compactor Fault coverage ? Remove tested faults Delete vectors Add vectors Low Adequate Stop4 ECE 538 Krish Chakrabarty 7 Use in Test Generation Generate initial T Sufficient fault coverage? Evaluate T Modify T No Yes Done Select target fault Generate test for target Fault simulate Discard detected faults Done No more faults ECE 538 Krish Chakrabarty 8 Fault Simulation Scenario • Circuit model: mixed-level • Mostly logic with some switch-level for high-impedance (Z) and bidirectional signals • High-level models (memory, etc.) with pin faults • Signal states: logic • Two (0, 1) or three (0, 1, X) states for purely Boolean logic circuits • Four states (0, 1, X, Z) for sequential MOS circuits • Timing: • Zero-delay for combinational and synchronous circuits • Mostly unit-delay for circuits with feedback5 ECE 538 Krish Chakrabarty 9 Fault Simulation Scenario (continued) • Faults: • Mostly single stuck-at faults • Sometimes stuck-open, transition, and path-delay faults; analog circuit fault simulators are not yet in common use • Equivalence fault collapsing of single stuck-at faults • Fault-dropping -- a fault once detected is dropped from consideration as more vectors are simulated; fault-dropping may be suppressed for diagnosis • Fault sampling -- a random sample of faults is simulated when the circuit is large ECE 538 Krish Chakrabarty 10 Fault Simulation Algorithms • Serial • Parallel • Deductive • Concurrent6 ECE 538 Krish Chakrabarty 11 Serial Algorithm • Algorithm: Simulate fault-free circuit and save responses. Repeat following steps for each fault in the fault list: • Modify netlist by injecting one fault • Simulate modified netlist, vector by vector, comparing responses with saved responses • If response differs, report fault detection and suspend simulation of remaining vectors • Advantages: • Easy to implement; needs only a true-value simulator, less memory • Most faults, including analog faults, can be simulated ECE 538 Krish Chakrabarty 12 Serial Algorithm (Cont.) • Disadvantage: Much repeated computation; CPU time prohibitive for VLSI circuits • Alternative: Simulate many faults together Test vectors Fault-free circuit Circuit with fault f1 Circuit with fault f2 Circuit with fault fn Comparator f1 detected? Comparator f2 detected? Comparator fn detected?7 ECE 538 Krish Chakrabarty 13 Parallel Fault Simulation • Compiled-code method; best with two-states (0,1) • Exploits inherent bit-parallelism of logic operations on computer words • Storage: one word per line for two-state simulation • Multi-pass simulation: Each pass simulates w-1 new faults, where w is the machine word length • Speed up over serial method ~ w-1 • Not suitable for circuits with timing-critical and non-Boolean logic ECE 538 Krish Chakrabarty 14 Parallel Fault Simulation Example a b c d e f g 1 1 1 1 1 1 1 0 1 1 0 1 0 0 0 1 0 1 s-a-1 s-a-0 0 0 1 c s-a-0 detected Bit 0: fault-free circuit Bit 1: circuit with c s-a-0 Bit 2: circuit with f s-a-18 ECE 538 Krish Chakrabarty 15 Limitations of Parallel Fault Simulation • Useful for two (1,0) or three (0,1,X) logic values, not suitable for multiple logic values, e.g. (0,1,U,R,F,…) – Multiple logic values can be handled but operations are complex • Wasted computations – Fault dropping not carried out effectively – Not possible to discard faults that are in the same word ECE 538 Krish Chakrabarty 16 Deductive Fault Simulation • One-pass simulation • Each line k contains a list Lk of faults detectable on k • Following true-value simulation of each vector, fault lists of all gate output lines are updated using set-theoretic rules, signal values, and gate input fault lists • PO fault lists provide detection data • Limitations: • Set-theoretic rules difficult to derive for non-Boolean gates • Gate delays are difficult to use9 ECE 538 Krish Chakrabarty 17 Deductive Fault Simulation Example a b c d e f g 1 1 1 0 1 {a0} {b0 , c0} {b0} {b0 , d0} Le = La U Lc U {e0} = {a0 , b0 , c0 , e0} Lg = (Le Lf ) U {g0} = {a0 , c0 , e0 , g0} U {b0 , d0 , f1} Notation: Lk is fault list for line k kn is s-a-n fault on line k Faults detected by the input vector 1 ECE 538 Krish Chakrabarty 18 Fault List Propagation Consider an AND gate Z = A.B, and let A = B = 1 Then LZ = LA ∪ LB ∪ {Z s-a-0} Let A = 0 and B = 1 Then LZ = {LA ∩ LB} ∪ {Z s-a-1} = (LA - LB) ∪ {Z s-a-1} In general, let I be the set of


View Full Document

Duke ECE 269 - VLSI System Testing

Download VLSI System Testing
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view VLSI System Testing and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view VLSI System Testing 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?