![]() |
|
|
|
#1 |
|
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 |
|
|
|
|
#2 |
|
Posts: n/a
|
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 |
|
![]() |
| Thread Tools | Search this Thread |
|
|
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 |