openhwgroup / cva6

The CORE-V CVA6 is an Application class 6-stage RISC-V CPU capable of booting Linux
https://docs.openhwgroup.org/projects/cva6-user-manual/
Other
2.14k stars 652 forks source link

[BUG] stall_instr_fetch signal in core/id_stage.sv will not be driven if CVA6Cfg.RVZCMP is disabled #2289

Open ckf104 opened 1 week ago

ckf104 commented 1 week ago

Is there an existing CVA6 bug for this?

Bug Description

stall_instr_fetch signal in core/id_stage.sv will not be driven if CVA6Cfg.RVZCMP is disabled. When using simulator like verilator with random initial value, cva6 may be stalled all the time.