-
Notifications
You must be signed in to change notification settings - Fork 177
Conversation
Have you considered creating a node for the index expression? |
I got your point. That would be much better and reasonable to give most of FIRRTL generated expression with a readable name. It will much benefit generated verilog. |
6dbc399
to
21952c7
Compare
21952c7
to
176c3b6
Compare
I wasn't too concerned about readable names, for now, adding a new |
I see, but what benefits can be provided, if this node have no readable name? |
indexGuard, | ||
exprGuard | ||
), | ||
EQV( |
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.
I think this expression could be cached, but IMO this is such a rare occurrence I don't think its too bad.
* add test for RemoveAccessesSpec. * fix nested SubAccess bug. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 6c5ce83)
* add test for RemoveAccessesSpec. * fix nested SubAccess bug. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 6c5ce83) Co-authored-by: Jiuyang Liu <[email protected]>
Contributor Checklist
Type of Improvement
API Impact
None
Backend Code Generation Impact
Bug fix for nested
SubAccess
, introduce one moreAnd
infirrtl.passes.RemoveAccesses
, but should be eliminated in next optimization passes.In nested
SubAccess
, fix the bug in #1959Desired Merge Strategy
Release Notes
Bug fix for nested SubAccesses
Reviewer Checklist (only modified by reviewer)
Please Merge
?