Steven, The case I was thinking about is when a task with a $exit call is defined inside a package, and then called from a module or program block. The $exit would only have an effect when called from a program block. I have added a new mantis item and uploaded a proposal. http://www.eda.org/svdb/bug_view_page.php?bug_id=0001371 Dave > -----Original Message----- > From: Steven Sharp [mailto:sharp@cadence.com] > Sent: Thursday, March 09, 2006 7:31 PM > To: sv-ec@eda.org; Rich, Dave > Subject: Re: [sv-ec] opinions on $exit > > > >My proposed answer is that $exit is attached to the thread that executes > >it, so the program block that contains its root thread gets exited. > > This is harder to implement, but I agree that it is what you would expect. > > >If the thread is not from a program block, it should be a NOP, or a > warning > >message could be issued. > > Is this possible? Can a module call a program task? > > Steven Sharp > sharp@cadence.comReceived on Thu Mar 9 22:57:00 2006
This archive was generated by hypermail 2.1.8 : Thu Mar 09 2006 - 22:58:16 PST