In reply to dave_59:
Hi Dave,
As per the LRM - fork…join_none : The parent process continues to execute concurrently with all the processes spawned by the fork. The spawned processes do not start executing until the parent thread executes a blocking statement.
initial begin
for(i=0;i<10;i++) begin
fork
$display(“value in fork join none = %d”,i);
join_none
j = k; //blocking statement
end
end
In above case also my output is same as the result I posted previously. I am confused. Can you explain more on this.
Thanks & Regards,
Shriramvaraprasad B.