Fix cvxif_off_instr_n in issue_read_operands (#2944)

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:
Eric Ackermann 2025-04-29 07:22:57 +02:00 committed by GitHub
parent f314dcb136
commit 1cf3e1f436
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -764,7 +764,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