You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In complement to #7 , I noticed that reading existing CSRs also causes the CPU to hang.
This happens only if the destination register is distinct from zero.
For example, in the snippet below, zero is never written to address zero.
This does not happen in all cases, for example this snippet is fine, probably because the CSR register write signal is (legitimately) overwritten with 0 just after the first register write occurred.
It is possible that the bug only has symptoms when #6 is implemented (I haven't double checked that, since #6 or any such alternative is necessary for RISC-V compliance).
Thanks!
The text was updated successfully, but these errors were encountered:
flaviens
changed the title
Bug report: Reading existent CSRs cause the CPU to hang
Bug report: Reading existent CSRs cause the CPU to hang in some microarchitectural conditions
May 15, 2023
Hi there!
In complement to #7 , I noticed that reading existing CSRs also causes the CPU to hang.
This happens only if the destination register is distinct from
zero
.For example, in the snippet below, zero is never written to address zero.
This does not happen in all cases, for example this snippet is fine, probably because the CSR register write signal is (legitimately) overwritten with
0
just after the first register write occurred.It is possible that the bug only has symptoms when #6 is implemented (I haven't double checked that, since #6 or any such alternative is necessary for RISC-V compliance).
Thanks!
The text was updated successfully, but these errors were encountered: