Oscillator Verification with Probability One



Similar documents
4 Lyapunov Stability Theory

Lecture 7: Finding Lyapunov Functions 1

Lecture 13 Linear quadratic Lyapunov theory

MCS 563 Spring 2014 Analytic Symbolic Computation Wednesday 9 April. Hilbert Polynomials

Example 4.1 (nonlinear pendulum dynamics with friction) Figure 4.1: Pendulum. asin. k, a, and b. We study stability of the origin x

Fixed Point Theorems

Dynamical Systems Analysis II: Evaluating Stability, Eigenvalues

MAS.836 HOW TO BIAS AN OP-AMP

Section 3.7. Rolle s Theorem and the Mean Value Theorem. Difference Equations to Differential Equations

How To Calculate The Power Gain Of An Opamp

MATH 132: CALCULUS II SYLLABUS

5. Linear algebra I: dimension

CONTROLLABILITY. Chapter Reachable Set and Controllability. Suppose we have a linear system described by the state equation

3. Derive the partition function for the ideal monoatomic gas. Use Boltzmann statistics, and a quantum mechanical model for the gas.

Module 1 : Conduction. Lecture 5 : 1D conduction example problems. 2D conduction

BOOLEAN CONSENSUS FOR SOCIETIES OF ROBOTS

AMS Verification at SoC Level: A practical approach for using VAMS vs SPICE views

Quotient Rings and Field Extensions

ESP-CV Custom Design Formal Equivalence Checking Based on Symbolic Simulation

Load Balancing and Switch Scheduling

How To Close The Loop On A Fully Differential Op Amp

Agenda. Michele Taliercio, Il circuito Integrato, Novembre 2001

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform

These help quantify the quality of a design from different perspectives: Cost Functionality Robustness Performance Energy consumption

1. Memory technology & Hierarchy

Fault Modeling. Why model faults? Some real defects in VLSI and PCB Common fault models Stuck-at faults. Transistor faults Summary

ELECTRICAL ENGINEERING

Dynamic Process Modeling. Process Dynamics and Control

Static-Noise-Margin Analysis of Conventional 6T SRAM Cell at 45nm Technology

Analog Signal Conditioning

Finite Element Formulation for Plates - Handout 3 -

Verification of Triple Modular Redundancy (TMR) Insertion for Reliable and Trusted Systems

StarRC Custom: Next-Generation Modeling and Extraction Solution for Custom IC Designs

NEUROMATHEMATICS: DEVELOPMENT TENDENCIES. 1. Which tasks are adequate of neurocomputers?

A Static Analyzer for Large Safety-Critical Software. Considered Programs and Semantics. Automatic Program Verification by Abstract Interpretation

ISSCC 2003 / SESSION 13 / 40Gb/s COMMUNICATION ICS / PAPER 13.7

Specification and Analysis of Contracts Lecture 1 Introduction

THE FUNDAMENTAL THEOREM OF ALGEBRA VIA PROPER MAPS

Euclidean Minimum Spanning Trees Based on Well Separated Pair Decompositions Chaojun Li. Advised by: Dave Mount. May 22, 2014

Corollary. (f є C n+1 [a,b]). Proof: This follows directly from the preceding theorem using the inequality

Precision Diode Rectifiers

3. Reaction Diffusion Equations Consider the following ODE model for population growth

Computer Graphics. Geometric Modeling. Page 1. Copyright Gotsman, Elber, Barequet, Karni, Sheffer Computer Science - Technion. An Example.

Chapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

Modelling, Extraction and Description of Intrinsic Cues of High Resolution Satellite Images: Independent Component Analysis based approaches

Photonic Reservoir Computing with coupled SOAs

The 104 Duke_ACC Machine

Critical points of once continuously differentiable functions are important because they are the only points that can be local maxima or minima.

CLOCK DOMAIN CROSSING CLOSING THE LOOP ON CLOCK DOMAIN FUNCTIONAL IMPLEMENTATION PROBLEMS

ABSTRACT. For example, circle orders are the containment orders of circles (actually disks) in the plane (see [8,9]).

Rotation: Moment of Inertia and Torque

ADVANCED CONTROL TECHNIQUE OF CENTRIFUGAL COMPRESSOR FOR COMPLEX GAS COMPRESSION PROCESSES

VARIATION-AWARE CUSTOM IC DESIGN REPORT 2011

Agilent Split Post Dielectric Resonators for Dielectric Measurements of Substrates. Application Note

Prentice Hall Algebra Correlated to: Colorado P-12 Academic Standards for High School Mathematics, Adopted 12/2009

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

Physics 9e/Cutnell. correlated to the. College Board AP Physics 1 Course Objectives

Computer Aided Design of Home Medical Alert System

Francesco Sorrentino Department of Mechanical Engineering

BOĞAZİÇİ UNIVERSITY COMPUTER ENGINEERING

Section 1.1. Introduction to R n

Math 4310 Handout - Quotient Vector Spaces

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

Coverability for Parallel Programs

The BJT Differential Amplifier. Basic Circuit. DC Solution

Grid adaptivity for systems of conservation laws

3. INNER PRODUCT SPACES

Mathematics Course 111: Algebra I Part IV: Vector Spaces

MATH1231 Algebra, 2015 Chapter 7: Linear maps

Lecture 15 An Arithmetic Circuit Lowerbound and Flows in Graphs

Case Study Competition Be an engineer of the future! Innovating cars using the latest instrumentation!

Formal Specification and Verification

CHAPTER 1 Splines and B-splines an Introduction

Representing Reversible Cellular Automata with Reversible Block Cellular Automata

Scaling and Biasing Analog Signals

(Quasi-)Newton methods

Metric Spaces Joseph Muscat 2003 (Last revised May 2009)

BIFURCATION PHENOMENA IN THE 1:1 RESONANT HORN FOR THE FORCED VAN DER POL - DUFFING EQUATION

The GCT program towards the P vs. NP problem

A power series about x = a is the series of the form

Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.

Contents. System Development Models and Methods. Design Abstraction and Views. Synthesis. Control/Data-Flow Models. System Synthesis Models

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

NONLINEAR TIME SERIES ANALYSIS

Electronics for Analog Signal Processing - II Prof. K. Radhakrishna Rao Department of Electrical Engineering Indian Institute of Technology Madras

Optimal shift scheduling with a global service level constraint

Secure Network Provenance

Introduction to the Finite Element Method

Hydrodynamic Limits of Randomized Load Balancing Networks

FIBER PRODUCTS AND ZARISKI SHEAVES

Chapter 2 The Research on Fault Diagnosis of Building Electrical System Based on RBF Neural Network

ARM Webinar series. ARM Based SoC. Abey Thomas

RAJALAKSHMI ENGINEERING COLLEGE MA 2161 UNIT I - ORDINARY DIFFERENTIAL EQUATIONS PART A

Metric Spaces. Chapter Metrics

Chapter 8 Differential and Multistage Amplifiers. EE 3120 Microelectronics II

Formal Verification and Linear-time Model Checking

15 Limit sets. Lyapunov functions

x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.

o-minimality and Uniformity in n 1 Graphs

Transcription:

Oscillator Verification with Probability One Chao Yan, Mark Greenstreet Intel, The University of British Columbia x x.5 u 2.5 x x.5.5 u FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p./7

Outline Motivation Rambus Ring Oscillator Our Approach: Reachability Analysis Challenge : Performance Challenge 2: Non-empty Failure Set Result Conclusion & Future Work FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.2/7

Motivation AMS bugs aount for large percent of re-spin bugs in industry Analog or Mixed Signal Circuits are widely used, e.g. Cells, IO, DFx Digital design has become relatively low error, e.g. formal property verification Analog design relies on designers intuition and expertise Simulation based methods are not good enough Expensive: solve continuous ordinary differential equations (ODEs) Low coverage: impossible to cover all corner cases Start-up failures: most simulations assume intended operating conditions Formal verification is an attractive approach But, not as suessful as digital FV Computation is more expensive than simulation: solve nonlinear ODEs from an initial set Auracy is a big problem: approximation techniques must be applied Analog are complicated, unexpected problems: e.g. metastability behaviors FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.3/7

Rambus Ring Oscillator x x x 2 x 3 x x x 2 x 3 Even-stage differential oscillator Forward inverters (), cross-couple inverters (). Forward inverters and cross-couple inverters fight each other to make the circuit oscillate Generates multiple, evenly spaced, differential phases. FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.4/7

Start-up Failures x x x 2 x 3 x x x 2 x 3 Will it start-up reliably? Proposed by Jones et al. Easy to show that the oscillation mode is stable once the oscillator is running. Start-up failures have been observed for real chips in spite of extensive simulation. Known to depend on the transistor sizes in the inverters. size of cross coupling inverters s = size of forward inverters FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.5/7

Start-up Failures H L H L H L H L If the inverters are much larger than the s, then the circuit acts like an 8-inverter ring, and the circuit may lock-up. FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.5/7

Start-up Failures L H L H H L L H If the inverters are much larger than the s, then the circuit acts like 4 SRAM cells, and the circuit may lock-up. FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.5/7

Our Approach: Reachability Analysis Reachability analysis Given an initial set S() and a dynamical system ẋ = f(x) compute forward reachable set S( t) after time t S( t) contains all trajectories from S() repeat for S(2 t), S(3 t) S() ẋ = f(x) S( t) S(2 t) FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.6/7

Our Approach: Reachability Analysis Reachability analysis Global convergence by reachability computation Split the entire initial state space into small cubes Compute forward reachable states from these cubes Show reachable sets from all cubes converge to one invariant set. FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.6/7

COHO: Reachability Computation Tool Construct aurate ODE models from net-list automatically v = f(v) Solving dynamic systems: linear differential inclusions v = Av b±u Efficient representation of high dimensional space: projectagon Exploits extensive algorithms for 2D computational geometry. Support non-convex regions for auracy COHO is sound for verifying safety properties Available at http://coho.sourceforge.net FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.7/7

Challenge : Performance Reachability computation using circuit-level model is expensive Each reachable computation in 4D may take minutes or several hours. There are 6 4 = 64k cubes for the two-stage oscillator Requires at least 45 days computation Reachability computation can t show convergence if using simple models with large approximation E.g. interval Reachable sets blow up rapidly FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.8/7

Dynamical System Analysis Apply quick reachability computation with large over-approximation when the dynamical system converges quickly Apply aurate reachability computation to minimize error otherwise fast aurate FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.9/7

Step. Differential Operation Change coordinate system u i u Σ i = x i x i, differential component 2 = x i x i, common mode component 2 Partition u space into small boxes and determine flows between boxes ẋ? ẋ? Eliminate boxes from future consideration if the node has no incoming edges Refine the partition and repeat above steps FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p./7

Step. Differential Operation All initial conditions lead to boxes with u Σ and u Σ close to V dd / 2. With m = 64, only.45% of total space remains 2.5 2.5 u4 u Σ 2.5.5.5 2 2.5 uu3 Σ FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p./7

Space reduction Common-mode components converges to a small range 2-dimensional interval model u = f(u) = u f(u )±err(u Σ ) Reachability computation for 2-dim system is much more efficient for 4-dim systems. Computation error is much smaller although the model error is larger FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p./7

Challenge 2: No Ideal Oscillator Reachability analysis can t show escape from the metastable region? FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.2/7

Challenge 2: No Ideal Oscillator Reachability analysis can t show escape from the metastable region Theorem : It is impossible to design an oscillator that starts from all initial conditions. A common feature in many analog systems, e.g. arbiter, synchronizer FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.2/7

Negligible Failure Set The failure set is not empty, instead, show it s negligible Perfectly reasonable for real designers. But, reachability analysis can t solve the problem A formal correctness proof must include some notion of probability. Theorem 2 Generalization of the cone argument (Mitchell et al.) A sufficient condition to show the failure set has lower dimension than the full space All trajectories leave the failure set with probability one Details in the paper FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.3/7

Step 2. Divergence from Metastability Prove trajectories escape from the metastable region with probability one by Theorem 2. Set H = diag([,,,]) for the growing differential components, trajectories diverge - for the diminishing common-mode components, trajectories converge.5 u 2 2.5.5.5 u FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.4/7

Step 3. Put it all together Perform reachability computations from remaining cubes only. Note we use 2-dim inclusion models Avoid repeated computations Only check cubes on boundaries: trajectories can t cross Partition the state space by 6 spokes.5 u 2.5.5.5 u FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.5/7

Results Verification with equal-size inverters The oscillator is formally verified, i.e. no higher harmonic oscillations or chaotic behavior Reachability computation is less than 5 minutes Verification for a range of sizes Use conservative over-approximation to guarantee soundness of the results Oscillators with.67 s 2. are formally verified size of cross coupling inverters s = size of forward inverters x x x 2 x 3 x x x 2 x 3 FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.6/7

Conclusion Measure-theory can be combined with standard reachability methods to formally verify real analog circuits. Reachability analysis can be combined efficiently with dynamical system analysis to show global convergence No physically plausible oscillator starts from all initial conditions Present a general method to prove that the failures our with probability zero Differential operations can be exploited for model reductions Future Work Apply our method to more state-of-the-art process (e.g. PTM models) Use interval-arithmetic for Phase II Verify ring oscillator with more (6) stages (may have higher harmonic modes) Parameterized verification Verify other practical analog circuits from industry FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.7/7

Prior Work VV Projection of Equlibrium Points 3 2.5 2 s.5.5.5 v.5.2.4.6.8 v.2.4.6 Small Signal Analysis [Greenstreet et al.] Finds all DC equilibrium points and detects if any are stable. The oscillator is free from lock-up for.625 < s < 2.25 A necessary condition but is NOT sufficient to prove correct operation Can not ensure no global convergence failures, e.g. harmonic behaviors? FMCAD2 25 th Oct, 22 Oscillator Verification with Probability One p.8/7