mirror of https://github.com/zachjs/sv2v.git
13 lines
216 B
Systemverilog
13 lines
216 B
Systemverilog
|
|
interface I;
|
||
|
|
logic [3:0] x;
|
||
|
|
endinterface
|
||
|
|
module top;
|
||
|
|
I i();
|
||
|
|
if (1) begin : blk
|
||
|
|
typedef logic I;
|
||
|
|
var I i;
|
||
|
|
assign i = 0;
|
||
|
|
end
|
||
|
|
initial $display("%b %b", i.x, blk.i);
|
||
|
|
endmodule
|