Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Hardware operation circuit for calculating Power function and data processing method

A computing circuit and hardware technology, applied in the field of data processing, can solve the problems that the divided interval cannot be infinitely small, consume large storage resources, large computing resource consumption and computing delay, etc., to reduce hardware resource consumption, reduce storage resources, Reduce the effect of multiply and add operations

Pending Publication Date: 2022-08-05
HEFEI UNIV OF TECH
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. Since the coefficients are stored in a lookup table, the storage resources are determined by the size of the divided interval and the number of items expanded by the polynomial, which usually consume a large amount of storage resources;
[0006] 2. Due to storage limitations, the divided interval cannot be infinitely small. To meet the calculation accuracy, more polynomial expansion items are required, which will bring greater computing resource consumption and computing delay.

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
  • Hardware operation circuit for calculating Power function and data processing method
  • Hardware operation circuit for calculating Power function and data processing method
  • Hardware operation circuit for calculating Power function and data processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] like figure 1 As shown, this embodiment provides a hardware operation circuit for calculating a Power function, the hardware operation circuit includes: a logarithm calculation module 100, a multiplication module and an exponent calculation module 200; the logarithm calculation module 100 is configured according to the first The order code E of a parameter x generates the first intermediate parameter, and according to the mantissa M of the first parameter x, the second intermediate parameter is calculated by means of table look-up and log-Taylor series expansion, and according to the first intermediate parameter and the second intermediate parameter parameters, generate the logarithmic calculation result; the multiplication module is used to calculate the product of the logarithmic calculation result and the second parameter y, and the product is recorded as the multiplication calculation result w; the exponent calculation module 200 is configured to perform according to...

Embodiment 2

[0088] On the basis of the above-mentioned embodiment, as Figure 10 As shown, this embodiment provides a data processing method in an industrial hardware computing circuit, the method is suitable for data processing in a hardware computing circuit, and the hardware computing circuit can be used to calculate the Power function, and the method includes:

[0089] Step 1, generate the first intermediate parameter according to the order code E of the first parameter x, and calculate the second intermediate parameter according to the mantissa M of the first parameter x by using a look-up table and logarithmic Taylor series expansion. the first intermediate parameter and the second intermediate parameter to generate a logarithmic calculation result;

[0090] Specifically, the Power function is f(x,y)=x y (x>0), the definition domain of the function x, y is the real number R, let f(x, y)=x in the real number domain y The meaningful domain is x>0, and the base x can be represented i...

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 hardware operation circuit for calculating a Power function and a data processing method, and the hardware operation circuit comprises a logarithm calculation module, a multiplication module and an index calculation module. The logarithm calculation module is configured to generate a first intermediate parameter according to the order code of the first parameter, calculate a second intermediate parameter by adopting a table look-up and logarithm Taylor series expansion mode according to the mantissa of the first parameter, and generate a logarithm calculation result according to the first intermediate parameter and the second intermediate parameter; the multiplication module is used for calculating a product of the logarithm calculation result and a second parameter, and recording the product as a multiplication calculation result; and the index calculation module is configured to perform index operation according to the multiplication calculation result of the multiplication module to generate Power function operation results of the first parameter and the second parameter. According to the technical scheme, the hardware operation circuit of the Power function is optimized, so that the hardware operation circuit can provide high calculation precision, support a wider data range and reduce resource occupation.

Description

technical field [0001] The present application relates to the technical field of hardware arithmetic circuits, and in particular, to a hardware arithmetic circuit for calculating a Power function and a data processing method in an industrial hardware arithmetic circuit. Background technique [0002] Power function is a common transcendental function, the expression is f(x,y)=x y , which is widely used in digital signal processing, artificial intelligence, control systems and navigation systems, among which, scientific calculations such as Taylor series expansion and Fourier transform can be transformed into comprehensive operations of Power functions. Although the software calculation method of the Power function has been very common, in practical engineering applications, it is often necessary to implement a dedicated hardware for the operation of the Power function. [0003] For example, in the relevant document "Design and Verification of X-DSP IP Core Power Function Com...

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 Applications(China)
IPC IPC(8): G06F7/544G06F7/556
CPCG06F7/544G06F7/556Y02D10/00
Inventor 宋宇鲲程甜甜韩帅鹏倪伟张多利
Owner HEFEI UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products