kirtap Posted March 14, 2014 Report Posted March 14, 2014 Hi! If I have a sc_event_or_list, and then do a wait on it, is there some way to find out which of the memebers of the sc_event_or_list it was that released the wait? for instance sc_core::sc_event_or_list eventList = one_event | other_event; wait(eventList); How do I find the event that released the wait? Thanks, kirtap Quote
David Black Posted March 14, 2014 Report Posted March 14, 2014 Nope. It is implemented this way in SystemC for simulation performance (speed) reasons. If that is important to your model, then you should associate a flag with each event. Probably wrap it up in your own custom channel class for safety. Quote
Recommended Posts
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.