-
Notifications
You must be signed in to change notification settings - Fork 614
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
Implement QMC decoder #1911
Implement QMC decoder #1911
Conversation
793bf55
to
0e5537e
Compare
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.
Need to fix returned truth table map first
src/main/scala/chisel3/util/experimental/decode/QMCMinimizer.scala
Outdated
Show resolved
Hide resolved
28b8f1e
to
084c266
Compare
I'm essentially OK with this on technical grounds, provided we still agree we are going to replace it with invocation of Espresso. I'd like @jackkoenig to perform the actual detailed code review, though. |
c27d4c1
to
d2136e1
Compare
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.
Overall this looks pretty good (although I didn't review the QMC implementation in detail, I'll have to trust that it's tested well, maybe a few more tests would be helpful).
Just a few comments/questions.
src/main/scala/chisel3/util/experimental/decode/TruthTable.scala
Outdated
Show resolved
Hide resolved
src/main/scala/chisel3/util/experimental/decode/TruthTable.scala
Outdated
Show resolved
Hide resolved
src/main/scala/chisel3/util/experimental/decode/DecodeTableAnnotation.scala
Show resolved
Hide resolved
Really appreciate Jack’s review! Thanks for your time!
We(PLCT) did a long review to rocket QMC, I think I and @yqszxx have fully Understood the internal of those codes, so even there exist some bugs, we are able to fix them. As for the test, I think we can steal some test cases from espresso, however this may increase our test yield time to test some bigger cases. Is this necessary? I’m in Beijing these days, so I might now be able to fix those requested changes now, I’ll work on this after backing to Shanghai. Sorry for that. |
717bdfa
to
b86fae6
Compare
src/test/scala/chiselTests/util/experimental/minimizer/MinimizerSpec.scala
Show resolved
Hide resolved
1. `TruthTable` is final now. 2. add return type for `TruthTable` Co-authored-by: Jack Koenig <[email protected]>
Thanks @jackkoenig ! Decoder finally landed! |
🎉Hooray~ |
This PR depends on #1904
Contributor Checklist
docs/src
?Type of Improvement
API Impact
Backend Code Generation Impact
Desired Merge Strategy
Release Notes
Reviewer Checklist (only modified by reviewer)
Please Merge
?