Use GlobalOrderingPoint for SingleCycleUniqueEvent #499
Replies: 4 comments
-
Not sure I follow what you're asking. GlobalOrderingPoints (GOP) are not used for scheduling directly but used to ensure one event is always scheduled before or after another event. But perhaps you already know that and are asking a different question. GOP is documented here: To use it, you must supply a node in your simulation tree for it to find registered GOPs. That node can be any node in the tree. |
Beta Was this translation helpful? Give feedback.
-
To be more specific, you don't need to create a GOP in one place and use it in multiple places. Instead, you can "create it" in multiple places and use it immediately there. The framework is smart enough to avoid the duplication. Think of it this way: you're asking the framework to "either create new or find existing" GOP with the given name and use it |
Beta Was this translation helpful? Give feedback.
-
@klingaard Thank you for your anwser, now I know how to schedule two events. How about schedule three events? |
Beta Was this translation helpful? Give feedback.
-
Assuming that events 1, 2, and 3 are in different units, you would do this: Unit1
Unit2
Unit3
If I'm understanding your use case correctly... |
Beta Was this translation helpful? Give feedback.
-
Hi, I want to use GlobalOrderingPoint () to scheduler my SingleCycleUniqueEvent. I found it seems the two events should be in the same node. How can I scheduler two events in two different node?
Beta Was this translation helpful? Give feedback.
All reactions