Data processing method and data processing device based on PCM compression coding

A data processing device and a technology of compression coding, applied in the field of data processing, can solve the problems of complexity, less division precision, multi-cycle number of cyclic shift subtraction method, etc., and achieve the effect of reducing errors, fast and accurate data processing

Active Publication Date: 2020-02-11
INST OF MICROELECTRONICS CHINESE ACAD OF SCI
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The divisor inversion multiplication method is a method to quickly realize division with the help of a multiplier, but as a fitting algorithm, the implementation of the piecewise fitting of the divisor will affect the number of cycles and precision required for the division. Usually, the smaller the number of divisions, the fewer the number of operation cycles required but the lower the precision of division, the larger the number of divisions, the higher the precision of division but the greater the number of cycles required
[0004] However, both algorithms have certain problems. If the cyclic shift and subtraction method is implemented using basic subtraction operations, more cycles are required, or a high-base SRT algorithm circuit needs to be specially designed to achieve hardware acceleration.
The method of multiplying the reciprocal of the divisor lies in the process of using polynomial fitting to approximate the reciprocal operation. The fitting accuracy of different input intervals is quite different, and the operation of segmenting according to the input is more complicated, often resulting in the need for multiple comparison operations. To complete the judgment of segment interval

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
  • Data processing method and data processing device based on PCM compression coding
  • Data processing method and data processing device based on PCM compression coding
  • Data processing method and data processing device based on PCM compression coding

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0083] Input the number x=16’b0000_0000_0100_1010, after performing PCM compression on x, the value obtained is s1=8’b00100010, this number is the pointer of the table entry where it falls, and s1 can be used to address and look up the table.

[0084] Parameter fitting process:

[0085] The fitting method of p1 and p2 in this table item: the corresponding interval of the original input data is: 16’b0000_0000_0100_10xx, and this interval contains four points:

[0086] 16'b0000_0000_0100_1000,

[0087] 16'b0000_0000_0100_1001,

[0088] 16'b0000_0000_0100_1010,

[0089] 16'b0000_0000_0100_1011.

[0090] Using the 4 points and the corresponding 1 / x value to perform linear fitting, the fitting value of (p1, p2) corresponding to this interval can be obtained. The calculated values ​​of p1 and p2 are multi-digit decimals. In order to reduce the error of fixed-point numbers, the value of s1 can be used to enlarge p1 and p2 by a reasonable multiple (shift left) and then perform fix...

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 invention discloses a data processing method and a data processing device based on PCM compression coding. The data processing method based on PCM compression coding comprises the steps that saturation operation is conducted on an input divisor x, and r1 and r2 meeting the PCM compression coding input range are obtained; according to a PCM compression coding rule, compression coding is carriedout on the r2 to obtain a code s1, and a shift value s2 is set according to the s1; the lookup table is inquired by utilizing the coded value s1 to obtain p1 and p2; y is obtained through multiply-accumulate operation according to r1, p1 and p2; y is subjected to displacement processing, y2 is obtained by moving the y leftwards by 32 bits, and y3 is obtained by moving the y2 rightwards by s2 bits; and a dividend z is input, and the dividend z is multiplied by y3 to obtain a division operation result. By the adoption of the technical scheme, rapid non-uniform segmentation compression can be conducted on the input number, shift compression processing is conducted according to the PCM compression coding value, errors caused by linear fitting parameter quantization are reduced accordingly, and rapid and accurate data processing is achieved through PCM compression coding, table look-up, multiply-accumulate operation and shift processing.

Description

technical field [0001] The invention belongs to the field of data processing, and in particular relates to a data processing method and a data processing device based on PCM compression coding. Background technique [0002] Traditional division implementation algorithms can be divided into two types: cyclic shift and subtraction, and divisor multiplication by reciprocal. [0003] The cyclic shift subtraction method mainly uses the cyclic shift subtraction method to simulate the hand calculation process and convert division into a series of subtractions. The divisor inversion multiplication method is a method to quickly realize division with the help of a multiplier, but as a fitting algorithm, the implementation of the piecewise fitting of the divisor will affect the number of cycles and precision required for the division. Usually, the smaller the number of segments is, the fewer operation cycles are required but the lower the precision of division is; the larger the numbe...

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
IPC IPC(8): H03M7/30G06F7/52
CPCH03M7/3053G06F7/52
Inventor 洪钦智王志君吴凯梁利平
Owner INST OF MICROELECTRONICS CHINESE ACAD OF SCI
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