Skip to content

Commit

Permalink
Remove Spyglass warning on is_zcmt_instr signal
Browse files Browse the repository at this point in the history
  • Loading branch information
Gchauvon committed Feb 3, 2025
1 parent 614d6ef commit ed989d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/id_stage.sv
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ module id_stage #(
issue_n = issue_q;
fetch_entry_ready_o = '0;
// instruction is not valid if we stall due to ZCMT or CVXIF
decoded_instruction_valid[0] = (CVA6Cfg.RVZCMT && is_zcmt_instr && stall_macro_deco_zcmt) ||
decoded_instruction_valid[0] = (CVA6Cfg.RVZCMT && is_zcmt_instr[0] && stall_macro_deco_zcmt) ||
(CVA6Cfg.CvxifEn && is_illegal_cvxif_i && ~stall_macro_deco) && stall_instr_fetch[0]
? 1'b0 : 1'b1;
// Instruction on port 1 are always valid. It is either 32bits or legal 16bits.
Expand Down Expand Up @@ -413,7 +413,7 @@ module id_stage #(
issue_n = issue_q;
fetch_entry_ready_o = '0;
// instruction is not valid if we stall due to ZCMT or CVXIF
decoded_instruction_valid[0] = (CVA6Cfg.RVZCMT && is_zcmt_instr && stall_macro_deco_zcmt) ||
decoded_instruction_valid[0] = (CVA6Cfg.RVZCMT && is_zcmt_instr[0] && stall_macro_deco_zcmt) ||
(CVA6Cfg.CvxifEn && is_illegal_cvxif_i && ~stall_macro_deco && stall_instr_fetch[0])
? 1'b0 : 1'b1;
// Clear the valid flag if issue has acknowledged the instruction
Expand Down

0 comments on commit ed989d0

Please sign in to comment.