mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-30 09:28:12 +02:00
split out basic suite tests with refs to new core suite
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
interface Interface;
|
||||
logic x;
|
||||
endinterface
|
||||
|
||||
module ModuleC(Interface intf, input y);
|
||||
initial $display("ModuleC %b %b", intf.x, y);
|
||||
endmodule
|
||||
|
||||
module ModuleB(Interface intf, input y);
|
||||
initial $display("ModuleB %b %b", intf.x, y);
|
||||
ModuleC m[2:0] (intf, y);
|
||||
endmodule
|
||||
|
||||
module ModuleA(Interface intf, input y);
|
||||
initial $display("ModuleA %b %b", intf.x, y);
|
||||
ModuleB m[2:0] (intf, y);
|
||||
endmodule
|
||||
|
||||
module top;
|
||||
logic y;
|
||||
Interface intf();
|
||||
ModuleA m[2:0] (intf, y);
|
||||
endmodule
|
||||
Reference in New Issue
Block a user