Skip to content

Conversation

@seldridge
Copy link
Member

Add the LowerDomains to the low FIRRTL to HW pipeline inside firtool.
This is the latest position in which it can run as it has a hard
dependency on needing to run before LowerClasses.

This is not conditionalized with a chicken switch option as this pass will
eventually be required for correctness and it is a no-op if no domain
information exists in the circuit.

Add the LowerDomains to the low FIRRTL to HW pipeline inside firtool.
This is the latest position in which it can run as it has a hard
dependency on needing to run before LowerClasses.

This is not conditionalized with a chicken switch option as this pass will
eventually be required for correctness and it is a no-op if no domain
information exists in the circuit.

Signed-off-by: Schuyler Eldridge <[email protected]>
@seldridge seldridge requested review from dtzSiFive and rwy7 October 16, 2025 15:14
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 for the nice PR description and test!

@seldridge seldridge merged commit 629520b into main Oct 16, 2025
7 checks passed
@seldridge seldridge deleted the dev/seldridge/enable-lower-domains branch October 16, 2025 16:59
@seldridge
Copy link
Member Author

seldridge commented Oct 16, 2025

One note: don't try to do anything interesting involving multiple modules and domain_define as that doesn't get through ExpandWhens. I'm working on fixing this...

Edit: trivial fix for ExpandWhens: afc8084. There are later errors in the pipeline I'm dealing with now.

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