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 2023Publication 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.Google ScholarGoogle Scholar
  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.Google ScholarGoogle Scholar
  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/.Google ScholarGoogle Scholar
  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.Google ScholarGoogle Scholar
  5. Armin Biere. 2007. AIGER: A format for And-Inverter Graphs. Retrieved from http://fmv.jku.at/aigerGoogle ScholarGoogle Scholar
  6. Clifford Wolf. The Yosys Open SYnthesis Suite. Retrieved from http://www.clifford.at/yosys/.Google ScholarGoogle Scholar
  7. Armin Biere, Alessandro Cimatti, Edmund M. Clarke, Ofer Strichman and Yunshan Zhu. 2003. Bounded Model Checking. In Advances in Computers, Vol. 58 (2003).Google ScholarGoogle Scholar
  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.Google ScholarGoogle Scholar
  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_5Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Roope Kaivola 2009. Replacing Testing with Formal Verification. In Intel ® core i7 Processor Execution Engine Validation, In CAV 2009.Google ScholarGoogle Scholar
  11. Aarti Gupta, M.V. Achutha Kiran Kumar and Rajnish Ghughal. 2014. Formally Verifying Graphics FPU. In FM (2014).Google ScholarGoogle Scholar
  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, doi: 10.1109/DAC.1996.545656.Google ScholarGoogle ScholarCross RefCross Ref
  13. Aaron R. Bradley. 2011. SAT-based model checking without unrolling. In Proc. VMCAI (2011).Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. IEEE Standard for A Versatile Backplane Bus: VMEbus. 1987. 1014-1987.Google ScholarGoogle Scholar
  15. IEEE Standard for Property Specification Language (PSL). 2010. 1850-2010.Google ScholarGoogle Scholar
  16. Clifford Wolf. Formal Verification with SymbiYosys and Yosys-SMTBMC. Retrieved from https://slideplayer.com/slide/11950984/Google ScholarGoogle Scholar

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

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • 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

          Copyright © 2023 ACM

          © 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 about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • short-paper
          • Research
          • Refereed limited

          Acceptance Rates

          Overall Acceptance Rate76of315submissions,24%
        • Article Metrics

          • Downloads (Last 12 months)36
          • Downloads (Last 6 weeks)2

          Other Metrics

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader

        HTML Format

        View this article in HTML Format .

        View HTML Format