Re: Representation of real numbers
See the packages at: http://www.eda.org/fphdl/
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,
Director of Training mailto:Jim@SynthWorks.com
SynthWorks Design Inc. http://www.SynthWorks.com
Expert VHDL Training for Hardware Design and Verification
|All times are GMT. The time now is 06:16 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.