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 post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...