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

[c] Removal of STP violation inheritance mechanism #1251

Merged
merged 2 commits into from
Jun 24, 2022
Merged

Conversation

Soroosh129
Copy link
Contributor

@Soroosh129 Soroosh129 commented Jun 24, 2022

This removes a code that was there to ensure STP violations are passed down from triggers of reactions to their effects if there was no STP handler on a reaction (so that they can be handled downstream).

However, #1168 convinced me that a lack of an STP handler is incorrect in the first place. Hence, the code for STP violation inheritance seems to be unnecessary.

This also fixes #1250 because the logic in the STP violation inheritance code did not account for the combination of banks and multiports.

Copy link
Member

@lhstrh lhstrh left a comment

Choose a reason for hiding this comment

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

LGTM!

@Soroosh129 Soroosh129 merged commit 7f2ccd2 into master Jun 24, 2022
@Soroosh129 Soroosh129 deleted the 1250-fix branch June 24, 2022 19:44
@lhstrh lhstrh added the bug Something isn't working label Jul 7, 2022
@lhstrh lhstrh changed the title Remove STP violation inheritance in reaction effects [c] Removal of STP violation inheritance mechanism Jul 20, 2022
@lhstrh lhstrh added the c Related to C target label Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working c Related to C target
Projects
None yet
2 participants