Re: errata/454: PROPOSAL - 2.5.1: 2'sb0000000_10 == 2'sb10 ?

From: Shalom Bresticker (Shalom.Bresticker@freescale.com)
Date: Sun Nov 14 2004 - 00:00:00 PST

  • Next message: brad.pierce@synopsys.com: "errata/227: PROPOSAL - task/function port lists and internal block item declarations"

    The following reply was made to PR errata/454; it has been noted by GNATS.

    From: Shalom Bresticker <Shalom.Bresticker@freescale.com>
    To: brad.pierce@synopsys.com
    Cc: etf-bugs@boyd.com
    Subject: Re: errata/454: PROPOSAL - 2.5.1: 2'sb0000000_10 == 2'sb10 ?
    Date: Sun, 14 Nov 2004 10:06:23 +0200

     Brad,
     
     This is still ambiguous.
     
     What is "the size of the unsigned number"?
     
     In your example, 2'sb0000000_10, I might interpret that the size of the unsigned number is 2 bits, since all the extra bits are 0.
     
     Another ambiguous case: 2'h3: Do I look at it as 2'b11 or as 2'b0011?
     
     Shalom
     
     
    > If the size of the unsigned number is larger than the size specifed for the constant, the unsigned number shall be truncated from the left and a warning message shall be issued.
     
     --
     Shalom Bresticker Shalom.Bresticker @freescale.com
     Design & Verification Methodology Tel: +972 9 9522268
     Freescale Semiconductor Israel, Ltd. Fax: +972 9 9522890
     POB 2208, Herzlia 46120, ISRAEL Cell: +972 50 5441478
     
     [ ]Freescale Internal Use Only [ ]Freescale Confidential Proprietary
     
     
     



    This archive was generated by hypermail 2.1.4 : Sun Nov 14 2004 - 00:00:29 PST and
    sponsored by Boyd Technology, Inc.