Skip to content

Commit

Permalink
Issue #862 correction.
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Gouedo <[email protected]>
  • Loading branch information
Pascal Gouedo committed Sep 1, 2023
1 parent 9470ac1 commit 8308f92
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rtl/cv32e40p_controller.sv
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,12 @@ module cv32e40p_controller import cv32e40p_pkg::*;

end

ecall_insn_i: begin
halt_if_o = 1'b1;
halt_id_o = 1'b1;
ctrl_fsm_ns = FLUSH_EX;
end

csr_status_i: begin
halt_if_o = 1'b1;
ctrl_fsm_ns = id_ready_i ? FLUSH_EX : DECODE_HWLOOP;
Expand Down

0 comments on commit 8308f92

Please sign in to comment.