Calculating Transcendental Function with Piecewise Algorithm and Its FPGA Implementation

杨阳,王永纲,都军伟
DOI: https://doi.org/10.3969/j.issn.0258-0934.2010.06.009
2010-01-01
Abstract:Transcendental function is calculated by piecewise approximation algorithm.We analysed relation between approaching precise with segments and limited word length in the example of most commonly used transferring function tanh in neural networks.The method of choosing segments and word length for the needed precise is given.We also implemented calculating tanh based on piecewise algorithm in FPGA.And piecewise approximation algorithm is compared with others fitting for hardware,like CORDIC and Look-up table,in the aspect of resource consumed and speed.
What problem does this paper attempt to address?