Floating Point Square Root Verification via LSB-MSB Magnitude Comparison

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for verifying the correctness of floating point square root operations in processors do not effectively detect errors caused by circuit malfunctions, as they focus on internal operations rather than the final result, and existing techniques are not practical for real-time error detection without significant performance loss.

Innovation Solution

A method that compares the magnitude of the least significant bit (LSB) of the operand to the most significant bit (MSB) of the remainder to determine the correctness of the floating point square root result, allowing for efficient verification of the final result without verifying each mathematical step, thereby detecting errors due to hardware malfunctions or environmental disturbances.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If formal verification techniques are used to verify internal mathematical operations of the square root algorithm, then design flaws can be eliminated, but circuit malfunctions during execution cannot be detected and the verification process is too complex for real-time use

Engineering Contradiction:
Improvedetection of circuit malfunctionsVSAvoidverification process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts only the essential verification elements (LSB of operand and MSB of remainder) from the complete formal verification process, separating the critical error-detection components from the full algorithm verification. This allows real-time error detection without requiring complex verification of all internal operations.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of performing complete formal verification of all internal mathematical operations, the patent applies partial verification by checking only the relationship between the LSB of the operand and the MSB of the remainder. This partial action provides sufficient error detection capability while avoiding the complexity and performance overhead of full verification.

Inventive Principle:
Principle #16Partial or excessive action

2Reliability

If complete formal verification of the square root algorithm is performed, then all design flaws can be detected, but processor performance is significantly reduced

Engineering Contradiction:
Improvealgorithm correctness verificationVSAvoidprocessor performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent extracts only the essential verification elements (LSB of operand and MSB of remainder) from the complete formal verification process, separating the critical error-detection components from the full algorithm verification. This allows real-time error detection without requiring complex verification of all internal operations.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of performing complete formal verification of all internal mathematical operations, the patent applies partial verification by checking only the relationship between the LSB of the operand and the MSB of the remainder. This partial action provides sufficient error detection capability while avoiding the complexity and performance overhead of full verification.

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If parity and residue checks are used to verify internal operations, then correctness of each internal operation can be verified, but the correctness of the final square root result cannot be guaranteed

Engineering Contradiction:
Improveverification of internal operationsVSAvoidverification of final result
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

Instead of verifying internal operations forward through the algorithm steps, the patent inverts the approach by using the final remainder result to verify the correctness of the entire square root computation. The relationship between LSB of operand and MSB of remainder provides a backward verification that confirms final result correctness.

Inventive Principle:
Principle #13The other way round (Inversion)

Solution Approach 2:

The patent implements feedback by using the remainder (output of the square root operation) to verify the correctness of the computation. The comparison between LSB of operand and MSB of remainder provides feedback that confirms whether the square root result is correct, creating a closed-loop verification system.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS8745118B2Verifying floating point square root operation results
Publication Date: 2014.06.03 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US8745118B2 patent drawing
  • US8745118B2 patent drawing
  • US8745118B2 patent drawing

AI summary

A method, system and computer program product for verifying a result of a floating point square root operation is provided. The method includes: receiving a result of a floating point square root operation for an operand; performing a comparison of a magnitude of a least significant bit (LSB) of the operand and a magnitude of a most significant bit (MSB) of a remainder; and determining whether the result is correct based on the comparison.