• DocumentCode
    1926422
  • Title

    Verification of a subtractive radix-2 square root algorithm and implementation

  • Author

    Leeser, Miriam ; O´Leary, John

  • Author_Institution
    Sch. of Electr. Eng., Cornell Univ., Ithaca, NY, USA
  • fYear
    1995
  • fDate
    2-4 Oct 1995
  • Firstpage
    526
  • Lastpage
    531
  • Abstract
    Many modern microprocessors implement floating point square root hardware using subtractive algorithms. Such processors include the HP PA7200, the MIPS R4400, and the Intel Pentium. The Intel Pentium division bug highlights the importance of verifying such implementations. In this paper we discuss the verification of a radix-2 square root unit similar to that used in the MIPS R4400. The verification is done by theorem proving to bridge the gap between the algorithm and the implementation. At the top level, we verify that a subtractive, non-restoring algorithm correctly calculates the square root function. We then show a series of optimizing transformations that refine the top level algorithm into the hardware implementation. Each transformation can be verified. We show the transformation of the top level proof to a level that is closer to the hardware implementation. The implementation is at the RTL level, and consists of a structural description of the hardware including an adder/subtracter, simple combinational hardware and some registers
  • Keywords
    floating point arithmetic; formal verification; theorem proving; Intel Pentium; MIPS R4400; RTL level; floating point square root hardware; optimizing transformations; radix-2 square root; subtractive radix-2 square root; theorem proving; verification; Algorithm design and analysis; Arithmetic; Bridges; Hardware; Logic; Microprocessors; State-space methods; Table lookup; Testing; Writing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Design: VLSI in Computers and Processors, 1995. ICCD '95. Proceedings., 1995 IEEE International Conference on
  • Conference_Location
    Austin, TX
  • ISSN
    1063-6404
  • Print_ISBN
    0-8186-7165-3
  • Type

    conf

  • DOI
    10.1109/ICCD.1995.528918
  • Filename
    528918