-
Notifications
You must be signed in to change notification settings - Fork 613
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
Tests for RWTapping aggregates #3443
Conversation
Draft PR b/c some of the firrtl generated is hitting a bug in firtool (which @dtzSiFive is working on). Not sure if we want to hold off on merging these tests until the output they emit are fully supported by firtool. |
I believe these should all work as of latest firtool ( as of llvm/circt@8c83a96 ), FWIW! |
I think the tests are fine since they are unit tests, although integration tests would also be handy. |
"define bore = rwprobe(b.x)", | ||
"define bore_1 = rwprobe(b)", |
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 don't love the reliance on a default name coming from BoringUtils, is the use of BoringUtils really necessary or can we test the same behavior by just having the probe IOs on Child?
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.
Or put another way, are we trying to test the behavior of BoringUtils here or just basic tapping of aggregate children? It appears to me it's more about the latter and the use of BoringUtils is just making the test a little more concise?
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.
are we trying to test the behavior of BoringUtils here or just basic tapping of aggregate children?
Kind of both... the new tap API is implemented in BoringUtils and relies on bores, which is why bores are being created.
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 I missed that this test is in the file BoringUtilsTapSpec
, if that's what we're testing, that's what we should be testing 😅
Contributor Checklist
docs/src
?Type of Improvement
Desired Merge Strategy
Release Notes
Reviewer Checklist (only modified by reviewer)
3.5.x
,3.6.x
, or5.x
depending on impact, API modification or big change:6.0
)?Enable auto-merge (squash)
, clean up the commit message, and label withPlease Merge
.Create a merge commit
.