mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-03 08:33:46 +02:00
support nested interfaces
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
module top;
|
||||
logic x = 1;
|
||||
foo f(x);
|
||||
endmodule
|
||||
|
||||
interface foo(input logic x);
|
||||
bar a(x);
|
||||
bar b(~x);
|
||||
endinterface
|
||||
|
||||
interface bar(input logic x);
|
||||
initial begin
|
||||
$display("bar got %b", x);
|
||||
end
|
||||
endinterface
|
||||
Reference in New Issue
Block a user