Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add knob to turn off auto precedence for Events #537

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

furuame
Copy link
Member

@furuame furuame commented Oct 25, 2024

There is already a method for InPorts and OutPorts to turn off auto precedence in Sparta Unit. However, it would also be good to have a similar method but only effective on Events.

@furuame furuame added the component: sparta Issue is related to sparta framework label Oct 25, 2024
@furuame furuame requested a review from klingaard October 25, 2024 02:35
@furuame furuame self-assigned this Oct 25, 2024
Copy link
Member

@klingaard klingaard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea.

@@ -125,6 +125,12 @@ namespace sparta {

for(auto & event_node : unit_event_set_.getEvents(sparta::SchedulingPhase::Tick))
{
// This EventNode does not participate auto precedence
// between InPorts and OutPorts.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment needs updating

@furuame furuame merged commit d03a7fc into master Oct 30, 2024
8 checks passed
@furuame furuame deleted the zhenw/add-event-auto-precedence-knob branch October 30, 2024 03:07
github-actions bot pushed a commit that referenced this pull request Oct 30, 2024
* Add knob to turn off auto precedence for Events

* Comment tweaks d03a7fc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: sparta Issue is related to sparta framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants