iverilog/ivtest/ivltests/param_vec.v

15 lines
223 B
Verilog

module test;
parameter [39:0] foo = 5;
initial begin
if ($bits(foo) != 40) begin
$display("FAILED -- $bits(foo) == %d", $bits(foo));
$finish;
end
$display("PASSED");
end
endmodule // test