Skip to content

Commit

Permalink
acc_dispatcher: don't issue instruction from buffer if flushing
Browse files Browse the repository at this point in the history
Instructions with side effects flush the unissued instructions from
the controller. The accelerator dispatcher buffer is flushed when
this happens and avoids accepting a new instruction, but was not
preventing the actual issue during a flush cycle.
  • Loading branch information
mp-17 authored and niwis committed Sep 27, 2024
1 parent 56532c6 commit 18e45dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/acc_dispatcher.sv
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ module acc_dispatcher
};
// Wait until the instruction is no longer speculative.
acc_req_valid = insn_ready_q[acc_insn_queue_o.trans_id] ||
(acc_commit && insn_pending_q[acc_commit_trans_id]);
(acc_commit && insn_pending_q[acc_commit_trans_id] && !flush_unissued_instr_i);
acc_insn_queue_pop = acc_req_valid && acc_req_ready;
end
end
Expand Down

0 comments on commit 18e45dc

Please sign in to comment.