Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HW] Iteration_cnt_d should update when result_queue not full #375

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Bump upload and delete artifact actions
- Fix synthesis-unfriendly constructs
- Fix vector slicing bug in operand requesters
- Fix the iteration_cnt_d update even when result_queue is full

### Added

Expand Down
2 changes: 1 addition & 1 deletion hardware/src/masku/masku.sv
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down