Floating-Point Alignment Detection Using Half Adder Logic
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data processing apparatuses for floating-point operations require lengthy processing paths due to the need for multiple logic paths and prediction logic to determine alignment conditions, leading to inefficiencies in power consumption and area usage.
Innovation Solution
A data processing apparatus with detector logic units using half adder operations to quickly determine alignment conditions between floating-point data elements, allowing for early selection of the appropriate processing path and reducing the need for prediction logic.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If prediction logic is used to predict alignment conditions, then processing speed is improved through early prediction, but power consumption increases because processing must be performed in both paths until alignment is confirmed
Solution Approach 1:
The detector logic unit performs preliminary detection of the alignment condition by calculating the difference between exponents using half adder operations. This preliminary action provides accurate alignment information early in the pipeline, allowing the system to commit to a single processing path (near or far) without needing to maintain both paths, thereby reducing power consumption while maintaining high processing speed.
2Speed
If multiple processing paths are provided for different alignment conditions, then processing speed is improved through path selection, but device complexity increases due to the need for prediction logic and multiple processing paths
Solution Approach 1:
The invention extracts the alignment detection function into a separate detector logic unit that uses half adder operations to calculate exponent differences. This extraction simplifies the overall processing logic by providing a dedicated, efficient mechanism for determining which processing path to use, reducing the complexity burden that would otherwise be distributed across the entire processing system.
Solution Approach 2:
The detector logic unit acts as an intermediary between the input data and the processing paths. It receives the exponents, determines the alignment condition through half adder operations, and provides the select signal that routes data to the appropriate processing path. This intermediary simplifies the control logic by centralizing the decision-making function.
3Device complexity
If a unitary processing path is provided, then device complexity is reduced, but processing speed decreases due to the need to cover all eventualities in a single path
Solution Approach 1:
The processing logic is segmented into multiple specialized paths (near path and far path), each optimized for specific alignment conditions. The detector logic unit segments the exponent difference calculation using half adder operations to determine which segment to activate. This segmentation allows each path to be simpler and faster than a unitary path would need to be to handle all cases.
Data Source
AI summary
The present invention provides a data processing apparatus and method for performing a data processing operation on first and second floating point data elements, the first floating point data element specifying a first exponent and the second floating point data element specifying a second exponent. The data processing apparatus comprises processing logic providing multiple processing paths which are selectable to perform the data processing operation, including a first processing path operable to perform the data processing operation if a predetermined alignment condition exists. Further, at least one detector logic unit is provided which is operable to receive both the first exponent and the second exponent and to detect the presence of the predetermined alignment condition. Each detector logic unit comprises half adder logic operable to perform a half adder operation to logically subtract one of the first and second exponents from the other of the first and second exponents to produce at least a sum data value of sum and carry data values representing the result of the half adder operation. Further, each detector logic unit comprises generation logic operable to receive the sum data value and to generate a select signal which is set if the sum data value has a predetermined value indicating the existence of the predetermined alignment condition. The processing logic is then operable to select the first data processing path to perform the data processing operation if the select signal from one of the at least one detector logic units is set. The particular structure of detector logic unit provided enables a fast detection of the existence of the predetermined alignment condition, which enables an early selection of the first data processing path if the select signal is set. This enables significant power and area savings to be made.


