Skip to content

Selection fixes #4996

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

Closed
wants to merge 3 commits into from
Closed

Selection fixes #4996

wants to merge 3 commits into from

Conversation

KrystalDelusion
Copy link
Member

What are the reasons/motivation for this change?
Constructor ordering warnings on every #include of rtlil.h, and broken EQY.

Explain how this is achieved.
Reorder the ctor order, and check the right enum in selected_modules().

If applicable, please suggest to reviewers how they can test the change.

KrystalDelusion referenced this pull request Apr 7, 2025
Used to select all modules including boxes, set when both `full` and `boxes` are true in the constructor, pulling down `full_selection`.
Add `Selection::selects_all()` method as short hand for `full_selection || complete_selection`.
Update selection operations to account for complete selections.
Add static methods to `Selection` for creating a new empty/full/complete selection to make it clearer to users when doing so.
Use said static methods to replace most instances of the `Selection` constructor.
Update `Selection::optimize` to use
@KrystalDelusion KrystalDelusion added the status-superseded Status: Work continues in a different PR or was made redundant label Apr 7, 2025
@KrystalDelusion KrystalDelusion deleted the krys/selection_fixes branch April 8, 2025 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status-superseded Status: Work continues in a different PR or was made redundant
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant