verilator/test_regress/t/t_fork_initial.v

19 lines
391 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain.
// SPDX-FileCopyrightText: 2023 Wilson Snyder
// SPDX-License-Identifier: CC0-1.0
module t();
initial fork
reg i;
i = 1'b1;
begin
#1;
if (i != 1'b1) $stop;
$write("*-* All Finished *-*\n");
$finish;
end
join
endmodule