Skip to content

Commit

Permalink
[hardware] 🐛 Fix vldu pointer ref for vstart != 0
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-17 committed Nov 7, 2024
1 parent 6a27886 commit 4b5b929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/src/vlsu/vldu.sv
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ module vldu import ara_pkg::*; import rvv_pkg::*; #(
if (vinsn_queue_d.commit_cnt != '0)
commit_cnt_bytes_d = (
vinsn_queue_q.vinsn[vinsn_queue_d.commit_pnt].vl
- vinsn_queue_q.vinsn[vinsn_queue_d.issue_pnt].vstart
- vinsn_queue_q.vinsn[vinsn_queue_d.commit_pnt].vstart
) << unsigned'(vinsn_queue_q.vinsn[vinsn_queue_d.commit_pnt].vtype.vsew);
end : vinsn_done

Expand Down

0 comments on commit 4b5b929

Please sign in to comment.