Electronic Science and Technology ›› 2023, Vol. 36 ›› Issue (9): 66-72.doi: 10.16180/j.cnki.issn1007-7820.2023.09.010

Previous Articles     Next Articles

Optimization and Implementation of 2-Base Exponential Function Algorithm Based on FPGA

CHENG Tiantian,SONG Yukun   

  1. School of Microelectronics,Hefei University of Techology,Hefei 230601,China
  • Received:2022-05-06 Online:2023-09-15 Published:2023-09-18
  • Supported by:
    National Key R&D Program of China(2018YFB2202604)

Abstract:

In view of the problems of small calculation value range and large error in common hardware implementation methods of exponential function, an improved hardware implementation method of base 2 exponential function y=2x combining polynomial and lookup table is proposed. The optimization algorithm adopts the interval division to compress the input x to (-1/512,1/512) and then performs the Taylor series expansion of the exponential function to ensure that the accuracy reaches 10-16 in the double-precision floating-point when the Taylor series is expands to x4. And storage resource consumption is reduced by optimizing intermediate data storage policies. Hardware design implementation and performance test of the improved algorithm on Xilinx XC7K325T FPGA(Field Programmable Gate Array) are performed by using Verilog HDL. The results show that within the value range that double-precision floating-point numbers can represent, the full-domain exponential function calculation can be supported by the designed circuit with less storage consumption, and the calculation accuracy is not less than 10-16.

Key words: exponential function, Taylor series, look up table, transcendental function, interval division, polynomial floating point, pretreatment

CLC Number: 

  • TN47