Skip to content

Commit

Permalink
Update commit_stage.sv
Browse files Browse the repository at this point in the history
  • Loading branch information
AEzzejjari authored Nov 20, 2023
1 parent 8326b01 commit 9ece636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commit_stage.sv
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ module commit_stage
// from interrupt service routine
// Fence synchronizes data and instruction streams. That means that we need to flush the private icache
// and the private dcache. This is the most expensive instruction.
if (commit_instr_i[0].op == FENCE_I || (flush_dcache_i && DCACHE_TYPE == int'(config_pkg::WB) && commit_instr_i[0].fu != STORE)) begin
if (commit_instr_i[0].op == FENCE_I || (flush_dcache_i && commit_instr_i[0].fu != STORE)) begin
commit_ack_o[0] = no_st_pending_i;
// tell the controller to flush the I$
fence_i_o = no_st_pending_i;
Expand Down

0 comments on commit 9ece636

Please sign in to comment.