In reply to Prashant Soni:
Hi Prashant,
Your case is exactly this thread :
Please note the last comment in the thread, which is very much true here as well. Your code works as expected in 3/4 simulators in EDA playground.
Your code works as I would expect on 3 out of 4 simulators on www.edaplayground.com. They all interpret the statement “The disable statement shall terminate the activity of a task or a named block” in section 9.6.2 Disable statement to include the processes spawned by a fork statement.
This Mentor/Siemens EDA sponsored public forum is not for discussing tool specific usage or issues. Please contact your tool vendor directly for support.