-
Notifications
You must be signed in to change notification settings - Fork 404
[SeqToSV] Use XMR to set up async reset and preset of firreg under ifdef #8944
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
Conversation
f477454 to
3ff7ba5
Compare
|
Updated to also fix the same issue for preset registers. |
seldridge
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great. Thank you for quickly getting this fixed!
I am also glad that all the infra was almost there to do this. 😌
| sv::BPAssignOp::create(builder, reg.reg.getLoc(), target, | ||
| reg.asyncResetValue); | ||
| } | ||
| builder.setInsertionPointAfter(ifOp); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above. Consider InsertionGuard. Suggestion only, non-blocking.
d77c1ed to
55a8c2e
Compare
With inline layers, firregs may now appear under ifdef blocks. This PR updates the generation of the reset IR to reference a firreg by XMR if the register is buried under an ifdef.
55a8c2e to
999e48d
Compare
With inline layers, firregs may now appear under ifdef blocks. This PR updates the generation of the reset IR to reference a firreg by XMR if the register is buried under an ifdef.