# Formal Verification of Floating-Point Hardware Design

## A Mathematical Approach

- 2 Citations
- 4 Mentions
- 5.2k Downloads

Advertisement

Book

- 2 Citations
- 4 Mentions
- 5.2k Downloads

This is the first book to focus on the problem of ensuring the correctness of floating-point hardware designs through mathematical methods. *Formal Verification of Floating-Point Hardware Design* advances a verification methodology based on a unified theory of register-transfer logic and floating-point arithmetic that has been developed and applied to the formal verification of commercial floating-point units over the course of more than two decades, during which the author was employed by several major microprocessor design companies.

The book consists of five parts, the first two of which present a rigorous exposition of the general theory based on the first principles of arithmetic. Part I covers bit vectors and the bit manipulation primitives, integer and fixed-point encodings, and bit-wise logical operations. Part II addresses the properties of floating-point numbers, the formats in which they are encoded as bit vectors, and the various modes of floating-point rounding. In Part III, the theory is extended to the analysis of several algorithms and optimization techniques that are commonly used in commercial implementations of elementary arithmetic operations. As a basis for the formal verification of such implementations, Part IV contains high-level specifications of correctness of the basic arithmetic instructions of several major industry-standard floating-point architectures, including all details pertaining to the handling of exceptional conditions. Part V illustrates the methodology, applying the preceding theory to the comprehensive verification of a state-of-the-art commercial floating-point unit.

All of these results have been formalized in the logic of the ACL2 theorem prover and mechanically checked to ensure their correctness. They are presented here, however, in simple conventional mathematical notation. The book presupposes no familiarity with ACL2, logic design, or any mathematics beyond basic high school algebra. It will be of interest to verification engineers as well as arithmetic circuit designers who appreciate the value of a rigorous approach to their art, and is suitable as a graduate text in computer arithmetic.

floating-point arithmetic interactive theorem proving ACL2 formal verification computer aritmetic SRT division Booth multiplication formal specification of arithmetic instructions IEEE compliance

- DOI https://doi.org/10.1007/978-3-319-95513-1
- Copyright Information Springer Nature Switzerland AG 2019
- Publisher Name Springer, Cham
- eBook Packages Engineering
- Print ISBN 978-3-319-95512-4
- Online ISBN 978-3-319-95513-1
- Buy this book on publisher's site