Skip to content

Commit

Permalink
[hardware] 🐛 Solve bug in dispatcher upon CSR mod insn
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-17 committed Jan 7, 2025
1 parent f06986c commit 54cec9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/src/ara_dispatcher.sv
Original file line number Diff line number Diff line change
Expand Up @@ -3260,7 +3260,7 @@ module ara_dispatcher import ara_pkg::*; import rvv_pkg::*; #(
// E.g., CSRs vxrm and vxsat have no influence on-non fixed-point instructions, it could be read and written safely when no fixed-point operation is running.
// By better analyzing the spec, more of optimizations of such can be made. For the sake of simplicity, the current implementation treats CSR ops as one block.
// Just always go to WAIT_IDLE for at least one cycle (if there is a vinsn before the CSR one, it can be that ara_idle_i is still deasserted when the CSR is here).
if (!state_qq != WAIT_IDLE) begin
if (state_qq != WAIT_IDLE) begin
state_d = WAIT_IDLE;
acc_resp_o.req_ready = 1'b0;
end else begin
Expand Down

0 comments on commit 54cec9b

Please sign in to comment.