Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 51 Testing Analog & Digital Products Lecture 5: Testability Measures n Definition n Controllability.

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 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.
Give qualifications of instructors: DAP
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
1 Lecture 20 Sequential Circuits: Latches. 2 Overview °Circuits require memory to store intermediate data °Sequential circuits use a periodic signal to.
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.
1 Lecture 14 Sequential Circuit ATPG Simulation-Based Methods n Use of fault simulation for test generation n Contest n Directed search n Cost functions.
Copyright 2005, Agrawal & BushnellVLSI Test: Lecture 21alt1 Lecture 21alt BIST -- Built-In Self-Test (Alternative to Lectures 25, 26 and 27) n Definition.
Design for Testability Theory and Practice
An Efficient Test Relaxation Technique for Synchronous Sequential Circuits Aiman El-Maleh and Khaled Al-Utaibi King Fahd University of Petroleum & Minerals.
Copyright 2001, Agrawal & BushnellDay-2 PM Lecture 101 Design for Testability Theory and Practice Lecture 10: DFT and Scan n Definitions n Ad-hoc methods.
Nitin Yogi and Vishwani D. Agrawal Auburn University Auburn, AL 36849
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.
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 Lecture 4b1 Design for Testability Theory and Practice Lecture 4b: Fault Simulation n Problem and motivation.
Give qualifications of instructors: DAP
1 Lecture 23 Design for Testability (DFT): Full-Scan n Definition n Ad-hoc methods n Scan design Design rules Scan register Scan flip-flops Scan test sequences.
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
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
1 Lecture 10 Redundancy Removal Using ATPG n Redundancy identification n Redundancy removal Original slides copyright by Mike Bushnell and Vishwani Agrawal.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 14/13alt1 Lecture 14 Sequential Circuit ATPG Simulation-Based Methods (Lecture 13alt in the Alternative.
January 16, '02Agrawal: Delay testing1 Delay Testing of Digital Circuits Vishwani D. Agrawal Agere Systems, Murray Hill, NJ USA
Partial Scan Design with Guaranteed Combinational ATPG Vishwani D. Agrawal Agere Systems, Circuits and Systems Research Lab Murray Hill, NJ 07974, USA.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
Probabilistic Testability Analysis Aditya Newalkar.
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.
CS 151 Digital Systems Design Lecture 32 Hazards
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.
Testing.
VLSI Testing Lecture 7: Combinational ATPG
10/14/2015 Based on text by S. Mourad "Priciples of Electronic Systems" Digital Testing: Testability Measures.
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.
TOPIC : Controllability and Observability
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
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
VLSI Testing Lecture 4: Testability Analysis
Vishwani D. Agrawal Department of ECE, Auburn University
Lecture 13 Sequential Circuit ATPG Time-Frame Expansion
VLSI Testing Lecture 7: Combinational ATPG
Lecture 10 Sequential Circuit ATPG Time-Frame Expansion
VLSI Testing Lecture 8: Sequential ATPG
VLSI Testing Lecture 7: Combinational ATPG
Design for Testability
Automatic Test Pattern Generation
VLSI Testing Lecture 9: Delay Test
VLSI Testing Lecture 7: Delay Test
VLSI Testing Lecture 4: Testability Analysis
Theorems on Redundancy Identification
Lecture 14 Sequential Circuit ATPG Simulation-Based Methods
VLSI Testing Lecture 13: DFT and Scan
Presentation transcript:

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 51 Testing Analog & Digital Products Lecture 5: Testability Measures n Definition n Controllability and observability n SCOAP measures  Combinational circuits  Sequential circuits n Summary

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 52 What are Testability Measures? n 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. n 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 & BushnellDay-1 PM-2 Lecture 53 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

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 54 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

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 55 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 & BushnellDay-1 PM-2 Lecture 56 Combinational Controllability

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 57 Controllability Formulas (Continued)

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 58 Combinational Observability To observe a gate input: Observe output and make other input values non-controlling.

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 59 Observability Formulas (Continued) Fanout stem: Observe through branch with best observability.

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 510 Comb. Controllability Circled numbers give level number. (CC0, CC1)

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 511 Controllability Through Level 2

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 512 Final Combinational Controllability

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 513 Combinational Observability for Level 1 Number in square box is level from primary outputs (POs). (CC0, CC1) CO

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 514 Combinational Observabilities for Level 2

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 515 Final Combinational Observabilities

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 516 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 & BushnellDay-1 PM-2 Lecture 517 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 & BushnellDay-1 PM-2 Lecture 518 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 & BushnellDay-1 PM-2 Lecture 519 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).

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 520 Sequential Example Initialization

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 521 After 1 Iteration

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 522 After 2 Iterations

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 523 After 3 Iterations

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 524 Stable Sequential Measures

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 525 Final Sequential Observabilities

Copyright 2001, Agrawal & BushnellDay-1 PM-2 Lecture 526 Summary n Testability measures are approximate measures of:  Difficulty of setting circuit lines to 0 or 1  Difficulty of observing internal circuit lines n Applications:  Analysis of difficulty of testing internal circuit parts n 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