Patents
US 7,028,067 B2#9286641 Most CitedExpiredUnited States (USPTO)Utility

Generation of mask-constrained floating-point addition and subtraction test cases, and method and system therefor

11Forward Citations (#9286641 Global)
0.6/yrCitation Velocity (#14529469 Global)
2.29Citation PageRank (#11681420 Global)
7Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method and system for generating numerical test cases for testing binary floating-point arithmetic units for addition and subtraction operations, in order to verify the proper operation of the units according to a specified standard. The space for eligible test-cases is compatible with masks which stipulate the allowable forms of the operands and the result, including constant as well as variable digits in both the exponent and significand fields. The test-cases, which are generated randomly, cover the entire solution space without excluding any eligible solutions. All standard rounding modes are supported, and if a valid solution does not exist for a given set of masks, this fact is reported. The method is general and can be applied to any standard, such as the IEEE floating-point standard, in any precision. A system according to the present invention utilizes a set of sub-generators for biased exponents and significands, and also incorporates a fixed-point generator for performing calculations common to the other generators. The method relies on searching for solutions based on feasible carry sequences, and is also capable of generating test-cases for mask-constrained carry seq

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 11.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A system for generating floating-point test-cases for verifying the operation of a floating-point arithmetic unit, the system comprising a processing unit which includes: (a) an exponent generator, for generating floating-point exponents; (b) a significand generator, for generating floating-point significands; and (c) a fixed-point generator coupled to said exponent generator and to said signficand generator; wherein said processing unit is configured to receive a specified arithmetic operation, a specified rounding mode, at least one input operand mask, and an output result mask; and wherein

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Aharon et al., "Test Program Generation for Functional Verification of PowerPC Processors in IBM", IBM Israel-Haifa Research Lab, 7 pages, yossi@haifasc3.vnet.ibm.com.
  • Grinwald et al., "User Defined Coverage-A Tool Supported Methodology for Design Verification", IBM Research Lab in Haifa, pp. 158-163, grinwald@vnet.ibm.com.
  • Lewin et al., "Constraints Satisfaction for Test Programs Generation", IBM Israel Science and Technology, Haifa Research Laboratory, 4 pages, dlewin@haifasc.3vnet.ibm.com.
  • Lichtenstein et al., "Model Based Test Generation for Processor Verification" 12 Pages, yossi@haifasc3.vnet.ibm.com.
  • Software Negligence and Testing Coverage, http://www.kaner.com, 16 pages.