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.

Slides:



Advertisements
Similar presentations
10/4-6/05ELEC / Lecture 111 ELEC / (Fall 2005) Special Topics in Electrical Engineering Low-Power Design of Electronic Circuits.
Advertisements

10/28/2009VLSI Design & Test Seminar1 Diagnostic Tests and Full- Response Fault Dictionary Vishwani D. Agrawal ECE Dept., Auburn University Auburn, AL.
ECE Synthesis & Verification 1 ECE 667 Synthesis and Verification of Digital Systems Formal Verification Combinational Equivalence Checking.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 71 Lecture 7 Fault Simulation n Problem and motivation n Fault simulation algorithms n Serial n Parallel.
Diagnostic Test Generation and Fault Simulation Algorithms for Transition Faults Yu Zhang Vishwani D. Agrawal Auburn University, Auburn, Alabama
Yu Zhang Vishwani D. Agrawal Auburn University, Auburn, Alabama /13/2010 NATW 10 1 A Diagnostic Test Generation System.
A Diagnostic Test Generation System Yu Zhang Vishwani D. Agrawal Auburn University, Auburn, Alabama USA Nov. 3rdITC
Copyright 2001, Agrawal & BushnellDay-1 AM Lecture 11 Design for Testability Theory and Practice January 15 – 17, 2005 Vishwani D. Agrawal James J. Danaher.
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.
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 4b1 Design for Testability Theory and Practice Lecture 4b: Fault Simulation n Problem and motivation.
Fall 2006, Oct. 31, Nov. 2 ELEC / Lecture 10 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits Power Analysis:
Dec. 19, 2005ATS05: Agrawal and Doshi1 Concurrent Test Generation Auburn University, Department of Electrical and Computer Engineering Auburn, AL 36849,
Concurrent Test Generation Auburn University, Department of Electrical and Computer Engineering Auburn, AL 36849, USA Vishwani D. Agrawal Alok S. Doshi.
Spring 08, Apr 1 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Testability Measures Vishwani D. Agrawal James.
Advanced VLSI Design Project Verification Bobby Dixon ELEC
Spring 08, Jan 15 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Introduction Vishwani D. Agrawal James J. Danaher.
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.
Enhanced Dual-Transition Probabilistic Power Estimation with Selective Supergate Analysis Fei Huand Vishwani D. Agrawal Department of ECE, Auburn University,
Copyright 2001, Agrawal & BushnellDay-1 PM Lecture 61 Design for Testability Theory and Practice Lecture 6: Combinational ATPG n ATPG problem n Example.
6/17/2015Spectral Testing1 Spectral Testing of Digital Circuits An Embedded Tutorial Vishwani D. Agrawal Agere Systems Murray Hill, NJ 07974, USA
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.
Lecture 5 Fault Simulation
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.
Dec. 29, 2005Texas Instruments (India)1 Concurrent Test Generation Auburn University, Department of Electrical and Computer Engineering Auburn, AL 36849,
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.
Spring 08, Jan 22.. ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2008 Verification Vishwani D. Agrawal James J. Danaher.
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.
Dominance Fault Collapsing of Combinational Circuits By Kalpesh Shetye & Kapil Gore ELEC 7250, Spring 2004.
Copyright 2001, Agrawal & BushnellDay-1 AM-1 Lecture 11 Testing Analog & Digital Products Dr. Vishwani D. Agrawal James J. Danaher Professor of Electrical.
11/17/04VLSI Design & Test Seminar: Spectral Testing 1 Spectral Testing Vishwani D. Agrawal James J. Danaher Professor Dept. of Electrical and Computer.
Diagnostic and Detection Fault Collapsing for Multiple Output Circuits Raja K. K. R. Sandireddy and Vishwani D. Agrawal Dept. Of Electrical and Computer.
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.
VLSI Testing Lecture 7: Combinational ATPG
Muralidharan Venkatasubramanian Vishwani D. Agrawal
Fault Models, Fault Simulation and Test Generation Vishwani D. Agrawal Department of ECE, Auburn University Auburn, AL 36849, USA
ELEC 7770 Advanced VLSI Design Spring 2014 Verification Vishwani D. Agrawal James J. Danaher Professor ECE Department, Auburn University Auburn, AL
ELEC 7770 Advanced VLSI Design Spring 2008 Verification Vishwani D. Agrawal James J. Danaher Professor ECE Department, Auburn University Auburn, AL
Manufacture Testing of Digital Circuits
Copyright 2001, Agrawal & BushnellLecture 6:Fault Simulation1 VLSI Testing Lecture 6: Fault Simulation Dr. Vishwani D. Agrawal James J. Danaher Professor.
Fault Models, Fault Simulation and Test Generation Vishwani D. Agrawal Department of ECE, Auburn University Auburn, AL 36849, USA
On the Relation Between Simulation-based and SAT-based Diagnosis CMPE 58Q Giray Kömürcü Boğaziçi University.
Speaker: Nansen Huang VLSI Design and Test Seminar (ELEC ) March 9, 2016 Simulation-Based Equivalence Checking.
ATPG for Synchronous Sequential Circuits ELEC-7950 Spring 2016 Speaker : Mi Yan Student number : mzy0018.
ELEC 7770 Advanced VLSI Design Spring 2016 Introduction
VLSI Testing Lecture 6: Fault Simulation
ELEC 7770 Advanced VLSI Design Spring 2014 Introduction
VLSI Testing Lecture 6: Fault Simulation
VLSI Testing Lecture 7: Combinational ATPG
ELEC Digital Logic Circuits Fall 2014 Logic Testing (Chapter 12)
ELEC 7770 Advanced VLSI Design Spring 2016 Verification
ELEC 7770 Advanced VLSI Design Spring 2012 Retiming
ELEC 7770 Advanced VLSI Design Spring 2012 Introduction
ELEC 7770 Advanced VLSI Design Spring 2010 Interconnects and Crosstalk
ELEC 7770 Advanced VLSI Design Spring 2010 Introduction
Vishwani D. Agrawal James J. Danaher Professor
ELEC 7770 Advanced VLSI Design Spring 2014 Technology Mapping
ELEC 7770 Advanced VLSI Design Spring 2016 Technology Mapping
Fault Models, Fault Simulation and Test Generation
VLSI Testing Lecture 7: Combinational ATPG
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)
Presentation transcript:

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. Danaher Professor ECE Department, Auburn University Auburn, AL

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)2 Equivalence Checking  Definition: Establishing that two circuits are functionally equivalent.  Applications:  Verify that a design is identical to specification.  Verify that synthesis did not change the function.  Verify that corrections made to a design did not create new errors.

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)3 Compare Two Circuits  Graphs isomorphic?  Boolean functions identical?  Timing behaviors identical? a c b a c b ff

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)4 ATPG Approach (Miter)   Redundancy of a stuck-at-0 fault, checked by ATPG, establishes equivalence of the corresponding output pair.   If the fault is detectable, its tests are used to diagnose the differences. Circuit 1 (Verified design) Circuit 2 (Sythesized or modified design) stuck-at-0

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)5 Difficulties with Miter  ATPG is NP-complete  When circuits are equivalent, proving redundancy of faults is computationally expensive.  When circuits are different, test vectors are quickly found, but diagnosis is difficult.

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)6 A Heuristic Approach  Derive V1, test vectors for all faults in C1.  Derive V2, test vectors for all faults in C2.  If the combined set, V1+V2, produces the same outputs from the two circuits, then they are probably equivalent.  Reference: V. D. Agrawal, “Choice of Tests for Logic Verification and Equivalence Checking and the Use of Fault Simulation,” Proc. 13 th International Conf. VLSI Design, January 2000, pp

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)7 Example Circuit C1 x1 x2 x3 x4 C1 C1 = x1 x3 x4 + x2 x3 + x2 x x3 x2 x4 x1 Tests

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)8 Example Circuit C2 x1 x2 x3 x4 C2 C2 = x1 x3 x4 + x2 x3 + x2 x x3 x2 x4 x1 Tests

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)9 C1 ≡ C x3 x2 x4 x1 Tests x3 x2 x4 x1 Tests C1 C2

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)10 C2’: Erroneous Implementation of C2 x1 x2 x3 x4 C2’ C2 = x1 x3 x4 + x2 x3 + x2 x x3 x2 x4 x1 Tests C2’ = x1 x2 x3 x4 + x2 x3 + x2 x4 minterm deleted

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)11 Incorrect Result: C1 ≡ C2’ C1 = x1 x3 x4 + x2 x3 + x2 x x3 x2 x4 x1 Tests C2’ = x1 x2 x3 x4 + x2 x3 + x2 x4 minterm deleted x3 x2 x4 x1 Tests

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)12 Additional Safeguard   Simulate V1+V2 for equivalence:   Output always 0   No single fault on PI’s detected   Still not perfect C1 (Verified design) C2 (Sythesized or modified design) s-a-0 s-a-1 0

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)13 Probabilistic Equivalence  Consider two Boolean functions F and G of the same set of input variables {X1,..., Xn}.  Let f = Prob(F=1), g = Prob(G=1), xi = Prob(Xi=1)  For any arbitrarily given values of xi, if f = g, then F and G are equivalent with probability 1.  References:  J. Jain, J. Bittner, D. S. Fussell and J. A. Abraham, “Probabilistic Verification of Boolean Functions,” Formal Methods in System Design, vol. 1, pp ,  V. D. Agrawal and D. Lee, “Characteristic Polynomial Method for Verification and Test of Combinational Circuits,” Proc. 9 th International Conf. VLSI Design, January 1996, pp

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)14 Simplest Example  F = X1.X2, f = x1 x2  G = X1+X2, g = (1 – x1)(1 – x2) = 1 – x1 – x2 + x1 x2 = 1 – x1 – x2 + x1 x2  Input probabilities, x1 and x2, are randomly taken from {0.0, 1.0}  We make a wrong decision if f = g, i.e., x1x2 = 1 – x1 – x2 + x1 x2 orx1 + x2 = 1

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)15 Probability of Wrong Decision x1 x2 0 Randomly selected point (x1,x2) x1 + x2 = Probability of wrong decision = Random point falls on line {x1 + x2 = 1} = (area of line)/(area of unit square) = 0

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)16 Calculation of Signal Probability  Exact calculation  Exponential complexity.  Affected by roundoff errors.  Alternative: Monte Carlo method  Randomly select input probabilities  Generate random input vectors  Simulate circuits F and G  If outputs have a mismatch, circuits are not equivalent.  Else, stop after “sufficiently” large number of vectors (open problem).

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)17 References on Signal Probability  S. C. Seth and V. D. Agrawal, “A New Model for Computation of Probabilistic Testability in Combinational Circuits,” INTEGRATION, The VLSI Journal, vol. 7, pp ,  V. D. Agrawal and D. Lee and H. Woźniakowski, “Numerical Computation of Characteristic Polynomials of Boolean Functions and its Applications,” Numerical Algorithms, vol. 17, pp , 1998.

Spring 07, Feb 8ELEC 7770: Advanced VLSI Design (Agrawal)18 More on Equivalence Checking  Don’t cares  Sequential circuits  Time-frame expansion  Initial state  Design debugging (diagnosis)  Reference: S.-Y. Hwang and K.-T. Cheng, Formal Equivalence Checking and Design Debugging, Springer, 1998.