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
Hello!
I found that the current implementation of the performance counter inhibition for the cycle counter does not actually inhibit the mcycle CSR increment every cycle but simple writes to it the value of the instruction retired count.
There might be a reason for this behavior to be desirable but it does not seem to follow the RISC-V specification.
Is there an existing CVA6 bug for this?
Bug Description
Hello!
I found that the current implementation of the performance counter inhibition for the cycle counter does not actually inhibit the mcycle CSR increment every cycle but simple writes to it the value of the instruction retired count.
There might be a reason for this behavior to be desirable but it does not seem to follow the RISC-V specification.
cva6/core/csr_regfile.sv
Lines 571 to 572 in 2708df9
The text was updated successfully, but these errors were encountered: