10
localparam sizedec = size - 2;
14
// NCV/VCS seem to handle negative indices in some smarter way.
15
// The spec is unclear about what to do here, but we think this
16
// should be a huge wire.
17
wire [sizedec:0] oops = 0; // the spec is unclear but we think this is a huge wire
23
$display("Sizedec is %b", sizedec); // NCV: 11111111111111111111111111111111
24
$display("Oops is %b", oops); // NCV: XX
25
$display("Sizeof oops is %d", $bits(oops)); // NCV: 2