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

Reply

VHDL - Integer value range

 
Thread Tools Search this Thread
Old 12-05-2007, 10:38 PM   #1
Default Integer value range


Does anyone know what the range of values the standard 'integer' type
can hold? I've looked through most of the libraries and haven't found
the answer yet.

Thanks in advance.


alivingstone
  Reply With Quote
Old 12-05-2007, 11:12 PM   #2
Filip Miletic
 
Posts: n/a
Default Re: Integer value range
alivingstone wrote:
> Does anyone know what the range of values the standard 'integer' type
> can hold? I've looked through most of the libraries and haven't found
> the answer yet.


Ashenden's "Designer Guide to VHDL", 2nd edition says, at bottom of page 33:
"...An example of an integer type is the predefined type integer, which
includes all the whole numbers representable on a particular host
computer. The language standard requires that the type integer include
at least the numbers -2,147,483,647 to +2,147,483,647 (-2^31+1 to
2^31-1), but VHDL implementations may extend the range."

My $0.02 is that the range of the values is integer'low to integer'high.

f


Filip Miletic
  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
How to convert string contain Hex data into integer asifjavaid Software 0 09-09-2008 08:50 AM
getting integer values from electronic weigh scale through serial port dotnet_smart Software 2 09-17-2006 05:24 AM
getting integer values from electrolnic weigh scale through serial port dotnet_smart Hardware 0 07-28-2006 11:54 AM
May 22, 1859: Sir Arthur Conan Doyle is born fgoodwin DVD Video 14 05-26-2006 02:56 PM
Panasonic DVD-S47 Dynamic Range Compression DaveF DVD Video 0 07-04-2004 07:30 PM




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