A method and device for realizing 32-bit integer division with high precision and low delay

A low-latency, high-precision technology, applied in complex mathematical operations, electrical digital data processing, digital data processing components, etc., can solve the problem of large intermediate bit width of the operator, occupying a lot of storage space, and large output result bit width, etc. Achieve the effect of small output bit width, increase operation delay, and reduce calculation bit width

Active Publication Date: 2021-05-18
上海擎昆信息科技有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. Existing division schemes often use derivative division, SRT method, addition and subtraction alternate method, CORDIC method, etc. The operation cycle of these methods often increases with the number of digits increasing, wasting power consumption
[0004] 2. With the increase of the data bit width, the middle bit width of the arithmetic unit is often larger and larger, occupying more storage space
[0005] 3. In order to ensure performance, the bit width of the output result is large, and the resource overhead of subsequent addition and multiplication is relatively large
[0006] 4. Reciprocal division, Newton iteration plus one multiplication is commonly used to realize a / b, but there are generally two sources of initial value of Newton iteration, look-up table method or Tylor expansion, both of which require storage space, and Tylor expansion Requires additional multiplication and addition, consuming resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for realizing 32-bit integer division with high precision and low delay
  • A method and device for realizing 32-bit integer division with high precision and low delay
  • A method and device for realizing 32-bit integer division with high precision and low delay

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] Implementation 1: Refer to Figure 1-4 : A method for realizing 32-bit integer division with high precision and low delay. It is often used in the field of digital signal processing, such as signal normalization and channel estimation. The implementation steps of this method are as follows:

[0040] Step 1: Input the dividend and the divisor into the zero judgment unit. If the dividend is 0, the quotient will output 0 directly, and the scaling factor will be 0. If the dividend is not 0, the divisor will be 0, and the quotient will be directly output as 4095, and the shift factor will be 20. If The dividend and the divisor are not 0, enter the next step.

[0041] Step 2: Output the dividend and divisor of 1, input the symbol extraction module, output the sign of the quotient and the modulus of the dividend and divisor.

[0042] Step 3: Input the dividend and divisor output by 2 into the scaling module, realize scaling the dividend and divisor to an effective bit number ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention provides a method and device for realizing 32-bit integer division with high precision and low delay, including the following steps: S1, the dividend and the divisor are input to the zero judgment unit. If the dividend is 0, the quotient directly outputs 0, and the scaling factor is 0. ; S2, output the dividend and the divisor of 1, input the symbol extraction module, and output the sign of the quotient and the modulus of the dividend and the divisor. In the present invention, the initial value of Newton iteration is realized by CORDIC with fewer iterations, only addition and shift operations, low resource consumption, and convenient hardware implementation. Through the scaling module, the dividend and divisor are scaled to the same amplitude position, reducing the The calculation bit width reduces the need for the number of iterations, reduces the operation cycle, and adds a Newton iteration. At the cost of a small number of arithmetic units and delays, the calculation accuracy is increased. The output result is in the form of a quotient plus a scaling factor, which effectively guarantees the The accuracy, and the output bit width is small, which is convenient for subsequent use. The error is less than one thousandth.

Description

technical field [0001] The invention relates to the technical field of digital signal processing, in particular to a method and device for realizing 32-bit integer division with high precision and low delay. Background technique [0002] In the field of digital signal processing, 32-bit integer dividers are often used, such as in signal normalization and channel estimation, but the existing 32-bit integer dividers have the following disadvantages: [0003] 1. Existing division schemes often use derivative division, SRT method, addition and subtraction alternate method, CORDIC method, etc. The operation cycle of these methods often increases a lot with the increase of the number of digits, which wastes power consumption. [0004] 2. With the increase of the data bit width, the middle bit width of the arithmetic unit often becomes larger and larger, occupying more storage space. [0005] 3. In order to ensure performance, the bit width of the output result is large, and the r...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F7/535G06F17/16
CPCG06F7/535G06F17/16
Inventor 谭定富
Owner 上海擎昆信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products