-
Notifications
You must be signed in to change notification settings - Fork 630
Add resetType to inline test TestParameters #4789
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
Add resetType to inline test TestParameters #4789
Conversation
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 haven't really thought deeply about this, but the implementation makes sense to me.
I think maybe missing an import for the new tests? |
generateFirrtlAndFileCheck(new ModuleWithTests(resetType = Module.ResetType.Synchronous))( | ||
fileCheckString("UInt<1>") | ||
) |
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 deleted these APIs and unified around one FileCheck API. The PR can use:
generateFirrtlAndFileCheck(new ModuleWithTests(resetType = Module.ResetType.Synchronous))( | |
fileCheckString("UInt<1>") | |
) | |
ChiselStage.emitCHIRRTL(new ModuleWithTests(resetType = Module.ResetType.Synchronous)).fileCheck()( | |
fileCheckString("UInt<1>") | |
) |
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.
LGTM
e280d7b
to
5d2d731
Compare
Marking as |
Contributor Checklist
docs/src
?Type of Improvement
Desired Merge Strategy
Release Notes
resetType
tochisel3.experimental.inlinetest.TestParameters
. It will now be easier to properly handle DUTs with uninferred resets.Reviewer Checklist (only modified by reviewer)
3.6.x
,5.x
, or6.x
depending on impact, API modification or big change:7.0
)?Enable auto-merge (squash)
and clean up the commit message.Create a merge commit
.