A fast and area-efficient FPGA-based architecture for high accuracy logarithm approximation

This paper presents a novel hardware architecture for the approximation of the base-2 logarithm of integers at a high accuracy. It is based on a generalized piecewise linear approximation approach, which allows a large number of linear segments to approximate the logarithm function. Contrary to state of the art architectures that utilize up to six linear segments for the approximation, the implementation of the proposed architecture employs up to 1024 linear segments, while retaining low FPGA resource requirements and high frequency. The exploitation of the capabilities of modern FPGAs results in low resource utilization. More specifically, up to 329 slices, one BlockRAM and one multiplier are utilized on a Xilinx Virtex-5 FPGA. The approximation error depends on the number of segments used and is lower than the comparable architectures by five orders of magnitude. Thus, the proposed architecture is suitable for use as a component in systems that require fast, accurate and resource-efficient logarithm calculation.

[1]  John N. Mitchell,et al.  Computer Multiplication and Division Using Binary Logarithms , 1962, IRE Trans. Electron. Comput..

[2]  Jack E. Volder The CORDIC Trigonometric Computing Technique , 1959, IRE Trans. Electron. Comput..

[3]  Khalid H. Abed,et al.  CMOS VLSI Implementation of a Low-Power Logarithmic Converter , 2003, IEEE Trans. Computers.

[4]  Dimitrios K. Iakovidis,et al.  Dedicated Hardware for Real-Time Computation of Second-Order Statistical Features for High Resolution Images , 2006, ACIVS.

[5]  ERNEST L. HALL,et al.  Generation of Products and Quotients Using Approximate Binary Logarithms for Digital Filtering Applications , 1970, IEEE Transactions on Computers.

[6]  David M. Mandelbaum,et al.  A Fast, Efficient Parallel-Acting Method of Generating Functions Defined by Power Series, Including Logarithm, Exponential, and Sine, Cosine , 1996, IEEE Trans. Parallel Distributed Syst..

[7]  Javier D. Bruguera,et al.  High-radix logarithm with selection by rounding , 2002, Proceedings IEEE International Conference on Application- Specific Systems, Architectures, and Processors.

[8]  David M. Rocke,et al.  Approximate Variance-stabilizing Transformations for Gene-expression Microarray Data , 2003, Bioinform..

[9]  S. L. SanGregory,et al.  A fast, low-power logarithm approximation with CMOS VLSI implementation , 1999, 42nd Midwest Symposium on Circuits and Systems (Cat. No.99CH36356).

[10]  Florent de Dinechin,et al.  Parameterized floating-point logarithm and exponential functions for FPGAs , 2007, Microprocess. Microsystems.