Robust, End-to-end Correctness Proofs of Industrial Divide and Square Root RTL Designs
Hardware implementations of divide and square root operations are difficult and high-value targets for formal verification. We describe an approach using the ACL2 theorem prover that has resulted in robust, end-to-end correctness proofs for highly optimized industrial implementations of such operations. Using this approach, we developed initial proofs for divide and square root operations in less than three person-months each. We subsequently proved the correctness of all operations on a floating point divide/square root design and an integer divider implementing up to 128-by-64-bit divides, both highly optimized industrial implementations. These proofs run in minutes per operation and have been straightforward to maintain against design changes. This methodology allows lemmas to be proved about portions of the hardware model, and these lemmas seamlessly composed to complete a top-level proof that the whole operation runs correctly. This decomposition allows fully automatic proof methods to be applied to the portions of the hardware model that capacity allows, and the composition of these portions is amenable to rewriting and other traditional interactive theorem proving methods.
Authors
- Sol Swords (ORCID: https://orcid.org/0000-0002-5958-9580)
- Cuong Chau
Institutions
- Intel (United States) (US)
- Anova Corp (Vietnam) (VN)
Publication Details
- Published
- 2025-05-04
- DOI
- https://doi.org/10.1109/arith64983.2025.00031
- Citations
- 1
- Primary Topic
- Manufacturing Process and Optimization
- Type
- article
- Field-Weighted Citation Impact
- 1.24