mirror of https://github.com/zachjs/sv2v.git
11 lines
205 B
Systemverilog
11 lines
205 B
Systemverilog
|
|
`define TEST(value) \
|
||
|
|
logic [63:0] val_``value = 'value; \
|
||
|
|
initial $display(`"'value -> %b %b", val_``value, 'value);
|
||
|
|
|
||
|
|
module top;
|
||
|
|
`TEST(1);
|
||
|
|
`TEST(0);
|
||
|
|
`TEST(x);
|
||
|
|
`TEST(z);
|
||
|
|
endmodule
|