mirror of https://github.com/zachjs/sv2v.git
9 lines
140 B
Systemverilog
9 lines
140 B
Systemverilog
|
|
interface Interface(input a, output b);
|
||
|
|
assign b = a;
|
||
|
|
endinterface
|
||
|
|
|
||
|
|
module top;
|
||
|
|
logic a, b;
|
||
|
|
Interface intf(a, b + 1);
|
||
|
|
endmodule
|