Tight Certification Techniques for Digit-by-Rounding Algorithms with Application to a New 1/sqrt(x) Design
20th IEEE Symposium on Computer Arithmetic (ARITH 2011) (2011)
July 25, 2011 to July 27, 2011
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/ARITH.2011.29
Digit-by-rounding algorithms enable efficient hardware implementations of algebraic functions such as the reciprocal, square root, or reciprocal square root, but certifying the correctness of such algorithms is a nontrivial endeavor. Traditionally, sufficient conditions for correctness are derived as closed-form formulae relating key design parameters. These sufficient conditions, however, often prove stricter than necessary, excluding correct and efficient designs. In this paper, we present a rigorous, computer-aided method for correctness certification that better approximates the necessary conditions, lowering the risk of rejecting correct designs. We also present two specific applications of this method. First, when applied to a conventional digit-by-rounding reciprocal square root design, our method enabled a fourfold reduction in lookup table size relative to the minimum dictated by a standard sufficient condition. Second, our method certified the correctness of a novel reciprocal square root design that we developed to parallelize two computational steps whose sequential execution lies on the critical path of conventional designs. The difficulty in deriving closed-form sufficient conditions to ascertain this design's correctness provided the original motivation for development of the new certification method.
certification, logic CAD
P. T. Tang, J. A. Butts, R. O. Dror and D. E. Shaw, "Tight Certification Techniques for Digit-by-Rounding Algorithms with Application to a New 1/sqrt(x) Design," 20th IEEE Symposium on Computer Arithmetic (ARITH 2011)(ARITH), Tubingen, 2011, pp. 159-168.