Xcell Journal Issue 78: Charge to Market with Xilinx 7 Series ...
Xcell Journal Issue 78: Charge to Market with Xilinx 7 Series ...
Xcell Journal Issue 78: Charge to Market with Xilinx 7 Series ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
XPLANATION: FPGA 101<br />
Tips and Tricks for Better<br />
Floating-Point Calculations<br />
in Embedded Systems<br />
Floating-point arithmetic does not play by the rules of integer arithmetic.<br />
Yet, it’s not hard <strong>to</strong> design accurate floating-point systems using FPGAs<br />
or FPGA-based embedded processors.<br />
by Sharad Sinha<br />
PhD Candidate<br />
Nanyang Technological University, Singapore<br />
sharad_sinha@pmail.ntu.edu.sg<br />
Engineers tend <strong>to</strong> shy away from<br />
floating-point calculations, knowing<br />
that they are slow in software<br />
and resource-intensive when implemented<br />
in hardware. The best way<br />
<strong>to</strong> understand and appreciate floating-point numbers<br />
is <strong>to</strong> view them as approximations of real<br />
numbers. In fact, that is what the floating-point<br />
representation was developed for. The real world<br />
is analog, as the old saying goes, and many electronic<br />
systems interact <strong>with</strong> real-world signals. It<br />
is therefore essential for engineers who design<br />
those systems <strong>to</strong> understand the strength as well<br />
as the limitations of floating-point representations<br />
and calculations. It will help us in designing<br />
more reliable and error-<strong>to</strong>lerant systems.<br />
48 <strong>Xcell</strong> <strong>Journal</strong> First Quarter 2012