Skip to content
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

Division by 0 case not implemented correctly in the design #24

Open
shivanishah269 opened this issue Jun 6, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@shivanishah269
Copy link
Collaborator

Page 44 of the RISC-V ISA mandates "The quotient of division by zero has all bits set, and the remainder of division by zero equals the dividend."

Our checker fails showing that the updates did not happen in cycle 38 to the register 28 in response to a prior divu instruction detected in cycle 37. The attached snapshot shows the entire behaviour from before reset.

divu_by_0

divu_by_0_zoomed

@shivanishah269 shivanishah269 added the bug Something isn't working label Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants