Reachability Analysis for AMS Verification using Hybrid Support Function and SMT- based Method Honghuang Lin, Peng Li Dept. of ECE, Texas A&M University.

Slides:



Advertisements
Similar presentations
Hybrid BDD and All-SAT Method for Model Checking Orna Grumberg Joint work with Assaf Schuster and Avi Yadgar Technion – Israel Institute of Technology.
Advertisements

An Introduction to the Model Verifier verds Wenhui Zhang September 15 th, 2010.
Query Optimization of Frequent Itemset Mining on Multiple Databases Mining on Multiple Databases David Fuhry Department of Computer Science Kent State.
Slide 1 Bayesian Model Fusion: Large-Scale Performance Modeling of Analog and Mixed- Signal Circuits by Reusing Early-Stage Data Fa Wang*, Wangyang Zhang*,
Timed Automata.
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES Logic Simulation.
Zonotopes Techniques for Reachability Analysis Antoine Girard Workshop “Topics in Computation and Control” March 27 th 2006, Santa Barbara, CA, USA
Combining Symbolic Simulation and Interval Arithmetic for the Verification of AMS Designs Mohamed Zaki, Ghiath Al Sammane, Sofiene Tahar, Guy Bois FMCAD'07.
How to Accelerate the Analog Design Verification Flow Itai Yarom Senior Verification Expert Synopsys.
Trajectory-Directed Discrete State Space Modeling for Formal Verification of Nonlinear Analog Circuits Presented by Valeriy Balabanov.
Reduction of Interpolants for Logic Synthesis John Backes Marc Riedel University of Minnesota Dept.
Chapter 4: Linear Models for Classification
Coupling Continuum Model and Smoothed Particle Hydrodynamics Methods for Reactive Transport Yilin Fang, Timothy D Scheibe and Alexandre M Tartakovsky Pacific.
Statistical Full-Chip Leakage Analysis Considering Junction Tunneling Leakage Tao Li Zhiping Yu Institute of Microelectronics Tsinghua University.
May 14, ISVLSI 09 Algorithms for Estimating Number of Glitches and Dynamic Power in CMOS Circuits with Delay Variations Jins Davis Alexander Vishwani.
Generic Object Detection using Feature Maps Oscar Danielsson Stefan Carlsson
1 Dynamic Power Estimation With Process Variation Modeled as Min–Max Delay Jins Davis Alexander Vishwani D. Agrawal Department of Electrical and Computer.
ECE Synthesis & Verification1 ECE 667 Spring 2011 Synthesis and Verification of Digital Systems Verification Introduction.
TH EDA NTHU-CS VLSI/CAD LAB 1 Re-synthesis for Reliability Design Shih-Chieh Chang Department of Computer Science National Tsing Hua University.
High-Performance Simulation of Quantum Computation using QuIDDs George F. Viamontes, Manoj Rajagopalan, Igor L. Markov, and John P. Hayes Advanced Computer.
1 Compositional Verification of Hybrid Systems Using Simulation Relations Doctorate Defense Goran Frehse Radboud Universiteit, Nijmegen, Oct. 10, 2005.
Sanjit A. Seshia and Randal E. Bryant Computer Science Department
Efficient Reachability Checking using Sequential SAT G. Parthasarathy, M. K. Iyer, K.-T.Cheng, Li. C. Wang Department of ECE University of California –
Preference Analysis Joachim Giesen and Eva Schuberth May 24, 2006.
5/6/2004J.-H. R. Jiang1 Functional Dependency for Verification Reduction & Logic Minimization EE290N, Spring 2004.
NEW APPROACH TO CALCULATION OF RANGE OF POLYNOMIALS USING BERNSTEIN FORMS.
Formal Verification of SpecC Programs using Predicate Abstraction Himanshu Jain Daniel Kroening Edmund Clarke Carnegie Mellon University.
Statistical Methods for long-range forecast By Syunji Takahashi Climate Prediction Division JMA.
Online Learning Algorithms
Chapter 9: Boundary Testing
©2003/04 Alessandro Bogliolo Background Information theory Probability theory Algorithms.
Introduction to Monte Carlo Methods D.J.C. Mackay.
Computer Graphics Group Tobias Weyand Mesh-Based Inverse Kinematics Sumner et al 2005 presented by Tobias Weyand.
Combining Time and Frequency Domain Specifications for Periodic Signals Aleksandar Chakarov and Sriram Sankaranarayanan University of Colorado Boulder.
Bert Pluymers Johan Suykens, Bart De Moor Department of Electrotechnical Engineering (ESAT) Research Group SCD-SISTA Katholieke Universiteit Leuven, Belgium.
Transformation of Timed Automata into Mixed Integer Linear Programs Sebastian Panek.
Energy-Aware Scheduling with Quality of Surveillance Guarantee in Wireless Sensor Networks Jaehoon Jeong, Sarah Sharafkandi and David H.C. Du Dept. of.
Towards Robust Indexing for Ranked Queries Dong Xin, Chen Chen, Jiawei Han Department of Computer Science University of Illinois at Urbana-Champaign VLDB.
A Power Grid Analysis and Verification Tool Based on a Statistical Prediction Engine M.K. Tsiampas, D. Bountas, P. Merakos, N.E. Evmorfopoulos, S. Bantas.
Direct Message Passing for Hybrid Bayesian Networks Wei Sun, PhD Assistant Research Professor SFL, C4I Center, SEOR Dept. George Mason University, 2009.
Progress in identification of damping: Energy-based method with incomplete and noisy data Marco Prandina University of Liverpool.
Simultaneously Learning and Filtering Juan F. Mancilla-Caceres CS498EA - Fall 2011 Some slides from Connecting Learning and Logic, Eyal Amir 2006.
Design, Optimization, and Control for Multiscale Systems
Speech Communication Lab, State University of New York at Binghamton Dimensionality Reduction Methods for HMM Phonetic Recognition Hongbing Hu, Stephen.
Verification & Validation By: Amir Masoud Gharehbaghi
Synthetic Sequence Design for Signal Location Yaw-Ling Lin ( 林 耀 鈴 ) Dept Computer Sci and Info Engineering College of Computing and Informatics Providence.
Multi-Split-Row Threshold Decoding Implementations for LDPC Codes
To Split or to Conjoin: The Question in Image Computation 1 {mooni, University of Colorado at Boulder 2 Synopsys.
Generalized Point Based Value Iteration for Interactive POMDPs Prashant Doshi Dept. of Computer Science and AI Institute University of Georgia
Fast VLSI Implementation of Sorting Algorithm for Standard Median Filters Hyeong-Seok Yu SungKyunKwan Univ. Dept. of ECE, Vada Lab.
Anders Nielsen Technical University of Denmark, DTU-Aqua Mark Maunder Inter-American Tropical Tuna Commission An Introduction.
Nonlinear Adaptive Kernel Methods Dec. 1, 2009 Anthony Kuh Chaopin Zhu Nate Kowahl.
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.
Fundamentals of Data Analysis Lecture 10 Correlation and regression.
1 CS 391L: Machine Learning: Computational Learning Theory Raymond J. Mooney University of Texas at Austin.
Hybrid BDD and All-SAT Method for Model Checking
Stochastic Streams: Sample Complexity vs. Space Complexity
VLSI Testing Lecture 5: Logic Simulation
VLSI Testing Lecture 5: Logic Simulation
Instructor: Rajeev Alur
Vishwani D. Agrawal Department of ECE, Auburn University
Solving Linear Arithmetic with SAT-based MC
Jincong He, Louis Durlofsky, Pallav Sarma (Chevron ETC)
Random Sampling over Joins Revisited
Finding Fastest Paths on A Road Network with Speed Patterns
Discrete Controller Synthesis
Using Manifold Structure for Partially Labeled Classification
Chapter 3b Leakage Efficient Chip-Level Dual-Vdd Assignment with Time Slack Allocation for FPGA Power Reduction Prof. Lei He Electrical Engineering Department.
Srinivas Neginhal Anantharaman Kalyanaraman CprE 585: Survey Project
Presentation transcript:

Reachability Analysis for AMS Verification using Hybrid Support Function and SMT- based Method Honghuang Lin, Peng Li Dept. of ECE, Texas A&M University {linhh,

2 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Motivation  Mixed-signal systems –Analog + Digital –Nonlinearity + Digital effects  Reachability Analysis –Formal method for AMS verification –Capable for PLL lock time checking DCO Digital logic TDC Digitally-Intensive PLL [G. Yu et al JLPE’10]

3 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Motivation  Challenges –Digital effects increase the complexity of the reachability analysis –Reachability analysis is expensive for nonlinear systems  Questions –Q1: How to model the two types of signals (especially digital) efficiently for verification? –Q2: How to accelerate reachability analysis?

4 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Q1: Model  Linearization –TDC resolution effect –Complex transition –Digital  Linear analog –Staircase  Linear transition TDC

5 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Q1: Model  Variable Reduction –IIR finite word length –Need state variables for internal nodes –Digital  Linear analog –Reduce # state variables by 8 Second order IIR Multiplication: round-off error Addition: overflow

6 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Q2: Reachability Analysis Acceleration  Support function based method –[A. Girard et al IFAC2008] –Initial space to reachable space –Support function representation –Efficient for linear systems –Unable to solve nonlinear systems Reachable space Support function

7 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Q2: Reachability Analysis Acceleration  Simulation-assisted SMT based method –[L.Yin et al ICCAD2012] –Generic method for nonlinear systems –Discretize  Simulation  Approximation  SAT  Conservative –Suffers from resolution and dimension explosion  Our goal: accelerate this generic method by leveraging support function

8 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Proposed Method AMS Digital  Analog Pure analog model Linear subsystem Nonlinear subsystem Support function based method SMT- based method Reachability analysis Reachable space of the full system

9 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Outline  Motivation  Overview  Pure Analog Model with KRR  Hybrid Reachability Analysis  Experimental Results  Summary

10 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Conservative Model AMS System XaXa XdXd FaFa FdFd Pure analog model X F EuEu ElEl Regression Conservative? Upper bound E u Lower bound E l X a : Analog variables X d : Digital variables F a : Analog transition F d : Digital transition X: Analog variables F: Pure analog transition function E u : Upper bound of errors between F and F a/d E l : Lower bound of errors between F and F a/d

11 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Error Estimation with KRR Min. structural risk

12 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Error Estimation with KRR  Error Estimation of the Model  Next: Hybrid Reachability Analysis X(t) AMS system Pure analog model E i (t+1) Error on the i-th state variable KRR Prediction + Confidence Intervals Features Targets

13 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Partition the Pure Analog Model –Linear: –Nonlinear: –Variables on the boundary: Linearized

14 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Hybrid Method Support function method NL-SMT with support function Combine the two reachable spaces with different dimension

15 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Support Function Based Method  Support function –Definition: –Intersection of half spaces:  Tight polyhedral over approximation of a reachable space –A list of vector l i –Corresponding support function values ρ( l i ) – E.g. represent oval with pentagon

16 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Support Function Based Method  Reachability analysis in linear subsystems –[A. Girard et al IFAC2008] –For the linear subsystem: –A useful property of support function: –The reachable space AU can be easily computed by the initial space U U AU Polyhedral over approximation A AU+ err U AU

17 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method SMT Based Method

18 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method NL-SMT with Support Function –Another Property of support functions: U V

19 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Intersection of Reachable Subspaces –XY: Reachable space of linear subsystem –XZ: Nonlinear subsystem X X X X X YY Y Y Z Z Z Z Linear Nonlinear

20 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method  Error interval of modeling –KRR tool: Dlib-ml [Davis E. King, 2009] –Error intervals of phase difference and the output of loop filter for different word length –Reflects the error between digital implementation and ideal analog characteristic Experiment Results

21 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method  Speed up of the hybrid method –Compare single SAT solver running –Overhead in linear subsystem: sec –At least 76X speedup Experiment Results # var. in SAT AMS system>20 >40 Pure analog model5510 Partitioned nonlinear subsystem 235 # SAT constraintsRuntime(sec) Without partition With partition

22 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Hybrid Reachability Analysis of PLL  Lock time < 0.25 us –Resolution determined by the error interval prediction

23 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Conclusions  Model with KRR –AMS  Pure Analog –KRR  Hybrid Reachability Analysis –Model partition –Respective reachability analysis in the linear and nonlinear subsystems –Reachable subspaces intersections  Experiment Results –Model error –Speedup –DI-PLL lock time verification

24 FAC 2013 Reachability Analysis for AMS Verification using Hybrid Support Function and SMT-based Method Thanks  Questions?