diff --git a/hardware/src/lane/valu.sv b/hardware/src/lane/valu.sv index 698ec0324..7f2be6614 100644 --- a/hardware/src/lane/valu.sv +++ b/hardware/src/lane/valu.sv @@ -815,7 +815,7 @@ module valu import ara_pkg::*; import rvv_pkg::*; import cf_math_pkg::idx_width; if ((vinsn_queue_d.issue_cnt == '0) && !prevent_commit) begin // INTRA_LANE_REDUCTION state needs the result queue // Start the reduction only if the commit queue (so, the result queue, too) is empty - alu_state_d = is_reduction(vfu_operation_i.op) && (commit_cnt_q == '0) ? INTRA_LANE_REDUCTION : NO_REDUCTION; + alu_state_d = is_reduction(vfu_operation_i.op) && (vinsn_queue_d.commit_cnt == '0) ? INTRA_LANE_REDUCTION : NO_REDUCTION; // The next will be the first operation of this instruction // This information is useful for reduction operation // Initialize reduction-related sequential elements