mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-19 11:54:46 -04:00
fix missing ZCMP condition in commit stage to increasse Code Coverage (#2459)
This commit is contained in:
parent
4c36aafaf0
commit
064cec2066
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ module commit_stage
|
|||
if (!exception_o.valid && !commit_instr_i[1].ex.valid
|
||||
&& (commit_instr_i[1].fu inside {ALU, LOAD, CTRL_FLOW, MULT, FPU, FPU_VEC})) begin
|
||||
|
||||
if (commit_instr_i[1].is_macro_instr && commit_instr_i[1].is_last_macro_instr)
|
||||
if (CVA6Cfg.RVZCMP && commit_instr_i[1].is_macro_instr && commit_instr_i[1].is_last_macro_instr)
|
||||
commit_macro_ack[1] = 1'b1;
|
||||
else commit_macro_ack[1] = 1'b0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue