errata/428: 2.5.1, value of 16'shc, request for clarification

From: Brad Pierce (Brad.Pierce@synopsys.com)
Date: Fri Aug 22 2003 - 07:41:49 PDT

  • Next message: Steven Sharp: "Re: errata/428: 2.5.1, value of 16'shc, request for clarification"

    Precedence: bulk

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

    As I interpret section 2.5.1, the following V2K should display

        |0000000000001100|0000000000001100|0000000000001100|

    module m( output reg [15:0] o1, o2, output reg signed [15:0] o3 ) ;
    always begin
       o1 = 16'shc ;
       o2 = 16'sh000c ;
       o3 = 16'shc ;
       $displayb("|%b|%b|%b|", o1, o2, o3) ;
    end
    endmodule

    Is that the correct interpretation?

    -- Brad



    This archive was generated by hypermail 2.1.4 : Fri Aug 22 2003 - 07:51:29 PDT and
    sponsored by Boyd Technology, Inc.