mirror of
https://github.com/verilator/verilator.git
synced 2025-01-07 15:17:36 +00:00
33 lines
499 B
Verilog
33 lines
499 B
Verilog
// 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
|