From: Brad Pierce (Brad.Pierce@synopsys.com)
Date: Fri Aug 29 2003 - 17:28:27 PDT
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.