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] Ensure LowerClasses respects alt base path for local paths. #7690

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

mikeurbach
Copy link
Contributor

We recently started supporting local-only paths in LowerClasses, but this logic erroneously disabled the alternative base path feature for paths whose targets were relocated outside the owning module. In the case that we need an alternative base path for a local target, convert it to a non-local target, so the alternative base path can be correctly prefixed.

We recently started supporting local-only paths in LowerClasses, but
this logic erroneously disabled the alternative base path feature for
paths whose targets were relocated outside the owning module. In the
case that we need an alternative base path for a local target, convert
it to a non-local target, so the alternative base path can be
correctly prefixed.
@mikeurbach
Copy link
Contributor Author

Needs a unit test or two, but I have been testing this downstream and I think it's correct.

@mikeurbach mikeurbach merged commit bed6836 into main Oct 10, 2024
4 checks passed
@mikeurbach mikeurbach deleted the mikeurbach/lower-classes-alt-base-path-local branch October 10, 2024 05:47
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.

1 participant