forked from github/verilator
33 lines
513 B
Systemverilog
33 lines
513 B
Systemverilog
// DESCRIPTION: Verilator: Missing interface test
|
|
//
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
// without warranty, 2015 by Todd Strader.
|
|
|
|
// Interface intentionally not defined
|
|
//interface foo_intf;
|
|
// logic a;
|
|
//endinterface
|
|
|
|
module foo_mod
|
|
(
|
|
foo_intf foo
|
|
);
|
|
endmodule
|
|
|
|
module t (/*AUTOARG*/);
|
|
|
|
foo_intf the_foo ();
|
|
|
|
foo_mod
|
|
foo_mod
|
|
(
|
|
.foo (the_foo)
|
|
);
|
|
|
|
initial begin
|
|
$write("*-* All Finished *-*\n");
|
|
$finish;
|
|
end
|
|
|
|
endmodule
|