mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-30 17:31:40 +02:00
- references to other instances are no longer flagged - special handling for genvars to avoid flagging and modport scoping - interface inlining visits expressions in declarations - Scoper has interface for removing entries
12 lines
259 B
Verilog
12 lines
259 B
Verilog
module top;
|
|
reg [7:0] z = 0;
|
|
`define DUMP(expr, val) $display(`"expr = %b`", val);
|
|
initial begin
|
|
`DUMP(z, z)
|
|
`DUMP(i.x, 8'd1)
|
|
`DUMP(m.i.x, 8'd2)
|
|
`DUMP(m.blk[0].x, 8'd3)
|
|
`DUMP(m.blk[1].x, 8'd4)
|
|
end
|
|
endmodule
|