mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-01 01:56:23 +02:00
- number literals are parsed rather than stored as strings - fix array query functions used on non-trivial number literals - more efficient expression simplification recursion - expanded constant folding scenarios
9 lines
195 B
Systemverilog
9 lines
195 B
Systemverilog
module top;
|
|
localparam X = 1 / 0;
|
|
localparam Y = 'dx;
|
|
localparam Z = 40'dx____;
|
|
initial $display("%b", X);
|
|
initial $display("%b", Y);
|
|
initial $display("%b", Z);
|
|
endmodule
|