2025-11-26 13:52:53 +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: 2025 Antmicro Ltd
|
2025-11-26 13:52:53 +01:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
|
|
|
|
module t;
|
2026-02-08 23:54:04 +01:00
|
|
|
process job;
|
2025-11-26 13:52:53 +01:00
|
|
|
|
2026-02-08 23:54:04 +01:00
|
|
|
initial begin
|
|
|
|
|
automatic process p1 = process::self();
|
|
|
|
|
fork
|
|
|
|
|
begin
|
|
|
|
|
wait (p1.status() != process::RUNNING);
|
|
|
|
|
$write("job started\n");
|
|
|
|
|
job = process::self();
|
|
|
|
|
end
|
|
|
|
|
join_none
|
|
|
|
|
wait (job);
|
|
|
|
|
$write("all jobs started\n");
|
|
|
|
|
job.await();
|
|
|
|
|
$write("all jobs finished\n");
|
|
|
|
|
$write("*-* All Finished *-*\n");
|
|
|
|
|
$finish;
|
|
|
|
|
end
|
2025-11-26 13:52:53 +01:00
|
|
|
endmodule
|