darbaria / axiomise-warpv-formal-6-stage

1 stars 0 forks source link

Remainder(remu) when division by 0 case not implemented correctly #26

Open shivanishah269 opened 3 years ago

shivanishah269 commented 3 years ago

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 7 in response to a prior remu instruction detected in cycle 37. x[5] is divided by x[7] and x[7] is 0 and rd is 7. We expect x[7] to be same as x[5] but it isn't.

remu_by_0