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

REMU Instruction not working correctly #30

Open
shivanishah269 opened this issue Jun 6, 2021 · 0 comments
Open

REMU Instruction not working correctly #30

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

Comments

@shivanishah269
Copy link
Collaborator

Page 44 of RISC-V ISA mandates "REMU: Divides x[rs1] by x[rs2] rounding towards 0, treating the values as un-signed numbers and writes the remainder to x[rd]"

Our checker fails showing that the updates did not happen in cycle 38 to the register 18 in response to a prior remu instruction detected in cycle 37. x[14] is divided by x[5] and rd is 18. We expect x[18] to be 1 as x[14] is 13 and x[5] is 2, but it isn't.

REMU_fail

@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