Re: [sv-bc] integer bit bounds

From: Greg Jaxon <Greg.Jaxon_at_.....>
Date: Wed Jan 16 2008 - 10:04:36 PST
Bresticker, Shalom wrote:
> Hi,
> 
> 19.7 says,
> 
> For a fixed-size integer type (*integer*, *shortint*,*longint*,
> and *byte*), dimension 1 is predefined. For an integer/ N/
> declared without a range specifier, its bounds are assumed to be
> [$bits(N)-1:0].
> 
> I understand the first sentence.
> I don't understand what case the second sentence is referring to.
> Can someone clarify?

The first sentence promises a definition which the second sentence is trying to
deliver.  It should probably /not/ focus on  "integer N" - which makes it
sound like a mere example, instead the two sentences should be joined to say

"For a fixed-size integer type ( *integer*, *shortint*, *longint*,
OR *byte*, call this /N/ ), dimension 1 is predefined to be [$bits( /N/ )-1:0]."

Greg Jaxon


> 
> Thanks,
> Shalom
> 
> Shalom Bresticker
> Intel Jerusalem LAD DA
> +972 2 589-6582
> +972 54 721-1033
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Jan 16 10:04:58 2008

This archive was generated by hypermail 2.1.8 : Wed Jan 16 2008 - 10:05:28 PST