Jump to content

Raising and droping objections in a future phase


Recommended Posts

Hi,

What's the most appropriate way to raise and drop objections of a future phase from the current phase?

For example, I have a sequence that runs on run_phase however I want it to be able to stop simulation from passing the shutdown_phase.

Is that possible and if yes, how it should be done?

Thanks in advance,

Link to comment
Share on other sites

Hi jalilm,

I'd be very interested to hear the scenario that is addressed by objecting to the shutdown phase in this sequence. In general, if you are OK with finding the phase in the domain that the sequencer belongs to, you could use get_sequencer().get_domain().find_by_name("shutdown") to return the phase handle. Be aware raising and dropping objections is pretty expensive if you do it very frequently.

Link to comment
Share on other sites

  • 2 weeks later...

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.

 Share

×
×
  • Create New...