mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-30 09:28:12 +02:00
- use iverilog's -gstrict-expr-width throughout test suite - add warnings for excess bits or padding zeroes in number literals - add new --oversized-numbers parameter to retain support for unsized numbers wider than 32 bits - localized use of oversized numbers to new truncate test suite which verifies the behavior of both modes, and compares against the known behavior of iverilog
6 lines
126 B
Verilog
6 lines
126 B
Verilog
module top;
|
|
localparam X = NUM;
|
|
localparam [63:0] Y = X;
|
|
initial $display("%0d %b %b", $bits(X), X, Y);
|
|
endmodule
|