Skip to content

Conversation

seldridge
Copy link
Member

Now that LowerLayers is moved after LowerXMR, there is no need for
LowerXMR to be stripping enabled layers from modules.

This fixes a bug where LowerXMR would only strip layers from modules, but
not instances. Add a test to lock in the fix.

Signed-off-by: Schuyler Eldridge schuyler.eldridge@sifive.com

Now that LowerLayers is moved _after_ LowerXMR, there is no need for
LowerXMR to be stripping enabled layers from modules.

This fixes a bug where LowerXMR would only strip layers from modules, but
not instances.  Add a test to lock in the fix.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
@seldridge seldridge requested a review from darthscsi as a code owner May 1, 2025 18:08
@seldridge seldridge requested a review from rwy7 May 1, 2025 18:09
@seldridge seldridge merged commit adc35a1 into main May 1, 2025
5 checks passed
@seldridge seldridge deleted the dev/seldridge/firrtl-fix-lowerlayers-enable-layer-stripping branch May 1, 2025 18:27
TaoBi22 pushed a commit to TaoBi22/circt that referenced this pull request Jul 17, 2025
Now that LowerLayers is moved _after_ LowerXMR, there is no need for
LowerXMR to be stripping enabled layers from modules.

This fixes a bug where LowerXMR would only strip layers from modules, but
not instances.  Add a test to lock in the fix.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
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.

2 participants