Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 81 Lecture 8 Testability Measures n Origins n Controllability and observability n SCOAP measures 

Slides:



Advertisements
Similar presentations
Testability Measure What do we mean when we say a circuit is testable?
Advertisements

CMP238: Projeto e Teste de Sistemas VLSI Marcelo Lubaszewski Aula 4 - Teste PPGC - UFRGS 2005/I.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 121 Lecture 12 Advanced Combinational ATPG Algorithms  FAN – Multiple Backtrace (1983)  TOPS – Dominators.
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.
10/4-6/05ELEC / Lecture 111 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 261 Lecture 26 Logic BIST Architectures n Motivation n Built-in Logic Block Observer (BILBO) n Test.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 13/12alt1 Lecture 13 Sequential Circuit ATPG Time-Frame Expansion (Lecture 12alt in the Alternative.
1 Lecture 10 Sequential Circuit ATPG Time-Frame Expansion n Problem of sequential circuit ATPG n Time-frame expansion n Nine-valued logic n ATPG implementation.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES Logic Simulation.
Copyright 2001, Agrawal & BushnellLecture 3b: Testability Analysis1 VLSI Testing Lecture 3b: Testability Analysis n Definition n Controllability and observability.
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt1 Lecture 21alt BIST -- Built-In Self-Test (Alternative to Lectures 25, 26 and 27) n Definition.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 71 Lecture 7 Fault Simulation n Problem and motivation n Fault simulation algorithms n Serial n Parallel.
Aiman El-Maleh, Ali Alsuwaiyan King Fahd University of Petroleum & Minerals, Dept. of Computer Eng., Saudi Arabia Aiman El-Maleh, Ali Alsuwaiyan King Fahd.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 91 Lecture 9 Combinational Automatic Test-Pattern Generation (ATPG) Basics n Algorithms and representations.
Testability Virendra Singh Indian Institute of Science Bangalore
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 4a1 Design for Testability Theory and Practice Lecture 4a: Simulation n What is simulation? n Design.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 8alt1 Lecture 8 Testability Measures n Definition n Controllability and observability n SCOAP measures.
1 Lecture 11 Major Combinational Automatic Test-Pattern Generation Algorithms n Definitions n D-Algorithm (Roth) D-cubes Bridging faults Logic.
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 4b1 Design for Testability Theory and Practice Lecture 4b: Fault Simulation n Problem and motivation.
Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 51 Testing Analog & Digital Products Lecture 5: Testability Measures n Definition n Controllability.
Spring 08, Apr 1 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Testability Measures Vishwani D. Agrawal James.
Design for Testability Theory and Practice Lecture 11: BIST
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 9alt1 Lecture 9alt Combinational ATPG (A Shortened version of Original Lectures 9-12) n ATPG problem.
ELEN 468 Lecture 241 ELEN 468 Advanced Logic Design Lecture 24 Design for Testability.
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 61 Design for Testability Theory and Practice Lecture 6: Combinational ATPG n ATPG problem n Example.
4/20/2006ELEC7250: Alexander 1 LOGIC SIMULATION AND FAULT DIAGNOSIS BY JINS DAVIS ALEXANDER ELEC 7250 PRESENTATION.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 11alt1 Lecture 11alt Advances in Combinational ATPG Algorithms  Branch and Bound Search  FAN – Multiple.
Lecture 6 Testability Measures
Spring 07, Feb 8 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Logic Equivalence Vishwani D. Agrawal James J.
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.
10/25/2007 ITC-07 Paper Delay Fault Simulation with Bounded Gate Delay Model Soumitra Bose Design Technology, Intel Corp. Folsom, CA Hillary.
Partial Scan Design with Guaranteed Combinational ATPG Vishwani D. Agrawal Agere Systems, Circuits and Systems Research Lab Murray Hill, NJ 07974, USA.
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 20alt1 Lecture 20alt DFT: Partial, Random-Access & Boundary Scan n Definition n Partial-scan architecture.
Lecture 27 Memory and Delay-Fault Built-In Self-Testing
Probabilistic Testability Analysis Aditya Newalkar.
EDA (CS286.5b) Day 19 Covering and Retiming. “Final” Like Assignment #1 –longer –more breadth –focus since assignment #2 –…but ideas are cummulative –open.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 111 Lecture 11 Major Combinational Automatic Test-Pattern Generation Algorithms n Definitions n D-Algorithm.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 241 Lecture 24 Design for Testability (DFT): Partial-Scan & Scan Variations n Definition n Partial-scan.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 101 Lecture 10 Combinational ATPG and Logic Redundancy n Redundancy identification n Redundancy removal.
4/26/05 Kantipudi: ELEC CONTROLLABILITY AND OBSERVABILITY KALYANA R KANTIPUDI VLSI TESTING ’05 TERM PAPER TERM PAPER.
VLSI Testing Lecture 7: Combinational ATPG
Chapter 5 - Part Sequential Circuit Design Design Procedure  Specification  Formulation - Obtain a state diagram or state table  State Assignment.
1 COMP541 State Machines Montek Singh Feb 8, 2012.
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.
False Path. Timing analysis problems We want to determine the true critical paths of a circuit in order to: –To determine the minimum cycle time that.
10/14/2015 Based on text by S. Mourad "Priciples of Electronic Systems" Digital Testing: Testability Measures.
Logic BIST Logic BIST.
Design for Testability By Dr. Amin Danial Asham. References An Introduction to Logic Circuit Testing.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES
Copyright 2001, Agrawal & BushnellLecture 6: Sequential ATPG1 VLSI Testing Lecture 6: Sequential ATPG n Problem of sequential circuit ATPG n Time-frame.
Static Timing Analysis
1 COMP541 Finite State Machines - 1 Montek Singh Sep 22, 2014.
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.
1 COMP541 Sequential Logic – 2: Finite State Machines Montek Singh Feb 29, 2016.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 61 Lecture 6 Logic Simulation n What is simulation? n Design verification n Circuit modeling n True-value.
VLSI Testing Lecture 5: Logic Simulation
VLSI Testing Lecture 5: Logic Simulation
VLSI Testing Lecture 4: Testability Analysis
Vishwani D. Agrawal Department of ECE, Auburn University
Definitions D-Algorithm (Roth) D-cubes Bridging faults
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
Lecture 10 Sequential Circuit ATPG Time-Frame Expansion
CPE/EE 428, CPE 528 Testing Combinational Logic (5)
VLSI Testing Lecture 8: Sequential ATPG
Design for Testability
Automatic Test Pattern Generation
VLSI Testing Lecture 4: Testability Analysis
Lecture 26 Logic BIST Architectures
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
Presentation transcript:

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 81 Lecture 8 Testability Measures n Origins n Controllability and observability n SCOAP measures  Sources of correlation error  Combinational circuit example  Sequential circuit example n Test vector length prediction n High-Level testability measures n Summary

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 82 Purpose n Need approximate measure of:  Difficulty of setting internal circuit lines to 0 or 1 by setting primary circuit inputs  Difficulty of observing internal circuit lines by observing primary outputs n Uses:  Analysis of difficulty of testing internal circuit parts – redesign or add special test hardware  Guidance for algorithms computing test patterns – avoid using hard-to-control lines  Estimation of fault coverage  Estimation of test vector length

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 83 Origins n Control theory n Rutman First definition of controllability n Goldstein SCOAP  First definition of observability  First elegant formulation  First efficient algorithm to compute controllability and observability n Parker & McCluskey 1975  Definition of Probabilistic Controllability n Brglez COP  1 st probabilistic measures n Seth, Pan & Agrawal 1985 – PREDICT  1 st exact probabilistic measures

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 84 Testability Analysis  Involves Circuit Topological analysis, but no test vectors and no search algorithm  Static analysis  Linear computational complexity  Otherwise, is pointless – might as well use automatic test-pattern generation and calculate:  Exact fault coverage  Exact test vectors

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 85 Types of Measures  SCOAP – Sandia Controllability and Observability Analysis Program  Combinational measures:  CC0 – Difficulty of setting circuit line to logic 0  CC1 – Difficulty of setting circuit line to logic 1  CO – Difficulty of observing a circuit line  Sequential measures – analogous:  SC0  SC1  SO

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 86 Range of SCOAP Measures  Controllabilities – 1 (easiest) to infinity (hardest)  Observabilities – 0 (easiest) to infinity (hardest)  Combinational measures:  Roughly proportional to # circuit lines that must be set to control or observe given line  Sequential measures:  Roughly proportional to # times a flip-flop must be clocked to control or observe given line

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 87 Goldstein’s SCOAP Measures  AND gate O/P 0 controllability: output_controllability = min (input_controllabilities) + 1  AND gate O/P 1 controllability: output_controllability =  (input_controllabilities) + 1  XOR gate O/P controllability output_controllability = min (controllabilities of each input set) + 1  Fanout Stem observability:  or min (some or all fanout branch observabilities)

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 88 Controllability Examples

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 89 More Controllability Examples

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 810 Observability Examples To observe a gate input: Observe output and make other input values non-controlling

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 811 More Observability Examples To observe a fanout stem: Observe it through branch with best observability

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 812 Error Due to Stems & Reconverging Fanouts SCOAP measures wrongly assume that controlling or observing x, y, z are independent events  CC0 (x), CC0 (y), CC0 (z) correlate  CC1 (x), CC1 (y), CC1 (z) correlate  CO (x), CO (y), CO (z) correlate x y z

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 813 Correlation Error Example n Exact computation of measures is NP-Complete and impractical n Italicized (green) measures show correct values – SCOAP measures are in red or bold CC0,CC1 (CO) x y z 1,1(6) 1,1(5, ) 1,1(5) 1,1(4,6) 1,1(6) 1,1(5, ) 6,2(0) 4,2(0) 2,3(4) 2,3(4, ) (5) (4,6) (6) 8 2,3(4) 2,3(4, ) 8 8 8

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 814 Sequential Example

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 815 Levelization Algorithm 6.1  Label each gate with max # of logic levels from primary inputs or with max # of logic levels from primary output  Assign level # 0 to all primary inputs (PIs)  For each PI fanout:  Label that line with the PI level number, &  Queue logic gate driven by that fanout  While queue is not empty:  Dequeue next logic gate  If all gate inputs have level #’s, label the gate with the maximum of them + 1;  Else, requeue the gate

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 816 Controllability Through Level 0 Circled numbers give level number. (CC0, CC1)

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 817 Controllability Through Level 2

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 818 Final Combinational Controllability

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 819 Combinational Observability for Level 1 Number in square box is level from primary outputs (POs). (CC0, CC1) CO

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 820 Combinational Observabilities for Level 2

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 821 Final Combinational Observabilities

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 822 Sequential Measure Differences  Combinational  Increment CC0, CC1, CO whenever you pass through a gate, either forwards or backwards  Sequential  Increment SC0, SC1, SO only when you pass through a flip-flop, either forwards or backwards, to Q, Q, D, C, SET, or RESET  Both  Must iterate on feedback loops until controllabilities stabilize

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 823 D Flip-Flop Equations  Assume a synchronous RESET line.  CC1 (Q) = CC1 (D) + CC1 (C) + CC0 (C) + CC0 (RESET)  SC1 (Q) = SC1 (D) + SC1 (C) + SC0 (C) + SC0 (RESET) + 1  CC0 (Q) = min [CC1 (RESET) + CC1 (C) + CC0 (C), CC0 (D) + CC1 (C) + CC0 (C)]  SC0 (Q) is analogous  CO (D) = CO (Q) + CC1 (C) + CC0 (C) + CC0 (RESET)  SO (D) is analogous

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 824 D Flip-Flop Clock and Reset  CO (RESET) = CO (Q) + CC1 (Q) + CC1 (RESET) + CC1 (C) + CC0 (C)  SO (RESET) is analogous  Three ways to observe the clock line: 1. Set Q to 1 and clock in a 0 from D 2. Set the flip-flop and then reset it 3. Reset the flip-flop and clock in a 1 from D  CO (C) = min [ CO (Q) + CC1 (Q) + CC0 (D) + CC1 (C) + CC0 (C), CO (Q) + CC1 (Q) + CC1 (RESET) + CC1 (C) + CC0 (C), CO (Q) + CC0 (Q) + CC0 (RESET) + CC1 (D) + CC1 (C) + CC0 (C)]  SO (C) is analogous

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 825 Algorithm 6.2 Testability Computation 1. For all PIs, CC0 = CC1 = 1 and SC0 = SC1 = 0 2. For all other nodes, CC0 = CC1 = SC0 = SC1 = 3. Go from PIs to POs, using CC and SC equations to get controllabilities -- Iterate on loops until SC stabilizes -- convergence guaranteed 4. Set CO = SO = 0 for POs, for all other lines 5. Work from POs to PIs, Use CO, SO, and controllabilities to get observabilities 6. Fanout stem (CO, SO) = min branch (CO, SO) 7. If a CC or SC (CO or SO) is, that node is uncontrollable (unobservable) 8 8

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 826 Sequential Example Initialization

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 827 After 1 Iteration

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 828 After 2 Iterations

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 829 After 3 Iterations

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 830 Stable Sequential Measures

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 831 Final Sequential Observabilities

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 832 Test Vector Length Prediction  First compute testabilities for stuck-at faults  T (x sa0) = CC1 (x) + CO (x)  T (x sa1) = CC0 (x) + CO (x)  Testability index = log  T (f i ) fifi

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 833 Number Test Vectors vs. Testability Index

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 834 High Level Testability  Build data path control graph (DPCG) for circuit  Compute sequential depth -- # arcs along path between PIs, registers, and POs  Improve Register Transfer Level Testability with redesign

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 835 Improved RTL Design

Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 836 Summary n Testability approximately measures:  Difficulty of setting circuit lines to 0 or 1  Difficulty of observing internal circuit lines n Uses:  Analysis of difficulty of testing internal circuit parts n Redesign circuit hardware or add special test hardware where measures show bad controllability or observability  Guidance for algorithms computing test patterns – avoid using hard-to-control lines  Estimation of fault coverage – 3-5 % error  Estimation of test vector length