Title :
Very low resource table-based FPGA evaluation of elementary functions
Author :
Neto, Hugo C. ; Vestias, Mario P.
Author_Institution :
INESC-ID/IST/ULisboa, Lisbon, Portugal
Abstract :
This paper analyzes the FPGA implementation of polynomial-based function evaluation specifically considering the embedded block RAMs and multiplier-adders available in today´s technologies. The computation of the reciprocal, square root and inverse square root functions using first and second order polynomial approximations is discussed, in particular. In each case, the most appropriate sizes for the interpolation intervals are selected according to the maximum polynomial approximation errors. Upper-bounds for the truncation errors are formally derived in order to find the most appropriate sizes for the polynomial coefficients and fixed-point operands. The bit-sizes of the polynomial coefficients are optimized so that all the required values fit in only one 36Kbit BRAM. Further, the word lengths and the number of fractional bits of the operands are adjusted so that the fixed-point multiplications and additions can be implemented with the 17×24 unsigned multipliers and 48-bit adders available in the FPGA DSP blocks. The experimental results confirm that a straightforward implementation of the function evaluator using one BRAM and two DSP blocks can provide more than single-precision. Additionally, an implementation with one BRAM and three DSPs can provide a precision of 28-bits, which is more than adequate to generate the seed for a double-precision operator using one additional Newton-Raphson iteration.
Keywords :
Newton-Raphson method; field programmable gate arrays; polynomial approximation; FPGA DSP blocks; Newton-Raphson iteration; elementary functions; embedded block RAM; first order polynomial approximations; inverse square root functions; multiplier-adders; polynomial coefficients; polynomial-based function evaluation; second order polynomial approximations; square root; very low resource table-based FPGA evaluation; Approximation methods; Computer architecture; Digital signal processing; Field programmable gate arrays; Finite wordlength effects; Polynomials; Upper bound;
Conference_Titel :
Reconfigurable Computing and FPGAs (ReConFig), 2013 International Conference on
Conference_Location :
Cancun
Print_ISBN :
978-1-4799-2078-5
DOI :
10.1109/ReConFig.2013.6732336