Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@prithayan
Copy link
Contributor

This PR adds the option to run CSE only on firrtl.module, and ignore everything else.
There are some tools, that are not able to handle CSE of firrtl.object in firrtl.class.
Specifically, the reuse of firrtl.object is not modeled properly.
This is a temporary workaround to disable the CSE of operations inside firrtl.class, which can be removed once the actual issue in the tool is fixed.

Copy link
Member

@seldridge seldridge left a comment

Choose a reason for hiding this comment

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

SGTM

If this helps temporarily make it easier for downstream to get onboard, that is fine.

Copy link
Member

@seldridge seldridge left a comment

Choose a reason for hiding this comment

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

One comment: can this also keep include/circt-c/Firtoo/Firtool.h up-to-date?

@prithayan prithayan force-pushed the dev/pbarua/cse_in_classes branch from d6ee776 to b442451 Compare December 2, 2024 22:02
@prithayan prithayan merged commit fd08d90 into main Dec 2, 2024
4 checks passed
@prithayan prithayan deleted the dev/pbarua/cse_in_classes branch December 2, 2024 22:31
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