verilator/test_regress/t/t_func_unit.v

25 lines
433 B
Systemverilog
Raw Normal View History

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