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

[circt-synth] Partially lower Comb operations and run canonicalizations #8218

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

uenoku
Copy link
Member

@uenoku uenoku commented Feb 10, 2025

Previously CombToAIG lowers every comb operations into AIG operations
in a single pass. The issue is the size of IR lowered from Comb is
very large, and it heavily relies on AIG canonicalizations clean up.
This is some times very inefficient, and it's much better to clean up
at Comb level.

So this commits adds another run of CombToAIG that paratially lowers
Comb operations, specifically arithmetic operations (add, sub, mul, shift etc).

@uenoku uenoku changed the title [circt-synth] Partial lower Comb to AIG and run caonincalizations [circt-synth] Partially lower Comb operations and run canonicalizations Feb 10, 2025
Previously CombToAIG lowers every comb operations into AIG operations
in a single pass. The issue is the size of IR lowered from Comb is
very large, and it heavily relies on AIG canonicalizations clean up.
This is some times very inefficient, and it's much better to clean up
at Comb level.

So this commits adds another run of CombToAIG that paratially lowers
Comb operations, specifically arithmetic operations (add, sub, mul, shift etc).
@uenoku uenoku force-pushed the dev/hidetou/partial branch from 06d8763 to 830948f Compare February 10, 2025 21:49
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