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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com