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

Hyperbolic CORDIC-based logarithmic function calculation system and method

A technology of logarithmic function and calculation system, applied in the field of logarithmic function calculation system based on hyperbolic CORDIC, can solve the problems of large hardware area and low calculation accuracy, and achieve the realization of small area, high calculation accuracy and wide data range. Effect

Active Publication Date: 2019-09-10
南京宁麒智能计算芯片研究院有限公司
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004]Aiming at the application of CORDIC algorithm, some technical solutions have also been proposed in the prior art. System (application number: 201811653497.1; application date: 2018-12-30), the system includes the core algorithm control module, the type 2 hyperbolic rotation mode CORDIC module, the type 2 hyperbolic vector mode CORDIC module and the basic operation module, the basic operation module It includes a floating-point conversion unit, a delay unit, an addition unit and a multiplication unit. According to the input floating-point base number and fixed-point exponent, these four units and the above two modules are used to calculate and output floating-point results, which can support any Floating-point base numbers and arbitrary fixed-point exponents are used for exponential function operations; but this solution only solves the calculation problem of exponential functions
[0005] To sum up, how to solve the problem of large hardware area and low calculation accuracy required for logarithmic function calculation is worth thinking about in the existing technology. The problem

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
  • Hyperbolic CORDIC-based logarithmic function calculation system and method
  • Hyperbolic CORDIC-based logarithmic function calculation system and method
  • Hyperbolic CORDIC-based logarithmic function calculation system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] combine figure 1 Shown, a kind of logarithmic function computing system based on hyperbolic CORDIC of the present invention comprises control module, variant hyperbolic vector pattern CORDIC module and basic operation module, and variant hyperbolic vector pattern CORDIC module is connected with control module; Wherein , the control module is used for task scheduling, and the variant hyperbolic vector mode CORDIC module is used to calculate the logarithmic function with the base 2 and the real number range between [1, 2]. It is worth noting that for the logarithmic function y=log 2 N(N>0), the real number N can be expressed as N=(1+x)*2 in floating point type k (x is the mantissa, k is the order code), then

[0029]

[0030] Since x∈[0,1), that is, 1+x∈[1,2), it conforms to the convergence interval of the hyperbolic vector pattern CORDIC. Because when the initial input values ​​x, y, and z of the hyperbolic vector mode CORDIC are R+1, R-1, and 0, respectively, its...

Embodiment 2

[0037] The content of this embodiment is basically the same as that of Embodiment 1. Further, the real number N input by this embodiment belongs to the scope of single-precision floating-point number representation, and is 32-bit data ([b 31 , b 30 ,...,b 2 , b 0 ]), [b 31 ] represents the sign bit (because N must be greater than 0, so this bit is always 0), [b 30 , b 29 ,...,b 24 , b 23 ] means order code + exponent partial order 127, [b 22 , b 21 ,...,b 1 , b 0 ] represents the mantissa; for output y, [b 34 ] means the sign bit, [b 33 , b 32 ,...,b 28 , b 27 ] means an integer bit, [b 26 , b 22 ,...,b 1 , b 0 ] means decimal places (y is 35 bit specific point data).

[0038] Such as figure 2 As shown, when the input data N is valid, the floating-point conversion unit of the basic operation module first separates the floating-point type N into the exponent code k and the mantissa x, and the delay unit transmits the exponent code k to the addition unit wit...

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 hyperbolic CORDIC-based logarithmic function calculation system and method, and belongs to the field of function calculation. The system comprises a control module, a varianthyperbolic vector mode CORDIC module and a basic operation module, the control module and the variant hyperbolic vector mode CORDIC module are respectively connected with the basic operation module,and the variant hyperbolic vector mode CORDIC module is connected with the control module. According to the method disclosed by the invention, the control module, the variant hyperbolic vector mode CORDIC module and the basic operation module are matched for calculation, so that logarithmic function calculation taking 2 as the bottom can be carried out on any floating point type true number. The system aims to overcome the defects that in the prior art, the hardware area needed by logarithmic function calculation is large, and the calculation precision is low, logarithmic function calculationwith 2 as the bottom can be conducted on any floating point type true number, the hardware resource cost is low, the calculation precision is high, and the application requirements of different precisions can be met.

Description

technical field [0001] The present invention relates to the field of function calculation, and more specifically relates to a hyperbolic CORDIC-based logarithmic function calculation system and method. Background technique [0002] Calculations of logarithmic functions are necessary in many applications, including signal and image processing, communication systems, and biomedical systems, among others. In practical engineering applications, since the speed of calculating the logarithmic function by software is not fast enough, this requires dedicated hardware design for accelerated implementation. How to perform logarithmic function operations in a larger range while occupying as little resources as possible while meeting the precision requirements has become the main research problem. The traditional implementation methods mainly include lookup table, piecewise linear approximation method, polynomial approximation method, and numerical cycle method, etc., but these methods...

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): G06F17/15
CPCG06F17/15Y02D10/00
Inventor 李丽陈辉傅玉祥程开丰何书专
Owner 南京宁麒智能计算芯片研究院有限公司
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