mirror of
https://github.com/verilator/verilator.git
synced 2025-01-08 15:47:36 +00:00
20 lines
362 B
Coq
20 lines
362 B
Coq
|
// DESCRIPTION: Verilator: Verilog Test module
|
||
|
//
|
||
|
// This file ONLY is placed into the Public Domain, for any use,
|
||
|
// without warranty, 2003 by Wilson Snyder.
|
||
|
|
||
|
module m #(parameter int Foo);
|
||
|
endmodule
|
||
|
|
||
|
module t (/*AUTOARG*/);
|
||
|
|
||
|
m #(10) foo();
|
||
|
|
||
|
initial begin
|
||
|
if (foo.Foo != 10) $stop;
|
||
|
$write("*-* All Finished *-*\n");
|
||
|
$finish;
|
||
|
end
|
||
|
|
||
|
endmodule
|