Jump to content

wait(e1||e2) issue ??


mohitnegi

Recommended Posts

hello ,

 

I have a problem here where i am using wait(e1||e2) now when it comes out of this wait statement i have to perform some functionality

when e1 is triggerred and some functionality when  e2 triggered ...

 

thnaks ...

Hello Sir,

It would be very difficult/tricky to achieve the wait(e1 | e2). The best

option would be to use sc_signal, and sensitize a process to multiple

events -- easy to implement and then the simulation kernel would

keep track of the triggering events. On the other hand, using 'botify()

- wait()' would force you to accurately and manually track each event,

which as you have found out, is a big bother. Hope that helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...