forked from github/verilator
28 lines
585 B
Verilog
28 lines
585 B
Verilog
// DESCRIPTION: Verilator: Verilog Test module
|
|
//
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
// without warranty, 2013 by Charlie Brej.
|
|
|
|
module submodule ();
|
|
// This bug only appears when not inlining
|
|
// verilator no_inline_module
|
|
initial begin
|
|
$write("d");
|
|
end
|
|
final begin
|
|
$write("d");
|
|
end
|
|
endmodule
|
|
|
|
module t ();
|
|
generate
|
|
for (genvar i = 0; i < 100; i = i + 1) begin : module_set
|
|
submodule u_submodule ();
|
|
end
|
|
endgenerate
|
|
initial begin
|
|
$write("*-* All Finished *-*\n");
|
|
$finish;
|
|
end
|
|
endmodule
|