VLSI Testing Lecture 4: Testability Analysis

Slides:



Advertisements
Similar presentations
CMP238: Projeto e Teste de Sistemas VLSI Marcelo Lubaszewski Aula 4 - Teste PPGC - UFRGS 2005/I.
Advertisements

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 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.
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.
Copyright 2001, Agrawal & BushnellDay-1 AM Lecture 11 Design for Testability Theory and Practice January 15 – 17, 2005 Vishwani D. Agrawal James J. Danaher.
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, Apr 1 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Testability Measures Vishwani D. Agrawal James.
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
1 Lecture 10 Redundancy Removal Using ATPG n Redundancy identification n Redundancy removal Original slides copyright by Mike Bushnell and Vishwani Agrawal.
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.
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.,
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 81 Lecture 8 Testability Measures n Origins n Controllability and observability n SCOAP measures 
Copyright 2001, Agrawal & BushnellDay-1 AM-1 Lecture 11 Testing Analog & Digital Products Dr. Vishwani D. Agrawal James J. Danaher Professor of Electrical.
4/26/05 Kantipudi: ELEC CONTROLLABILITY AND OBSERVABILITY KALYANA R KANTIPUDI VLSI TESTING ’05 TERM PAPER TERM PAPER.
Copyright 2001, Agrawal & BushnellLecture 1 Introduction1 VLSI Testing Lecture 1: Introduction Dr. Vishwani D. Agrawal James J. Danaher Professor of Electrical.
Copyright 2001, Agrawal & BushnellLecture 1 Introduction1 VLSI Testing Dr. Vishwani D. Agrawal James J. Danaher Professor of Electrical and Computer Engineering.
VLSI Testing Lecture 7: Combinational ATPG
10/14/2015 Based on text by S. Mourad "Priciples of Electronic Systems" Digital Testing: Testability Measures.
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.
Copyright 2001, Agrawal & BushnellLecture 6:Fault Simulation1 VLSI Testing Lecture 6: Fault Simulation Dr. Vishwani D. Agrawal James J. Danaher Professor.
ELEC Digital Logic Circuits Fall 2015 Delay and Power Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering.
November 25Asian Test Symposium 2008, Nov 24-27, Sapporo, Japan1 Sequential Circuit BIST Synthesis using Spectrum and Noise from ATPG Patterns Nitin Yogi.
Copyright 2012, AgrawalLecture 12: Alternate Test1 VLSI Testing Lecture 12: Alternate Test Dr. Vishwani D. Agrawal James J. Danaher Professor of Electrical.
ATPG for Synchronous Sequential Circuits ELEC-7950 Spring 2016 Speaker : Mi Yan Student number : mzy0018.
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
Lecture 14 Sequential Circuit ATPG Simulation-Based Methods
VLSI Testing Lecture 4: Testability Analysis
Vishwani D. Agrawal Department of ECE, Auburn University
Algorithms and representations Structural vs. functional test
VLSI Testing Lecture 14: Built-In Self-Test
Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
VLSI Testing Lecture 6: Fault Simulation
VLSI Testing Lecture 7: Combinational ATPG
VLSI Testing Lecture 15: System Diagnosis
Lecture 10 Sequential Circuit ATPG Time-Frame Expansion
ELEC Digital Logic Circuits Fall 2014 Logic Testing (Chapter 12)
VLSI Testing Lecture 12: Alternate Test
CPE/EE 428, CPE 528 Testing Combinational Logic (5)
VLSI Testing Lecture 2: Yield & Quality
VLSI Testing Lecture 10: Memory Test
ELEC 7770 Advanced VLSI Design Spring 2012 Retiming
VLSI Testing Lecture 8: Sequential ATPG
Fault Models, Fault Simulation and Test Generation
VLSI Testing Lecture 7: Combinational ATPG
Design for Testability
VLSI Testing Lecture 9: Delay Test
ELEC 7250 – VLSI Testing (Spring 2006)
ELEC 7770 Advanced VLSI Design Spring 2016 Retiming
VLSI Testing Lecture 7: Delay Test
VLSI Testing Lecture 3: Fault Modeling
Lecture 26 Logic BIST Architectures
ELEC Digital Logic Circuits Fall 2015 Logic Testing (Chapter 12)
Theorems on Redundancy Identification
Lecture 14 Sequential Circuit ATPG Simulation-Based Methods
VLSI Testing Lecture 13: DFT and Scan
ELEC 7770 Advanced VLSI Design Spring 2012 Timing Simulation and STA
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
Presentation transcript:

VLSI Testing Lecture 4: Testability Analysis Dr. Vishwani D. Agrawal James J. Danaher Professor of Electrical and Computer Engineering Auburn University, Alabama 36849, USA vagrawal@eng.auburn.edu http://www.eng.auburn.edu/~vagrawal IIT Delhi, Aug 19, 2013, 3:30-5:00PM Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Lecture 4: Testability Analysis Contents Definition Controllability and observability SCOAP measures Combinational circuits Sequential circuits Summary Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

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. Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Lecture 4: 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 generator (ATPG) and a fault simulator to calculate: Exact fault coverage Exact test vectors Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Lecture 4: Testability Analysis 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. 1979. Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

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. Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Combinational Controllability Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Controllability Formulas (Continued) Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Combinational Observability To observe a gate input: Observe output and make other input values non-controlling. Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Observability Formulas (Continued) Fanout stem: Observe through branch with best observability. Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Lecture 4: Testability Analysis Comb. Controllability Circled numbers give level number. (CC0, CC1) Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Controllability Through Level 2 Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Final Combinational Controllability Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

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

Combinational Observabilities for Level 2 Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Final Combinational Observabilities Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

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. Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Lecture 4: Testability Analysis 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 SO (D) is analogous Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

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: Set Q to 1 and clock in a 0 from D Set the flip-flop and then reset it 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) + CO (Q) + CC0 (Q) + CC0 (RESET) + CC1 (D) + CC1 (C) + CC0 (C)] SO (C) is analogous Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

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

Sequential Example Initialization Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Lecture 4: Testability Analysis After 1 Iteration Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Lecture 4: Testability Analysis After 2 Iterations Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Lecture 4: Testability Analysis After 3 Iterations Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Stable Sequential Measures Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Final Sequential Observabilities Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis

Lecture 4: Testability Analysis 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 Copyright 2001, Agrawal & Bushnell Lecture 4: Testability Analysis