Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Re: Representation of real numbers

Thread Tools

Re: Representation of real numbers

Jim Lewis
Posts: n/a
See the packages at:


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 (E-Mail Removed)
SynthWorks Design Inc.

Expert VHDL Training for Hardware Design and Verification
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~

Reply With Quote

Thread Tools

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
complex numbers should respect the "I" representation Python 4 06-29-2008 05:11 PM
Semi OT: Binary representation of floating point numbers Dilip C Programming 8 12-28-2006 06:36 AM
Detailsview shows real numbers with commata: Error converting data type nvarchar to real! Curious Trigger ASP .Net 2 09-09-2006 10:59 PM
Binary representation of floating point numbers Python 10 12-15-2005 03:45 PM
Re: Representation of real numbers Jeremy Pyle VHDL 1 06-27-2003 09:35 PM