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