RE: [sv-bc] integer bit bounds

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu Jan 17 2008 - 04:58:11 PST
What's the bit about "without a range specifier"?

Shalom 

> > 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]."

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Jan 17 04:59:54 2008

This archive was generated by hypermail 2.1.8 : Thu Jan 17 2008 - 05:01:53 PST