Shared Mantissa Adder for Fixed- and Floating-Point Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing adders in neural networks cannot simultaneously process fixed-point and floating-point data, leading to format conversion requirements, large area, high power consumption, and excessive delay in operations.

Innovation Solution

A shared mantissa addition module processes both fixed-point and floating-point data, utilizing carry look-ahead adders in series and parallel configurations, combined with a pre-shift unit for normalization, to reduce resource consumption and delay.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If separate adders are used for fixed-point and floating-point data, then data processing accuracy is improved, but device complexity and area increase

Engineering Contradiction:
Improvedata processing accuracyVSAvoidadder structure complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements a unified adder structure that can process both fixed-point and floating-point data types through a single circuit. The adder uses a shared mantissa addition unit that handles both data types by interpreting inputs differently: for floating-point operations, it adds mantissas after exponent alignment; for fixed-point operations, it directly adds numerical bits. This multi-functional design eliminates the need for separate adder circuits while maintaining processing accuracy for both data types.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The adder incorporates dynamic control mechanisms that adapt its operation based on the input data type. Control logic dynamically selects between floating-point processing mode (with exponent matching and mantissa addition) and fixed-point processing mode (with direct numerical bit addition). This dynamic behavior allows the same hardware structure to efficiently handle different data types without requiring static separate circuits for each type.

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If floating-point calculation is used for high accuracy, then data accuracy is improved, but power consumption and area increase

Engineering Contradiction:
Improvedata accuracyVSAvoidpower consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by stationary object

Solution Approach 1:

The patent changes the operational parameters of the adder based on data type requirements. For fixed-point data, the adder operates in a simplified mode that skips exponent matching and directly performs numerical bit addition, reducing power consumption. For floating-point data, the adder activates the full floating-point processing sequence including exponent comparison, mantissa alignment, and normalization. This parameter adaptation allows the system to consume only the necessary power for the required accuracy level.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The adder dynamically adjusts its operational complexity based on the input data type. When processing fixed-point data, the circuit disables the floating-point specific modules (exponent matching unit, normalization unit) and activates only the essential addition logic, thereby reducing power consumption. When floating-point data is detected, the full processing chain is activated to ensure accuracy. This dynamic configuration optimizes the power-accuracy tradeoff.

Inventive Principle:
Principle #15Dynamics

3Adaptability or versatility

If format conversion is performed for different data types, then compatibility is improved, but delay increases

Engineering Contradiction:
Improvedata type compatibilityVSAvoidprocessing delay
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The adder performs preliminary classification of input data types at the beginning of the processing pipeline. Control logic immediately identifies whether inputs are fixed-point or floating-point and pre-configures the processing path accordingly. For floating-point inputs, exponent matching begins immediately in parallel with mantissa preparation. This preliminary action eliminates the need for sequential format conversion steps, reducing overall processing delay while maintaining compatibility with both data types.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The adder structure is segmented into independent processing paths: a floating-point path with exponent matching and mantissa addition, and a fixed-point path with direct numerical bit addition. Control logic segments the data flow into the appropriate path based on input type detection. This segmentation allows each path to be optimized independently and eliminates the need for format conversion between data types, as each path natively handles its designated data type without requiring transformation.

Inventive Principle:
Principle #1Segmentation

4Speed

If carry look-ahead adders are used to reduce delay, then calculation speed is improved, but power consumption increases

Engineering Contradiction:
Improvecalculation speedVSAvoidpower consumption
Core Design Contradiction:
SpeedVSUse of energy by stationary object

Solution Approach 1:

The carry look-ahead mechanism is dynamically activated only when processing floating-point data that requires mantissa addition. For fixed-point data processing, the adder uses a simpler carry propagation scheme that consumes less power. The control logic detects the data type and enables the power-intensive carry look-ahead circuits only when their speed benefits are necessary for floating-point mantissa operations, thereby optimizing the speed-power tradeoff.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The adder changes its carry propagation parameter based on the operation type. For floating-point mantissa addition, it uses carry look-ahead logic with generate and propagate signals to achieve fast parallel computation. For fixed-point addition, it switches to a lower-power carry propagation mode. This parameter change allows the system to achieve high-speed calculation when needed while reducing power consumption during operations that don't require the full carry look-ahead capability.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20260003572A1Design Method for Fixed-Point and Floating-Point Adder
Publication Date: 2026.01.01 JIANGSU HUACHUANG MICROSYSTEM CO LTD
  • US20260003572A1 patent drawing
  • US20260003572A1 patent drawing
  • US20260003572A1 patent drawing

AI summary

A design method for a fixed-point and floating-point adder includes: S1, performing fixed-point and floating-point identification by a shared mantissa addition module; S2, for fixed-point numbers, performing low-bit calculation in the shared mantissa addition module; configuring a fixed-point number processing module, saving a carry of a highest bit in low-bit calculation results, and transmitting the saved carry to the fixed-point number processing module to obtain a fixed-point number addition result; S3, for floating-point numbers, performing calculation, in the shared mantissa addition module, on mantissas of the floating-point numbers, configuring a floating-point number processing module, and performing exponent matching and normalization on exponents of the floating-point numbers to obtain a normalized result; obtaining a floating-point number addition result according to sign bits of the floating-point numbers, the exponents subjected to the exponent matching and the normalized result; and S4, transmitting the result to an output module, and outputting the result.