errata/454: 2.3.1: 2'sb0000000_10 == 2'sb10 ?

From: Brad Pierce (Brad.Pierce@synopsys.com)
Date: Fri Aug 29 2003 - 17:28:27 PDT

  • Next message: ennis@jedatechnologies.com: "enhancement/455: Jeda Verification Enhancements"

    Precedence: bulk

    >Number: 454
    >Category: errata
    >Originator: "Brad Pierce" <Brad.Pierce@synopsys.com>
    >Environment:
    >Description:

    In a numerical constant, if the unsigned number is larger than
    the size specified for the constant, is the unsized number
    truncated, losing the bits on the left?

    For example, should o be assigned 1111111110 below? --

      module m ( output reg signed [9:0] o ) ;
      always begin
        o = 2'sb00000000_10 ;
        $display("|%b|", o) ;
      end
      endmodule

    -- Brad



    This archive was generated by hypermail 2.1.4 : Fri Aug 29 2003 - 17:41:12 PDT and
    sponsored by Boyd Technology, Inc.