-
Notifications
You must be signed in to change notification settings - Fork 615
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
Fix scaladoc for UInt.unary_! #987
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.
lgtm
My bad... Width inference really does work. Warning: there may be more errors in this Scaladoc. These were all updated at once and the size of |
Ack. I'll do a quick sanity check on the others in that file. |
Thanks, @aswaterman. I appreciate that. |
The width behavior of UInt << UInt is slightly wrong, and the description of UInt.asSInt is correct but a little vague. Fixing. |
Looks like unary_- has the wrong width description, too - these are truncating but described as expanding. Fixing. |
It performs the operation (x === 0.U), just like in C. The scaladoc incorrectly described it as performing the operation !x(0). (Obviously, these are equivalent for Bool, but not for UInt in general).
1436430
to
62879d1
Compare
@seldridge please re-review |
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
Thanks for the proofread. The fixes and clarifications are correct.
Nice rebase (merge commit inbound).
@ucbjrl any idea why Jenknis is hung up? |
Yes and no. We occasionally experience deadlocks with the OpenJDK JVM on the millennium machines. It's not clear if this is a JVM or a Linux problem. A FUTEX_WAIT kernel bug has been reported (and fixed) several times. Recent reports indicate it may now be a JVM issue. I'll kill the hung Jenkins jobs. |
... and set some timeouts for the Jenkins jobs. |
Interesante. |
It performs the operation (x === 0.U), just like in C. The scaladoc incorrectly described it as performing the operation !x(0). (Obviously, these are equivalent for Bool, but not for UInt in general).
Related issue:
Type of change: bug report
Impact: no functional change
Development Phase: implementation
Release Notes