Hardware Efficient Reciprocal Using Second Order Harmonized Parabolic Synthesis and Squaring Shrunk Method

Jun Luo, Hongwei Luo, Yue Zhi, Xiaoqiang Wang, Hongfeng Lv, M. DangElektronika 2018

Abstract: Reciprocal calculations are fundamental to complex matrix operations in wireless communications, computer graphics, and digital signal processing. To achieve high performance, hardware architectures must balance cost, computation time, and precision. This paper presents a novel approach combining a Second Order First Sub-function (SOFS) within Harmonized Parabolic Synthesis (HPS) and a "squaring shrunk" method. The SOFS improves approximation precision and reduces memory usage through symmetry, while the squaring shrunk method replaces expensive general-purpose multipliers with efficient squarers. Experimental results on FPGAs demonstrate that this method achieves a 53% reduction in memory usage and a 32% improvement in precision compared to traditional first-order methods.

Introduction

In modern high-performance computing environments, such as 5G signal processing or real-time 3D rendering, calculating the reciprocal ($1/x$) is a ubiquitous yet computationally demanding task. Standard hardware implementations often face significant trade-offs. Look-Up Tables (LUTs) offer speed but suffer from exponential memory growth as precision requirements increase. The Newton-Raphson (NR) method provides high accuracy but relies heavily on multipliers—the most resource-intensive components on a chip. Meanwhile, CORDIC algorithms, though hardware-friendly, introduce high latency.

This research introduces an architecture that targets the "sweet spot" of high precision and speed with minimal hardware overhead. By refining the Harmonized Parabolic Synthesis (HPS) technique, the authors achieve significant gains in efficiency.

Methodology

The proposed method introduces two key innovations to the HPS framework: the Second Order First Sub-Function (SOFS) and the Squaring Shrunk Method.

Second Order First Sub-Function (SOFS)

Traditional HPS uses a first-order (linear) approximation for sub-functions. The authors propose using a second-order (quadratic) approximation instead. By carefully designing this function to be symmetric, the hardware only needs to store coefficients for half of the input range, effectively halving the memory footprint while simultaneously increasing precision.

Comparison of the first help function between the first-order (FOFS) and the proposed second-order (SOFS) methods, highlighting the symmetry used to reduce memory.

Squaring Shrunk Method

Evaluating a standard quadratic equation $ax^2 + bx + c$ typically requires two general-purpose multipliers. The authors mathematically reformulate the approximation into a "squaring" format: $p(x+m)^2 + k$. In digital logic, a dedicated "squarer" is significantly smaller and more power-efficient than a general multiplier. This "shrinking" of multipliers into squarers reduces overall hardware complexity without sacrificing processing speed.

Hardware Implementation

The architecture was implemented and tested on Intel/Altera Cyclone V and Stratix IV FPGAs. The design utilizes a segmented approach where the input range is divided into intervals, and specific coefficients are fetched from small LUTs to feed the squaring and addition stages.

The proposed hardware architecture utilizing the squaring shrunk method to replace expensive multipliers with more efficient squarers.

Key Results

Numerical simulations and FPGA synthesis results confirm the effectiveness of the proposed approach. Compared to the standard First-Order First Sub-function (FOFS) HPS method, the new architecture achieved the following:

  • Memory Efficiency: Reduced memory bit usage by 53% compared to the standard FOFS-HPS method.
  • Improved Accuracy: Achieved a 32% improvement in precision on average.
  • Hardware Savings: On a Stratix IV FPGA, the proposed method required only 4 DSP blocks and 216 memory bits to achieve a mean error of $1.24 \times 10^{-5}$, whereas a comparable Newton-Raphson approach required over 10,000 memory bits for similar accuracy.
  • High Speed: The design maintained high clock frequencies (approx. 277–310 MHz), ensuring it can keep up with demanding real-time applications.

Conclusion

The combination of second-order symmetric approximations and the squaring shrunk method provides a highly efficient hardware solution for reciprocal calculations. While there is a slight increase in logic element usage due to additional adders, the massive savings in memory and expensive DSP blocks represent a superior trade-off for most high-performance applications. Future work may extend these "squaring shrunk" principles to other complex functions like square roots and logarithms.

Summary updated

BibTeX
@inproceedings{luo2018hardware,
  author = {Jun Luo and Hongwei Luo and Yue Zhi and Xiaoqiang Wang and Hongfeng Lv and M. Dang},
  title = {{Hardware Efficient Reciprocal Using Second Order Harmonized Parabolic Synthesis and Squaring Shrunk Method}},
  booktitle = {Elektronika},
  year = {2018},
  doi = {10.5755/j01.eie.24.2.20635},
}

Loading related content...

Figure