TY - GEN
T1 - Synthesizing Environment Invariants for Modular Hardware Verification
AU - Zhang, Hongce
AU - Yang, Weikun
AU - Fedyukovich, Grigory
AU - Gupta, Aarti
AU - Malik, Sharad
N1 - Publisher Copyright:
© 2020, Springer Nature Switzerland AG.
PY - 2020
Y1 - 2020
N2 - We automate synthesis of environment invariants for modular hardware verification in processors and application-specific accelerators, where functional equivalence is proved between a high-level specification and a low-level implementation. Invariants are generated and iteratively strengthened by reachability queries in a counterexample-guided abstraction refinement (CEGAR) loop. Within each iteration, we use a syntax-guided synthesis (SyGuS) technique for generating invariants, where we use novel grammars to capture high-level design insights and provide guidance in the search over candidate invariants. Our grammars explicitly capture the separation between control-related and data-related state variables in hardware designs to improve scalability of the enumerative search. We have implemented our SyGuS-based technique on top of an existing Constrained Horn Clause (CHC) solver and have developed a framework for hardware functional equivalence checking that can leverage other available tools and techniques for invariant generation. Our experiments show that our proposed SyGuS-based technique complements or outperforms existing property-directed reachability (PDR) techniques for invariant generation on practical hardware designs, including an AES block encryption accelerator, a Gaussian-Blur image processing accelerator and the PicoRV32 processor.
AB - We automate synthesis of environment invariants for modular hardware verification in processors and application-specific accelerators, where functional equivalence is proved between a high-level specification and a low-level implementation. Invariants are generated and iteratively strengthened by reachability queries in a counterexample-guided abstraction refinement (CEGAR) loop. Within each iteration, we use a syntax-guided synthesis (SyGuS) technique for generating invariants, where we use novel grammars to capture high-level design insights and provide guidance in the search over candidate invariants. Our grammars explicitly capture the separation between control-related and data-related state variables in hardware designs to improve scalability of the enumerative search. We have implemented our SyGuS-based technique on top of an existing Constrained Horn Clause (CHC) solver and have developed a framework for hardware functional equivalence checking that can leverage other available tools and techniques for invariant generation. Our experiments show that our proposed SyGuS-based technique complements or outperforms existing property-directed reachability (PDR) techniques for invariant generation on practical hardware designs, including an AES block encryption accelerator, a Gaussian-Blur image processing accelerator and the PicoRV32 processor.
UR - http://www.scopus.com/inward/record.url?scp=85079104984&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85079104984&partnerID=8YFLogxK
U2 - 10.1007/978-3-030-39322-9_10
DO - 10.1007/978-3-030-39322-9_10
M3 - Conference contribution
AN - SCOPUS:85079104984
SN - 9783030393212
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 202
EP - 225
BT - Verification, Model Checking, and Abstract Interpretation - 21st International Conference, VMCAI 2020, Proceedings
A2 - Beyer, Dirk
A2 - Zufferey, Damien
PB - Springer
T2 - 21st International Conference on Verification, Model Checking, and Abstract Interpretation, VMCAI 2020
Y2 - 16 January 2020 through 21 January 2020
ER -