mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-12-02 19:49:29 +00:00
21 lines
416 B
Verilog
21 lines
416 B
Verilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
|
// any use, without warranty, 2003 by Wilson Snyder.
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
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
|