Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Floating point Mathematics

 
Thread Tools Search this Thread
Old 09-15-2007, 07:58 AM   #1
Default Floating point Mathematics


I am working on a project to implement an FFT using an FPGA. For the
FFT i would need to use floating point numbers. I have read about the
IEEE 754 standard but I think that it is too cumbersome for this
application. I would prefer to implement a fix point representation.

Can anyone suggest a fixed point representation that that is efficient
and relatively accurate at the same time?

Joseph



Joseph
  Reply With Quote
Old 09-15-2007, 02:30 PM   #2
David Bishop
 
Posts: n/a
Default Re: Floating point Mathematics
Joseph wrote:
> I am working on a project to implement an FFT using an FPGA. For the
> FFT i would need to use floating point numbers. I have read about the
> IEEE 754 standard but I think that it is too cumbersome for this
> application. I would prefer to implement a fix point representation.
>
> Can anyone suggest a fixed point representation that that is efficient
> and relatively accurate at the same time?


In VHDL-2007 there will be synthesizable fixed and floating point
packages. You will find copies VHDL-93 compatible copies of these
packages at this web page:

http://www.eda.org/fphdl/vhdl.html

Right now this page is pretty minimal, but I plan to expand the number
of vendors, and add some examples and some support code.

Documentation for these packages:
http://www.vhdl.org/vhdl-200x/vhdl-2...s/Fixed_ug.pdf
http://www.vhdl.org/vhdl-200x/vhdl-2...s/Float_ug.pdf


David Bishop
  Reply With Quote
Old 09-17-2007, 04:04 PM   #3
Tricky
 
Posts: n/a
Default Re: Floating point Mathematics
On Sep 15, 7:58 am, Joseph <joz...@gmail.com> wrote:
> I am working on a project to implement an FFT using an FPGA. For the
> FFT i would need to use floating point numbers. I have read about the
> IEEE 754 standard but I think that it is too cumbersome for this
> application. I would prefer to implement a fix point representation.
>
> Can anyone suggest a fixed point representation that that is efficient
> and relatively accurate at the same time?
>
> Joseph


Altera provide floating point entities in their megafunction library.
Xilinx have similar libraries.

Converting to a fixed point representation can often be advantageous
as it offers greater precision at the expense of range. dedicated
multipliers are normally in 9x9,18x18 or 36x36 configurations, so to
be efficient it is often best to stick to a multiple of this (or
less). Also bear in mind that 1 18x18 multipler uses 4 9x9 multiplers,
and 36x36 4 18 bit multipliers, so 18 bits is often the most
efficient. FPGAs are designed for efficient fixed point number
mathematics, but the accuracy is up to you to decide.

No on can suggest a fixed point representaion that will be efficient
and accurate for your application unless you detail the application.
If you need floating point numbers to cover the range of possible
values, then fixed point numbers will probably not be practical:



Tricky
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Floating point input leo.udaya Hardware 0 09-15-2008 06:01 AM
Pipeline Floating point ALU velocityreviews Software 0 04-09-2007 10:10 PM
Floating point in VHDL Nirmala Software 0 11-11-2006 06:48 AM
HD-DVD and DVD's future Phil Riker DVD Video 68 09-28-2003 09:32 PM
Clint Kennedy: coward or loser? Pikoro A+ Certification 9 08-28-2003 05:20 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46