Skip to content

Commit

Permalink
iro: remove an unreachable statement (openhwgroup#2588)
Browse files Browse the repository at this point in the history
  • Loading branch information
cathales authored Nov 12, 2024
1 parent 43edcd4 commit 7eb59c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci/expected_synth.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cv32a65x:
gates: 179027
gates: 178295
9 changes: 0 additions & 9 deletions core/issue_read_operands.sv
Original file line number Diff line number Diff line change
Expand Up @@ -925,18 +925,9 @@ module issue_read_operands
if (!stall_raw[i] && !stall_waw[i]) begin
issue_ack[i] = 1'b1;
end
// we can also issue the instruction under the following two circumstances:
// we can do this even if we are stalled or no functional unit is ready (as we don't need one)
// the decoder needs to make sure that the instruction is marked as valid when it does not
// need any functional unit or if an exception occurred previous to the execute stage.
// 1. we already got an exception
if (issue_instr_i[i].ex.valid) begin
issue_ack[i] = 1'b1;
end
// 2. it is an instruction which does not need any functional unit
if (issue_instr_i[i].fu == NONE) begin
issue_ack[i] = 1'b1;
end
end
end

Expand Down

0 comments on commit 7eb59c3

Please sign in to comment.