Title :
Hardware architecture design and mapping of ‘Fast Inverse Square Root’ algorithm
Author :
Zafar, Sameena ; Adapa, Raviteja
Author_Institution :
Dept. of Comput. Eng., NUST, Rawalpindi, Pakistan
Abstract :
The Fast Inverse Square Root algorithm has been used in 3D games of past for lighting and reflection calculations, because it offers up to four times performance gains. This paper presents a hardware implementation of the algorithm on an FPGA board by designing the complete architecture and successfully mapping it on Xilinx Spartan 3E after thorough functional verification. The results show that this implementation provides a very efficient single-precision floating point inverse square root calculator with practically accurate results being made available after just 12 short clock cycles. This performance measure is far superior to the software counterpart of the algorithm, and is not processor dependent like rsqrtss of x86 SSE instruction set. Results of this work can aid FPGA based vector processors or graphic processing units with 3D rendering. The hardware design can also form part of a larger floating point arithmetic unit for dedicated reciprocal square root calculations.
Keywords :
computer games; field programmable gate arrays; floating point arithmetic; graphics processing units; inverse problems; rendering (computer graphics); 3D games; 3D rendering; FPGA; SSE instruction set; Xilinx Spartan 3E; fast inverse square root algorithm; floating point arithmetic unit; functional verification; graphic processing units; hardware architecture design; reciprocal square root calculations; single-precision floating point inverse square root calculator; vector processors; Algorithm design and analysis; Clocks; Computer architecture; Field programmable gate arrays; Hardware; Software; Software algorithms; 0x5f3759df; digital design; fpga; reciprocal root; reconfigurable; verilog;
Conference_Titel :
Advances in Electrical Engineering (ICAEE), 2014 International Conference on
Conference_Location :
Vellore
DOI :
10.1109/ICAEE.2014.6838433