Integrating SMT with Theorem Proving for Analog/Mixed-Signal Circuit Verification

We present our integration of the Z3 SMT solver into the ACL2 theorem prover and its application to formal verification of analog-mixed signal circuits by proving global convergence for a state-of-the-art digital phase-locked loop (PLL). SMT (satisfiability modulo theory) solvers eliminate much of the tedium associated with detailed proofs by providing automatic reasoning about propositional formulas including equalities and inequalities of polynomial functions. A theorem prover complements the SMT solver by providing a proof structuring and proof by induction. We use this combined tool to show global convergence (i.e. correct start-up and mode-switching) of a digital PLL. The PLL is an example of a second-order hybrid control system; its verification demonstrates how these methods can address challenges that arise when verifying such designs.

[1]  Joao Marques-Silva,et al.  GRASP: A Search Algorithm for Propositional Satisfiability , 1999, IEEE Trans. Computers.

[2]  Lars Hedrich,et al.  Model checking algorithms for analog verification , 2002, DAC '02.

[3]  Matthias Althoff,et al.  Formal verification of phase-locked loops using reachability analysis and continuization , 2011, 2011 IEEE/ACM International Conference on Computer-Aided Design (ICCAD).

[4]  Stephan Merz,et al.  Expressiveness + Automation + Soundness: Towards Combining SMT Solvers and Interactive Proof Assistants , 2006, TACAS.

[5]  Frédéric Besson,et al.  Fast Reflexive Arithmetic Tactics the Linear Case and Beyond , 2006, TYPES.

[6]  K. S. Kundert Introduction to RF simulation and its application , 1999 .

[7]  Peng Li,et al.  Parallel hierarchical reachability analysis for analog verification , 2014, 2014 51st ACM/EDAC/IEEE Design Automation Conference (DAC).

[8]  Shant Harutunian Formal verification of computer controlled systems , 2007 .

[9]  Benjamin Grégoire,et al.  A Modular Integration of SAT/SMT Solvers to Coq through Proof Witnesses , 2011, CPP.

[10]  Panagiotis Manolios,et al.  Computer-Aided Reasoning: An Approach , 2011 .

[11]  Robert P. Kurshan,et al.  Analysis of digital circuits through symbolic reduction , 1991, IEEE Trans. Comput. Aided Des. Integr. Circuits Syst..

[12]  Michael J. Butler,et al.  An Open Extensible Tool Environment for Event-B , 2006, ICFEM.

[13]  Antoine Girard,et al.  SpaceEx: Scalable Verification of Hybrid Systems , 2011, CAV.

[14]  Stephan Merz,et al.  Automatic Verification of TLA + Proof Obligations with SMT Solvers , 2012, LPAR.

[15]  G. Bois,et al.  Checking properties of PLL designs using run-time verification , 2007, 2007 Internatonal Conference on Microelectronics.

[16]  Clark W. Barrett,et al.  Cooperating Theorem Provers: A Case Study Combining HOL-Light and CVC Lite , 2006, Electron. Notes Theor. Comput. Sci..

[17]  Nikolaj Bjørner,et al.  Z3: An Efficient SMT Solver , 2008, TACAS.

[18]  Clark W. Barrett,et al.  The SMT-LIB Standard Version 2.0 , 2010 .

[19]  Lars Hedrich,et al.  A formal approach to nonlinear analog circuit verification , 1995, Proceedings of IEEE International Conference on Computer Aided Design (ICCAD).

[20]  Fabian Immler,et al.  Formally Verified Computation of Enclosures of Solutions of Ordinary Differential Equations , 2014, NASA Formal Methods.

[21]  Pascal Fontaine,et al.  Integrating SMT solvers in Rodin , 2014, Sci. Comput. Program..

[22]  Mark R. Greenstreet Verifying Safety Properties of Differential Equations , 1996, CAV.

[23]  ByongChan Lim,et al.  Leveraging designer's intent: A path toward simpler analog CAD tools , 2009, 2009 IEEE Custom Integrated Circuits Conference.

[24]  Lars Hedrich,et al.  A symbolic approach for mixed-signal model checking , 2008, 2008 Asia and South Pacific Design Automation Conference.

[25]  Oded Maler,et al.  Verification of Analog and Mixed-Signal Circuits Using Hybrid System Techniques , 2004, FMCAD.

[26]  Peng Li,et al.  Verification of digitally-intensive analog circuits via kernel ridge regression and hybrid reachability analysis , 2013, 2013 50th ACM/EDAC/IEEE Design Automation Conference (DAC).

[27]  Sergey Berezin,et al.  CVC Lite: A New Implementation of the Cooperating Validity Checker Category B , 2004, CAV.

[28]  John Crossley,et al.  An energy-efficient ring-oscillator digital PLL , 2010, IEEE Custom Integrated Circuits Conference 2010.

[29]  Lawrence C. Paulson,et al.  Extending Sledgehammer with SMT Solvers , 2011, Journal of Automated Reasoning.

[30]  Ge Yu,et al.  Verifying global convergence for a digital phase-locked loop , 2013, 2013 Formal Methods in Computer-Aided Design.