bsg-external / dromajo

RISC-V RV64GC emulator designed for RTL co-simulation
Apache License 2.0
0 stars 3 forks source link

Invalid CSR read for CSR=0x3b0 detected in BlackParrot cosimulation #5

Open muwyse opened 4 years ago

muwyse commented 4 years ago

In BlackParrot testing with Dromajo cosimulation, at least one test reports out an invalid CSR read for the CSR with address 0x3b0 due to it being unimplemented in the processor.

Reproduce: checkout https://github.com/black-parrot/black-parrot/commit/111bac29371ecf661e1df8f0c3d66a7141fc2398 (dev branch) cd bp_top/syn make build.v sim.v CFG=e_bp_single_core_cfg SUITE=riscv_tests PROG=rv64ui-p-fence_i COSIM_P=1

dpetrisko commented 3 years ago

I think we discussed this offline, but for anyone curious: This is because we don't implement PMPs