mirror of
https://github.com/verilator/verilator.git
synced 2025-01-10 00:27:35 +00:00
34 lines
500 B
Coq
34 lines
500 B
Coq
|
// 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
|
||
|
|