Skip to content

Commit

Permalink
Fix controller FSM's XIF commit tracking signals
Browse files Browse the repository at this point in the history
Ensure that the controller FSM's XIF commit transaction tracking
signals are reset every time a new instruction enters the EX stage
(now ensured by simply resetting these signals anytime the EX stage is
ready).  Fixes openhwgroup#610.

Signed-off-by: Michael Platzer <[email protected]>
  • Loading branch information
michael-platzer committed Jul 6, 2022
1 parent 8c85952 commit a55821e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtl/cv32e40x_controller_fsm.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ module cv32e40x_controller_fsm import cv32e40x_pkg::*;
commit_valid_q <= 1'b0;
commit_kill_q <= 1'b0;
end else begin
if ((ex_valid_i && wb_ready_i) || ctrl_fsm_o.kill_ex) begin
if (ex_ready_i) begin
commit_valid_q <= 1'b0;
commit_kill_q <= 1'b0;
end else begin
Expand Down

0 comments on commit a55821e

Please sign in to comment.