From: Steven Sharp (sharp@cadence.com)
Date: Fri Aug 22 2003 - 08:20:01 PDT
Precedence: bulk
The following reply was made to PR errata/428; it has been noted by GNATS.
From: Steven Sharp <sharp@cadence.com>
To: etf-bugs@boyd.com, Brad.Pierce@synopsys.com
Cc:
Subject: Re: errata/428: 2.5.1, value of 16'shc, request for clarification
Date: Fri, 22 Aug 2003 11:12:45 -0400 (EDT)
That is correct. The LRM says:
"If the size of the unsigned number [i.e. the third token of the constant,
which provides the actual value] is smaller than the size specified for
the constant, the unsigned number shall be padded to the left with zeros."
It would be clearer if the term "unsigned number" were not used here to
mean the third token, since I presume that is the cause of your uncertainty
when the overall constant is a signed number.
Steven Sharp
sharp@cadence.com
This archive was generated by hypermail 2.1.4
: Fri Aug 22 2003 - 08:21:22 PDT
and
sponsored by Boyd Technology, Inc.