Spring 08, Apr 1 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Testability Measures Vishwani D. Agrawal James.

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.
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 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.
Copyright 2001, Agrawal & BushnellLecture 3b: Testability Analysis1 VLSI Testing Lecture 3b: Testability Analysis n Definition n Controllability and observability.
3/30/05Agrawal: Implication Graphs1 Implication Graphs and Logic Testing Vishwani D. Agrawal James J. Danaher Professor Dept. of ECE, Auburn University.
Testability Virendra Singh Indian Institute of Science Bangalore
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 8alt1 Lecture 8 Testability Measures n Definition n Controllability and observability n SCOAP measures.
Spring 07, Feb 6 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Verification Vishwani D. Agrawal James J. Danaher.
Spring 07, Feb 13 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Binary Decision Diagrams Vishwani D. Agrawal James.
11/17/05ELEC / Lecture 201 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 51 Testing Analog & Digital Products Lecture 5: Testability Measures n Definition n Controllability.
Fall 2006, Oct. 31, Nov. 2 ELEC / Lecture 10 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Power Analysis:
Spring 08, Jan 31.. ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Timing Simulation and STA Vishwani D. Agrawal.
Spring 07, Jan 16 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Introduction Vishwani D. Agrawal James J. Danaher.
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.
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.
Spring 08, Feb 28 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Retiming Vishwani D. Agrawal James J. Danaher.
Fall 2006, Nov. 30 ELEC / Lecture 12 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Test Power Vishwani D.
Spring 07, Jan 23 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Moore’s Law Vishwani D. Agrawal James J. Danaher.
9/21/04ELEC / Class Projects 1 ELEC / /Fall 2004 Advanced Topics in Electrical Engineering Designing VLSI for Low-Power and.
Spring 08, Mar 27 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Fault Simulation Vishwani D. Agrawal James J.
Spring 07, Mar 8 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Timing Verification and Optimization Vishwani D.
Vishwani D. Agrawal James J. Danaher Professor
10/11/05ELEC / Lecture 121 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
ELEC 7250 – VLSI Testing (Spring 2005) Place and Time: Broun 235, Tuesday/Thursday, 11:00AM—12:15PM Catalog data: ELEC VLSI Testing (3) Lec. 3. Pr.,
Spring 07, Apr 5 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Retiming Vishwani D. Agrawal James J. Danaher Professor.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 81 Lecture 8 Testability Measures n Origins n Controllability and observability n SCOAP measures 
Spring 07, Mar 1, 6 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Timing Simulation and STA Vishwani D. Agrawal.
Spring 07, Apr 17, 19 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Soft Errors and Fault-Tolerant Design Vishwani.
4/26/05 Kantipudi: ELEC CONTROLLABILITY AND OBSERVABILITY KALYANA R KANTIPUDI VLSI TESTING ’05 TERM PAPER TERM PAPER.
Spring 08, Feb 26 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Clock Skew Problem Vishwani D. Agrawal James J.
Spring 08, Feb 6 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Timing Verification and Optimization Vishwani D.
Spring 07, Jan 30 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 SOC Test Scheduling Vishwani D. Agrawal James.
Spring 08, Apr 8 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Combinational Circuit ATPG Vishwani D. Agrawal.
10/14/2015 Based on text by S. Mourad "Priciples of Electronic Systems" Digital Testing: Testability Measures.
Spring 2010, Mar 10ELEC 7770: Advanced VLSI Design (Agrawal)1 ELEC 7770 Advanced VLSI Design Spring 2010 Gate Sizing Vishwani D. Agrawal James J. Danaher.
Spring 2014, Mar 17...ELEC 7770: Advanced VLSI Design (Agrawal)1 ELEC 7770 Advanced VLSI Design Spring 2014 Zero - Skew Clock Routing Vishwani D. Agrawal.
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.
ELEC Digital Logic Circuits Fall 2015 Delay and Power Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering.
ELEC 7770 Advanced VLSI Design Spring 2016 Introduction
VLSI Testing Lecture 5: Logic Simulation
VLSI Testing Lecture 4: Testability Analysis
Vishwani D. Agrawal Department of ECE, Auburn University
ELEC 7770 Advanced VLSI Design Spring 2014 Introduction
VLSI Testing Lecture 7: Combinational ATPG
ELEC Digital Logic Circuits Fall 2014 Logic Testing (Chapter 12)
ELEC 7770 Advanced VLSI Design Spring 2016 Clock Skew Problem
ELEC 7770 Advanced VLSI Design Spring 2016 Zero-Skew Clock Routing
ELEC 7770 Advanced VLSI Design Spring 2012 Clock Skew Problem
ELEC 7770 Advanced VLSI Design Spring 2014 Clock Skew Problem
ELEC 7770 Advanced VLSI Design Spring 2012 Retiming
ELEC 7770 Advanced VLSI Design Spring 2012 Introduction
ELEC 7770 Advanced VLSI Design Spring 2010 Introduction
Vishwani D. Agrawal James J. Danaher Professor
VLSI Testing Lecture 8: Sequential ATPG
ELEC 7770 Advanced VLSI Design Spring 2014 Technology Mapping
ELEC 7770 Advanced VLSI Design Spring 2016 Technology Mapping
VLSI Testing Lecture 7: Combinational ATPG
Vishwani D. Agrawal James J. Danaher Professor
ELEC 7250 – VLSI Testing (Spring 2006)
ELEC 7770 Advanced VLSI Design Spring 2016 Retiming
VLSI Testing Lecture 4: Testability Analysis
ELEC Digital Logic Circuits Fall 2015 Logic Testing (Chapter 12)
ELEC 7770 Advanced VLSI Design Spring 2012 Timing Simulation and STA
ELEC 7770 Advanced VLSI Design Spring 2012 Gate Sizing
Presentation transcript:

Spring 08, Apr 1 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Testability Measures Vishwani D. Agrawal James J. Danaher Professor ECE Department, Auburn University Auburn, AL

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)2 What are Testability Measures?  Approximate measures of:  Difficulty of setting internal circuit lines to 0 or 1 from primary inputs.  Difficulty of observing internal circuit lines at primary outputs.  Applications:  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.

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)3 Testability Analysis  Determines testability measures  Involves Circuit Topological analysis, but no test vectors (static analysis) and no search algorithm.  Linear computational complexity  Otherwise, is pointless – might as well use automatic test-pattern generation and calculate:  Exact fault coverage  Exact test vectors

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)4 SCOAP 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  Ref.: L. H. Goldstein, “Controllability/Observability Analysis of Digital Circuits,” IEEE Trans. CAS, vol. CAS-26, no. 9. pp. 685 – 693, Sep

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)5 Range of SCOAP Measures  Controllabilities – 1 (easiest) to infinity (hardest)  Observabilities – 0 (easiest) to infinity (hardest)  Combinational measures:  Roughly proportional to number of circuit lines that must be set to control or observe given line.  Sequential measures:  Roughly proportional to number of times flip-flops must be clocked to control or observe given line.

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)6 Combinational Controllability

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)7 Controllability Formulas (Continued)

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)8 Combinational Observability To observe a gate input: Observe output and make other input values non-controlling.

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)9 Observability Formulas (Continued) Fanout stem: Observe through branch with best observability.

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)10 Combinational Controllability Circled numbers give level number. (CC0, CC1)

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)11 Controllability Through Level 2

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)12 Final Combinational Controllability

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)13 Combinational Observability for Level 1 Number in square box is level from primary outputs (POs). (CC0, CC1) CO

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)14 Comb. Observabilities for Level 2

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)15 Final Combinational Observabilities

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)16 Sequential Measures (Comparison)  Combinational  Increment CC0, CC1, CO whenever you pass through a gate, either forward or backward.  Sequential  Increment SC0, SC1, SO only when you pass through a flip-flop, either forward or backward.  Both  Must iterate on feedback loops until controllabilities stabilize.

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)17 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

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)18 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

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)19 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 is 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).

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)20 Sequential Example Initialization

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)21 After 1 Iteration

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)22 After 2 Iterations

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)23 After 3 Iterations

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)24 Stable Sequential Measures

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)25 Final Sequential Observabilities

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)26 Testability Measures are Not Exact   Exact computation of measures is NP-Complete and impractical   Blue (Italicized) measures show correct (exact) values – SCOAP measures are in orange – CC0,CC1 (CO) 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) 2,3(4) 2,3(4,∞)

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)27 Summary   Testability measures are approximate measures of:   Difficulty of setting circuit lines to 0 or 1   Difficulty of observing internal circuit lines   Applications:   Analysis of difficulty of testing internal circuit parts   Redesign circuit hardware or add special test hardware where measures show poor controllability or observability.   Guidance for algorithms computing test patterns – avoid using hard-to-control lines

Spring 08, Apr 1ELEC 7770: Advanced VLSI Design (Agrawal)28 Exercise Compute (CC0, CC1) CO for all lines in the following circuit. Questions:1. Is observability of primary input correct? 2. Are controllabilities of primary output correct? 3. What do the observabilities of the input lines of the AND gate indicate?