mirror of
https://github.com/verilator/verilator.git
synced 2025-01-07 15:17:36 +00:00
28 lines
591 B
Verilog
28 lines
591 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
|