2019-01-06 23:38:27 +01:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
|
//
|
2026-01-27 02:24:34 +01:00
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain.
|
|
|
|
|
// SPDX-FileCopyrightText: 2019 Wilson Snyder
|
2020-03-21 16:24:24 +01:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
2019-01-06 23:38:27 +01:00
|
|
|
|
2019-11-06 03:15:44 +01:00
|
|
|
task tsk(output tfo);
|
2026-03-08 23:26:40 +01:00
|
|
|
tfo = 1'b0;
|
2019-01-06 23:38:27 +01:00
|
|
|
endtask
|
|
|
|
|
|
|
|
|
|
module t (/*AUTOARG*/
|
2026-03-08 23:26:40 +01:00
|
|
|
// Outputs
|
|
|
|
|
to
|
|
|
|
|
);
|
|
|
|
|
output reg to[2:0];
|
2019-01-06 23:38:27 +01:00
|
|
|
|
2026-03-08 23:26:40 +01:00
|
|
|
integer i = 0;
|
2019-01-06 23:38:27 +01:00
|
|
|
|
2026-03-08 23:26:40 +01:00
|
|
|
initial begin
|
|
|
|
|
tsk(to[i]);
|
|
|
|
|
$write("*-* All Finished *-*\n");
|
|
|
|
|
$finish;
|
|
|
|
|
end
|
2019-01-06 23:38:27 +01:00
|
|
|
endmodule
|