tag:blogger.com,1999:blog-2924155476004584973.post1673229134815865593..comments2024-03-18T02:03:04.578-07:00Comments on ASIC With Ankit: Why are always block is not allowed in program block in System Verilog?Ankit Gopanihttp://www.blogger.com/profile/15162516749057715307noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-2924155476004584973.post-35936496689967248272014-01-17T22:51:27.505-08:002014-01-17T22:51:27.505-08:00Hi Dhaval,
you can break out of a forever loop, So...Hi Dhaval,<br />you can break out of a forever loop, So you can terminate the process created by <br />an initial block. There is no way to terminate the process created by <br />an always block.<br />-AnkurAnonymoushttps://www.blogger.com/profile/15976105870859681525noreply@blogger.comtag:blogger.com,1999:blog-2924155476004584973.post-54817891815306684942010-03-07T21:03:15.691-08:002010-03-07T21:03:15.691-08:00Ankit,
I do not agree with your explanation.
If w...Ankit,<br /><br />I do not agree with your explanation.<br />If we hook up the thread in program block which runs indefinitely then it behaves like always block.<br /><br />May be the actual reason lies in question "what is the diff between module and program block?"<br /><br />DhavalDhavalhttps://www.blogger.com/profile/00600430677168338254noreply@blogger.comtag:blogger.com,1999:blog-2924155476004584973.post-5020013810761117172010-01-18T01:49:20.790-08:002010-01-18T01:49:20.790-08:00Thanks Dhaval for your inputs.
I am also convince...Thanks Dhaval for your inputs.<br /><br />I am also convinced, and agree with your response. <br /><br />-AnkitAnkit Gopanihttps://www.blogger.com/profile/15162516749057715307noreply@blogger.comtag:blogger.com,1999:blog-2924155476004584973.post-70750368366292710052010-01-17T23:28:50.497-08:002010-01-17T23:28:50.497-08:00Thanks Dhaval for your inputs... I was aware of th...Thanks Dhaval for your inputs... I was aware of the most of the facts that you have mentioned. I was just thinking of hypothetical situation, where we have more than one program block. But I am convinced from your reply that in VE, we would never have more than one program block. Thanks a lot for the same.Jay Panchalhttps://www.blogger.com/profile/04803089650870438570noreply@blogger.comtag:blogger.com,1999:blog-2924155476004584973.post-17003418429266464472010-01-17T22:27:41.958-08:002010-01-17T22:27:41.958-08:00Jay,
$exit is system task and called implicitly w...Jay,<br /><br />$exit is system task and called implicitly when all the "initial" block execution finishes.<br /><br />For this understanding you dont need to have 3 program blocks, one is enough. Basically program block is starting point of TB. so there can not be 3 program blocks in VE.Dhavalhttps://www.blogger.com/profile/00600430677168338254noreply@blogger.comtag:blogger.com,1999:blog-2924155476004584973.post-12438634631158362322010-01-16T08:20:02.261-08:002010-01-16T08:20:02.261-08:00If I have 3 program blocks in my verification envi...If I have 3 program blocks in my verification environment (this may be a hypothetical situation), does $exit need to be called explicitly from any of the program block?... Is $exit a system task?Jay Panchalhttps://www.blogger.com/profile/04803089650870438570noreply@blogger.com