

FOLLOWUS
Department of Mechanical and Materials Engineering, Universiti Kebangsaan Malaysia, UKM Bangi 43600, Malaysia
[ "Choon Lih HOO, E-mail:steven85@vlsi.eng.ukm.my" ]
[ "Sallehuddin Mohamed HARIS, E-mail:salleh@eng.ukm.my" ]
[ "Nik Abdullah Nik MOHAMED, E-mail:enikkei@eng.ukm.my" ]
Received:21 February 2012,
Revised:2012-;8-;3,
Published:2012-09
Scan QR Code
Choon Lih HOO, Sallehuddin Mohamed HARIS, Nik Abdullah Nik MOHAMED. A floating point conversion algorithm for mixed precision computations[J]. Frontiers of Information Technology & Electronic Engineering, 2012, 13(9): 711-718.
Choon Lih HOO, Sallehuddin Mohamed HARIS, Nik Abdullah Nik MOHAMED. A floating point conversion algorithm for mixed precision computations[J]. Frontiers of Information Technology & Electronic Engineering, 2012, 13(9): 711-718. DOI: 10.1631/jzus.C1200043.
The floating point number is the most commonly used real number representation for digital computations due to its high precision characteristics. It is used on computers and on single chip applications such as DSP chips. Double precision (64-bit) representations allow for a wider range of real numbers to be denoted. However
single precision (32-bit) operations are more efficient. Recently
there has been an increasing interest in mixed precision computations which take advantage of single precision efficiency on 64-bit numbers. This calls for the ability to interchange between the two formats. In this paper
an algorithm that converts floating point numbers from 64- to 32-bit representations is presented. The algorithm was implemented as a Verilog code and tested on field programmable gate array (FPGA) using the Quartus Ⅱ DE2 board and Agilent 16821A portable logic analyzer. Results indicate that the algorithm can perform the conversion reliably and accurately within a constant execution time of 25 ns with a 20 MHz clock frequency regardless of the number being converted.
H. Anzt , , , V. Heuveline , , , B. Rocker . . An Error Correction Solver for Linear Systems: Evaluation of Mixed Precision Implementations . . High Performance Computing for Computational Science-VECPAR 2010 , , 2011a . . p.58 - - 70 . . DOI: 10.1007/978-3-642-19328-6_8 http://doi.org/10.1007/978-3-642-19328-6_8 . .
H. Anzt , , , V. Heuveline , , , B. Rocker , , , M. Castillo , , , J.C. Fernandez , , , R. Mayo , , , E.S. Quintana-Orti . . Power Consumption of Mixed Precision in the Iterative Solution of Sparse Linear Systems . . IEEE Int. Symp. on Parallel & Distributed Processing Workshops and PhD Forum , , 2011b . . p.829 - - 836 . . DOI: 10.1109/IPDPS.2011.226 http://doi.org/10.1109/IPDPS.2011.226 . .
M. Baboulin , , , A. Buttaro , , , J. Dongarra , , , J. Kurzak , , , J. Langou , , , J. Langou , , , P. Luszczek , , , S. Tomov . . Accelerating scientific computations with mixed precision algorithms . . Comput. Phys. Commun. , , 2009 . . 180 ( ( 12 ): ): 2526 - - 2533 . . DOI: 10.1016/j.cpc.2008.11.005 http://doi.org/10.1016/j.cpc.2008.11.005 . .
S. Boldo , , , M. Daumas . . A Mechanically-Validated Technique for Extending the Available Precision . . Conf. Record of the 35th Asilomar Conf. on Signals, Systems and Computer , , 2001 . . p.1299 - - 1303 . . DOI: 10.1109/ACSSC.2001.987700 http://doi.org/10.1109/ACSSC.2001.987700 . .
V. Christopher . . IEEE-754: Floating-Point Conversion . . Available from , , http://babbage.cs.qc.edu/IEEE-754/64bit.html http://babbage.cs.qc.edu/IEEE-754/64bit.html , , [Accessed on Feb. 20, 2012] 2012 . . .
D. Goddeke , , , R. Strzodka , , , S. Turek . . Accelerating Double Precision FEM Simulations with GPUs . . Proc. ASIM 18th Symp. on Simulation Technique , , 2005 . . p.139 - - 144 . . . .
D. Goddeke , , , R. Strzodka , , , S. Turek . . Performance and accuracy of hardware-oriented native-, emulated- and mixed-precision solvers in FEM simulations . . Int. J. Parall. Emerg. Distr. Syst. , , 2007 . . 22 ( ( 4 ): ): 221 - - 256 . . DOI: 10.1080/17445760601122076 http://doi.org/10.1080/17445760601122076 . .
V. Groza , , , B. Dzerdz . . Differential predictive floating-point analog-to-digital converter . . Measurement , , 2004 . . 35 ( ( 2 ): ): 139 - - 151 . . DOI: 10.1016/j.measurement.2003.08.004 http://doi.org/10.1016/j.measurement.2003.08.004 . .
H.M. Hasanien . . FPGA implementation of adaptive ANN controller for speed regulation of permanent magnet stepper motor drives . . Energy Conv. Manag. , , 2011 . . 52 ( ( 2 ): ): 1252 - - 1257 . . DOI: 10.1016/j.enconman.2010.09.021 http://doi.org/10.1016/j.enconman.2010.09.021 . .
S. Hollasch . . IEEE Standard 754: Floating Point Numbers . . Available from , , http://steve.hollasch.net/cgindex/coding/ieeefloat.html http://steve.hollasch.net/cgindex/coding/ieeefloat.html , , [Accessed on Feb. 20, 2012] 2005 . . .
IEEE . . IEEE Standard for Binary Floating-Point Arithmetic . . IEEE Std 754-1985 , , 1985 . . .
J. Langou , , , P. Luszczek , , , J. Kurzak , , , A. Buttari , , , J. Dongarra . . Exploiting the Performance of 32 Bit Floating Point Arithmetic in Obtaining 64 Bit Accuracy . . Proc. ACM/IEEE Conf. on Supercomputing, Article No. 113 , , 2006 . . p.50 DOI: 10.1145/1188455.1188573 http://doi.org/10.1145/1188455.1188573 . .
T.E. Linnenbrink , , , S.D. Gaalema . . Floating-Point Analog-to-Digital Converter . . US Patent 5 061 927 , , 1991 . . .
P.M. Seidel . . On-line IEEE Floating-Point Multiplication and Division for Reduced Power Dissipation . . Conf. Record of the 38th Asilomar Conf. on Signals, Systems and Computers , , 2004 . . p.498 - - 502 . . DOI: 10.1109/ACSSC.2004.1399182 http://doi.org/10.1109/ACSSC.2004.1399182 . .
I. Spence , , , N.S. Scott , , , C.J. Gillan . . Enabling science through emerging HPC technologies: accelerating numerical quadrature using a GPU . . Numer. Methods Progr. , , 2009 . . 10 385 - - 388 . . . .
Z. Wen , , , W. Chen , , , Z. Xu , , , J. Wang . . Analysis of Two-Phase Stepper Motor Driver Based on FPGA . . Proc. IEEE Int. Conf. on Industrial Informatics , , 2006 . . p.821 - - 826 . . . .
Publicity Resources
Related Articles
Related Author
Related Institution
京公网安备11010802024621