Re: Representation of real numbers

Discussion in 'VHDL' started by Jim Lewis, Jul 1, 2003.

  1. Jim Lewis

    Jim Lewis Guest

    Jeremy,
    See the packages at: http://www.eda.org/fphdl/

    Cheers,
    Jim

    Jeremy Pyle wrote:
    > Hey all,
    >
    > I'm trying to find out how I would get a hold of the representation of a
    > real number. I know it's represented at a sign bit, exponent, mantissa, but
    > I'm trying to store this real number in RAM, meaning I have to pass it in as
    > a STD_LOGIC_VECTOR, so somehow I need to convert a real to a
    > STD_LOGIC_VECTOR. Is there any way to do this?
    >
    > Also, I have to divide the real numbers so I'm trying to figure out the best
    > way to do it. Here are my two choices:
    > 1. just use the division operator provided for real numbers
    > 2. use the XiLinx dividor module provided in XiLinxCoreLib.
    >
    > If anyone could tell me the pros and cons of using one over the other that
    > would be fantastic.
    >
    > Thanks all,
    >
    > Jeremy
    >
    >



    --
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Jim Lewis
    Director of Training mailto:
    SynthWorks Design Inc. http://www.SynthWorks.com
    1-503-590-4787

    Expert VHDL Training for Hardware Design and Verification
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Jim Lewis, Jul 1, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeremy Pyle

    Re: Representation of real numbers

    Jeremy Pyle, Jun 27, 2003, in forum: VHDL
    Replies:
    1
    Views:
    1,260
    Ken Smith
    Jun 27, 2003
  2. Replies:
    10
    Views:
    2,816
    Torsten Bronger
    Dec 15, 2005
  3. Curious Trigger
    Replies:
    2
    Views:
    1,799
    Curious Trigger
    Sep 9, 2006
  4. Dilip
    Replies:
    8
    Views:
    456
    Ernie Wright
    Dec 28, 2006
  5. Replies:
    4
    Views:
    282
Loading...

Share This Page