8000 [SV] Add lowering option to emit separate always blocks by nandor · Pull Request #5211 · llvm/circt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[SV] Add lowering option to emit separate always blocks #5211

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

Merged
merged 1 commit into from
May 17, 2023

Conversation

nandor
Copy link
Contributor
@nandor nandor commented May 17, 2023

HWCleanup is changed to prevent coalescing blocks. LowerFIRRTLSeqToSV also receives the argument to avoid emitting assignments in the same block in the first place.

Copy link
Member
@uenoku uenoku left a comment

Choose a reason for hiding this comment

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

The change for LowerSeqToSV looks good to me. I feel it's not even necessary to run HWCleanUp in the presence of the option as HWCleanUp currently only fuses statements. Besides, probably we don't want to make emitSeparateAlwaysBlocks part of LoweringOptions, as LoweringOptions is only for verilog generation, not for IR lowering.

uenoku

This comment was marked as duplicate.

@nandor nandor force-pushed the dev/nandor/separate-always branch from 5ad1248 to 5403539 Compare May 17, 2023 11:06
@nandor
Copy link
Contributor Author
nandor commented May 17, 2023

I've removed the option from LoweringOptions, in hindsight it did not make sense to put it there.

@nandor nandor force-pushed the dev/nandor/separate-always branch from 5403539 to 73e18f1 Compare May 17, 2023 17:17
Copy link
Contributor
@fabianschuiki fabianschuiki left a comment

Choose a reason for hiding this comment

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

LGTM!

@nandor nandor merged commit b60dee9 into main May 17, 2023
@nandor nandor deleted the dev/nandor/separate-always branch May 17, 2023 18:48
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.

4 participants
0