mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-08 04:43:20 +02:00
support for methods (no conversion) and interface TFs
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
interface Foo;
|
||||
function bar;
|
||||
input integer x;
|
||||
return x * x;
|
||||
endfunction
|
||||
endinterface
|
||||
|
||||
module top;
|
||||
Foo foo();
|
||||
initial $display(foo.bar(3));
|
||||
endmodule
|
||||
Reference in New Issue
Block a user