mirror of
https://github.com/verilator/verilator.git
synced 2025-01-07 15:17:36 +00:00
cb5887b376
Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
20 lines
362 B
Verilog
20 lines
362 B
Verilog
// 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
|