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

[FIRRTL][GrandCentral] Stop using ModuleNamespace for unique names #5619

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

youngar
Copy link
Member

@youngar youngar commented Jul 18, 2023

ModuleNamespace is used for tracking used and generating new inner_syms. This code is mistakenly using it to generate unique names for wires and ports. It does not matter if the port has a unique name, as it will be legalized later in the pipeline.

@youngar youngar added the FIRRTL Involving the `firrtl` dialect label Jul 18, 2023
ModuleNamespace is used for tracking used and generating new
`inner_sym`s.  This code is mistakenly using it to generate unique
`name`s for wires and ports.  It does not matter if the port has a
unique name, as it will be legalized later in the pipeline.
Copy link
Contributor

@dtzSiFive dtzSiFive left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@youngar youngar merged commit f99fa6a into llvm:main Jul 18, 2023
@youngar youngar deleted the firrtl-properties branch July 18, 2023 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FIRRTL Involving the `firrtl` dialect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants