IMPORTANT NOTICE: Please be advised that the Verification Academy Forums will be offline for scheduled maintenance on Sunday, April 6th at 2:00 US/Pacific.
module fork_join;
initial begin
$display("*********************************");
fork
begin
#5;
$display($time,"\tProcess-1 Finished");
end
begin
#20;
$display($time,"\tProcess-2 Finished");
end
begin
#10;
$display($time,"\tProcess-3 Finished");
end
join_any
#5;
$display($time,"\tOutside1 Fork-Join");
#10;
$display($time,"\tOutside2 Fork-Join");
$display("**********************************");
end
endmodule