From cb8b55dde3d893f4662a5f9c080083e104544d62 Mon Sep 17 00:00:00 2001 From: wayne111 Date: Sun, 24 Nov 2024 17:39:49 +0800 Subject: [PATCH] fix vid not consider result_queue_full --- hardware/src/masku/masku.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/src/masku/masku.sv b/hardware/src/masku/masku.sv index 1ea497dc4..10e091520 100644 --- a/hardware/src/masku/masku.sv +++ b/hardware/src/masku/masku.sv @@ -358,7 +358,7 @@ module masku import ara_pkg::*; import rvv_pkg::*; #( // iteration count for masked instrctions always_comb begin - if (vinsn_issue_valid && (&masku_operand_alu_valid || &masku_operand_vs2_seq_valid)) begin + if (vinsn_issue_valid && (&masku_operand_alu_valid || &masku_operand_vs2_seq_valid) && !result_queue_full) begin iteration_count_d = iteration_count_q + 1'b1; end else begin iteration_count_d = iteration_count_q;