Analog-mixed signal (AMS) circuits are widely used in various mission-critical applications necessitating their formal verification prior to implementation. We consider modeling two AMS circuits as hybrid automata, particularly a charge pump phase-locked loop (CP-PLL) and a full-wave rectifier (FWR). We present executable models for the benchmarks in SpaceEx format, perform reachability analysis, and demonstrate their automatic conversion to MathWorks Simulink/Stateflow (SLSF) format using the HyST tool. Moreover, as a next step towards implementation, we present the VHDL-AMS description of a circuit based on the verified model. Category: academic Difficulty: medium 1 Context and Origins Many analog-mixed signal (AMS) circuits are widely used in various mission cicritical applications and require formal verification prior implementation. Formal verification methods construct a mathematical modelM with precise semantics, provide extensive analysis with respect to some correctness requirement P, and verify thatM |= P [2]. This can be ascertained through reachability analysis [1]. As an example of circuitry that can benefit from formal verification prior to field implementation and deployment, we provide two potential benchmarks for hybrid verification research community, i.e., charge pump phase-locked loop (CP-PLL), and full-wave rectifier (FWR). CP-PLL integrated circuits are widely used in modern mobile, radio, and wireless communication applications to synchronize a high-frequency signal with a low-frequency reference signal. In [8], the auhtors use SpaceEx model checking tool [6] to verify the global convergence with respect to phase and frequency lock for a digital PLL. An FWR converts an AC electric input signal to a DC output signal, and formal verification through reachability analysis has been reported using different model checking tools in [5], except SpaceEx. We develop hybrid automaton models of CP-PLL and FWR, and used SpaceEx [6], a reachability analysis tool, to compute the over-approximated sets of reachable states 1. This a classical fixed point computation tool that operates on symbolic states. We also use HyST (Hybrid Source Transformer) [3] to automatically convert the hybrid automaton models developed in SpaceEx to MathWorks Simulink/Stateflow (SLSF) models 2. It is a source-to-source translation tool that takes input in the SpaceEx model format, and translates it to the formats of HyCreate,Flow*, dReach, C2E2, Passel 2.0, and HyComp. Additional tool support is being added from time to time. Verification and validation research community may use HyST to automatically transform the hybrid automaton models in SpaceEx format to 1The tool is available online from the SpaceEx website at: http://spaceex.imag.fr/. 2The executable models are included on the ARCH website and are also available online from the HyST website at: http://verivital.com/hyst/.
[1]
Ge Yu,et al.
Verifying global convergence for a digital phase-locked loop
,
2013,
2013 Formal Methods in Computer-Aided Design.
[2]
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).
[3]
Rajeev Alur,et al.
Formal verification of hybrid systems
,
2011,
2011 Proceedings of the Ninth ACM International Conference on Embedded Software (EMSOFT).
[4]
Taylor T. Johnson,et al.
Periodically-Scheduled Controller Analysis Using Hybrid Systems Reachability and Continuization
,
2015,
2015 IEEE Real-Time Systems Symposium.
[5]
Alberto L. Sangiovanni-Vincentelli,et al.
Languages and Tools for Hybrid Systems Design
,
2006,
Found. Trends Electron. Des. Autom..
[6]
Jaewook Kim,et al.
A time-based analog-to-digital converter using a multi-phase voltage controlled oscillator
,
2006,
2006 IEEE International Symposium on Circuits and Systems.
[7]
Antoine Girard,et al.
SpaceEx: Scalable Verification of Hybrid Systems
,
2011,
CAV.
[8]
Sergiy Bogomolov,et al.
HYST: a source transformation and translation tool for hybrid automaton models
,
2015,
HSCC.