mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 21:27:10 -04:00
Fix cvxif_off_instr_n in issue_read_operands
Currently, cvxif_off_instr_n is assigned to orig_instr[i], with i being 0 or 1 depending on the issue port. This assigns the original instruction value (which will be propagated, e.g., into tval in an exception) to the last bit of the instruction on issue port 0. This commit assigns it to the full instruction on the corresponding issue port instead.
This commit is contained in:
parent
733743da0f
commit
3203057211
1 changed files with 1 additions and 1 deletions
|
@ -880,7 +880,7 @@ module issue_read_operands
|
|||
case (issue_instr_i[i].fu)
|
||||
CVXIF: begin
|
||||
cvxif_valid_n[i] = 1'b1;
|
||||
cvxif_off_instr_n = orig_instr[i];
|
||||
cvxif_off_instr_n = orig_instr_i[i];
|
||||
end
|
||||
default: ;
|
||||
endcase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue