YosysHQ / picorv32

PicoRV32 - A Size-Optimized RISC-V CPU
ISC License
2.86k stars 715 forks source link

[Bug report] Performance counters are not writable #236

Open flaviens opened 1 year ago

flaviens commented 1 year ago

Hi there!

The (privileged) spec specifies that the cycle and instructions are writable in machine mode. Currently, they are read-only on picorv32, whatever the configuration.

Thanks! Flavien