mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
Fix exc controller ack not being sent
This commit is contained in:
parent
3f6ba69413
commit
9ee009a219
1 changed files with 7 additions and 1 deletions
|
@ -136,8 +136,14 @@ module riscv_exc_controller
|
|||
begin
|
||||
req_o = req_int;
|
||||
|
||||
if (req_int)
|
||||
if (req_int) begin
|
||||
exc_ctrl_ns = WAIT_CONTROLLER;
|
||||
|
||||
if (ack_i) begin
|
||||
save_cause_o = 1'b1;
|
||||
exc_ctrl_ns = IN_ISR;
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
WAIT_CONTROLLER:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue