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

Print a note about finding attribute (* top *) in hierarchy #4742

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

nakengelhardt
Copy link
Member

What are the reasons/motivation for this change?

As suggested in #3717 (comment), make it more obvious to the user if the top module was selected due to an attribute overriding the heuristic.

Explain how this is achieved.

Print a log message. If multiple modules are marked (* top *), the message gets repeated multiple times, matching how the code works (the last attribute encountered while iterating over design->modules() overrides any previously seen attributes).

@whitequark
Copy link
Member

Thanks, this is quite useful!

@povik povik merged commit 956313e into main Nov 27, 2024
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants