Narrowing-and-Rounding Arithmetic Operation Circuit

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing implementation of narrowing-and-rounding arithmetic operations is slow due to the sequential nature of W-bit additions, which leads to long processing times as each bit depends on the previous bit and potential carry values, especially when dealing with large W-bit values like 32 or 64 bits.

Innovation Solution

The approach splits the W-bit addition into N-bit first stage additions and second stage additions, allowing parallel processing of N-bit intermediate values without immediate carry propagation, and uses a carry network to predict and forward carry values, reducing the critical path and processing time.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a W-bit addition is performed sequentially to ensure accurate carry propagation, then the arithmetic precision is maintained, but the processing time increases significantly

Engineering Contradiction:
Improvearithmetic precisionVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The W-bit addition is divided into multiple N-bit sub-additions (where W = J×N and J>1). Each sub-addition processes a portion of the bits independently, allowing parallel execution. The carry values from these sub-additions are then combined in a second stage to produce the final accurate result, thus maintaining precision while reducing processing time through parallelism.

Inventive Principle:
Principle #1Segmentation

2Device complexity

If W-bit addition is performed in a single stage to simplify the circuit structure, then the device complexity is reduced, but the critical path length increases causing slower operation

Engineering Contradiction:
Improvecircuit structure simplicityVSAvoidoperation speed
Core Design Contradiction:
Device complexityVSSpeed

Solution Approach 1:

The addition operation is segmented into two stages: first stage performs multiple parallel N-bit sub-additions, and the second stage combines the intermediate results with carry values. This segmentation reduces the critical path from W bits to N bits while maintaining computational accuracy, thus improving speed without excessively increasing circuit complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The first stage additions are performed preliminarily to generate intermediate sum values and carry values. These intermediate results are then used in the second stage to compute the final result. This preliminary action allows the critical path to be shortened while ensuring that all necessary carry propagation is completed accurately.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9262123B2Data processing apparatus and method for performing a narrowing-and-rounding arithmetic operation
Publication Date: 2016.02.16 ARM LTD
  • US9262123B2 patent drawing
  • US9262123B2 patent drawing
  • US9262123B2 patent drawing

AI summary

A processing apparatus supports a narrowing-and-rounding arithmetic operation which generates, in response to two operands each comprising at least one W-bit data element, a result value comprising at least one X-bit result data element, with each X-bit result data element representing a sum or difference of corresponding W-bit data elements of the two operands rounded to an X-bit value (W>X). The arithmetic operation is implemented using a number of N-bit additions (N<W), with carry values from a first stage of N-bit additions being added at a second stage of N-bit additions for adding a rounding value to the result of the first stage additions. This technique reduces the amount of time required for performing the narrowing-and-rounding arithmetic operation.