verilator/test_regress/t/t_fork_initial.v

20 lines
383 B
Systemverilog
Raw Normal View History

// 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
2026-03-03 13:21:24 +01:00
module t;
2026-03-08 23:26:40 +01:00
initial
fork
reg i;
i = 1'b1;
begin
#1;
if (i != 1'b1) $stop;
$write("*-* All Finished *-*\n");
$finish;
end
join
endmodule