skip to main content
10.1145/3578527.3578540acmotherconferencesArticle/Chapter ViewAbstractPublication PagesisecConference Proceedingsconference-collections
short-paper

Assertion Based Verification using Yosys: A Case Study from Nuclear Domain

Published: 23 February 2023 Publication History

Abstract

Assertion Based Verification is a design methodology that integrates Formal Methods as part of the design process. As each module is designed, the designer expresses the functional, structural and interface requirements of the module as logical formulas called assertions. These assertions are then verified using simulation and/or formal verification. This paper aims at studying the effectiveness of applying formal verification during Assertion Based Verification in the development of VHDL design for a VME-bus for safety applications in nuclear reactors. Assertions for the VHDL modules developed were expressed in PSL, and were proved using three industrially successful and popular formal verification algorithms – Bounded Model Checking, K-Induction, and Property Driven Reachability, implemented in an open-source verification tool, Yosys. Our experiments revealed that Property Driven Reachability completely outperforms K-Induction in all the cases. Bounded Model Checking for a few hundred clock cycles helped us in finding a number of important, but subtle bugs, which were missed by traditional simulation, at the cost of a justifiable increase in design effort towards writing assertions.

References

[1]
IEC Standard for Nuclear power plants - Instrumentation and control important to safety - Development of HDL-programmed integrated circuits for systems performing category A functions. 2012. 62566:2012.
[2]
IEC Standard for Nuclear power plants - Instrumentation and control systems important to safety - Development of HDL-programmed integrated circuits - Part 2: HDL-programmed integrated circuits for systems performing category B or C functions. 2020. 62566-2:2020.
[3]
Questa Formal Verification Apps - Exhaustive Solutions for Verification Challenges. Siemens Digital Industries Software, https://eda.sw.siemens.com/en-US/ic/questa/formal-verification/.
[4]
Unified, Coverage-Driven Assertion-Based Verification, Including a Full Automated Apps Library. 360 DV-Verify – OneSpin Solutions, https://www.onespin.com/products/360-dv-verify.
[5]
Armin Biere. 2007. AIGER: A format for And-Inverter Graphs. Retrieved from http://fmv.jku.at/aiger
[6]
Clifford Wolf. The Yosys Open SYnthesis Suite. Retrieved from http://www.clifford.at/yosys/.
[7]
Armin Biere, Alessandro Cimatti, Edmund M. Clarke, Ofer Strichman and Yunshan Zhu. 2003. Bounded Model Checking. In Advances in Computers, Vol. 58 (2003).
[8]
Mary Sheeran, Satnam Singh and Gunnar Stålmarck. 2000. Checking Safety Properties Using Induction and a SAT-Solver. In Formal Methods in Computer-Aided Design. FMCAD (2000). Lecture Notes in Computer Science, vol 1954. Springer, Berlin, Heidelberg.
[9]
Robert Brayton and Alan Mishchenko. 2010. ABC: An Academic Industrial-Strength Verification Tool. In Computer Aided Verification. CAV 2010. Lecture Notes in Computer Science, vol 6174. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-14295-6_5
[10]
Roope Kaivola 2009. Replacing Testing with Formal Verification. In Intel ® core i7 Processor Execution Engine Validation, In CAV 2009.
[11]
Aarti Gupta, M.V. Achutha Kiran Kumar and Rajnish Ghughal. 2014. Formally Verifying Graphics FPU. In FM (2014).
[12]
I. Beer, S. Ben-David, C. Eisner and A. Landver. 1996. RuleBase: an industry-oriented formal verification tool. In 33rd Design Automation Conference Proceedings, 1996, 1996, pp. 655-660.
[13]
Aaron R. Bradley. 2011. SAT-based model checking without unrolling. In Proc. VMCAI (2011).
[14]
IEEE Standard for A Versatile Backplane Bus: VMEbus. 1987. 1014-1987.
[15]
IEEE Standard for Property Specification Language (PSL). 2010. 1850-2010.
[16]
Clifford Wolf. Formal Verification with SymbiYosys and Yosys-SMTBMC. Retrieved from https://slideplayer.com/slide/11950984/

Cited By

View all
  • (2024)RTL-Spec: RTL Spectrum Analysis for Security Bug Localization2024 IEEE International Symposium on Hardware Oriented Security and Trust (HOST)10.1109/HOST55342.2024.10545408(171-181)Online publication date: 6-May-2024

Index Terms

  1. Assertion Based Verification using Yosys: A Case Study from Nuclear Domain
        Index terms have been assigned to the content through auto-classification.

        Recommendations

        Comments

        Information & Contributors

        Information

        Published In

        cover image ACM Other conferences
        ISEC '23: Proceedings of the 16th Innovations in Software Engineering Conference
        February 2023
        193 pages
        ISBN:9798400700644
        DOI:10.1145/3578527
        © 2023 Association for Computing Machinery. ACM acknowledges that this contribution was authored or co-authored by an employee, contractor or affiliate of a national government. As such, the Government retains a nonexclusive, royalty-free right to publish or reproduce this article, or to allow others to do so, for Government purposes only.

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        Published: 23 February 2023

        Permissions

        Request permissions for this article.

        Check for updates

        Author Tags

        1. Assertion Based Verification
        2. Bounded Model Checking
        3. Formal Verification
        4. K-Induction
        5. Property Driven Reachability
        6. Yosys

        Qualifiers

        • Short-paper
        • Research
        • Refereed limited

        Conference

        ISEC 2023

        Acceptance Rates

        Overall Acceptance Rate 76 of 315 submissions, 24%

        Contributors

        Other Metrics

        Bibliometrics & Citations

        Bibliometrics

        Article Metrics

        • Downloads (Last 12 months)34
        • Downloads (Last 6 weeks)13
        Reflects downloads up to 05 Mar 2025

        Other Metrics

        Citations

        Cited By

        View all
        • (2024)RTL-Spec: RTL Spectrum Analysis for Security Bug Localization2024 IEEE International Symposium on Hardware Oriented Security and Trust (HOST)10.1109/HOST55342.2024.10545408(171-181)Online publication date: 6-May-2024

        View Options

        Login options

        View options

        PDF

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader

        HTML Format

        View this article in HTML Format.

        HTML Format

        Figures

        Tables

        Media

        Share

        Share

        Share this Publication link

        Share on social media