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] ReplSeqMems: use the original mem name for the instance name #7776

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

youngar
Copy link
Member

@youngar youngar commented Nov 6, 2024

This PR is currently more of an experiment, not sure if it is the direction we will go.

@youngar youngar added the FIRRTL Involving the `firrtl` dialect label Nov 6, 2024
When LowerMemories is replacing sequential memories with instances of
extmodules, it uses the name of the of the generated extmodule as the
name of the instance. This changes the pass to instead use the to use
the original memory name + "_ext" for the instance of the extmodule.
This mostly effects the instance name when a single extmodule was
generated for two different memories with different names.
@youngar
Copy link
Member Author

youngar commented Nov 6, 2024

It is looking like we will be moving in this direction. Updated the PR with some test updates to pass CI.

@youngar youngar marked this pull request as ready for review November 6, 2024 03:04
@youngar youngar merged commit 5af3060 into llvm:main Nov 6, 2024
4 checks passed
@youngar youngar deleted the firrtl-mem-inst-name branch November 6, 2024 17:43
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.

3 participants