mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 12:57:13 -04:00
Modified wfi to go back to normal execution after debug request and ebreak generates always a request to debug now
This commit is contained in:
parent
6f816b681e
commit
b6fd710573
1 changed files with 2 additions and 5 deletions
|
@ -248,9 +248,6 @@ module zeroriscy_controller
|
|||
if (dbg_req_i) begin
|
||||
// debug request, now we need to check if we should stay sleeping or
|
||||
// go to normal processing later
|
||||
if (irq_req_ctrl_i)
|
||||
ctrl_fsm_ns = DBG_SIGNAL;
|
||||
else
|
||||
ctrl_fsm_ns = DBG_SIGNAL_SLEEP;
|
||||
|
||||
end else begin
|
||||
|
@ -362,7 +359,7 @@ module zeroriscy_controller
|
|||
dbg_ack_o = 1'b1;
|
||||
halt_if_o = 1'b1;
|
||||
|
||||
ctrl_fsm_ns = DBG_WAIT_SLEEP;
|
||||
ctrl_fsm_ns = DBG_WAIT;
|
||||
end
|
||||
|
||||
// The Debugger is active in this state
|
||||
|
@ -458,7 +455,7 @@ module zeroriscy_controller
|
|||
dbg_trap_o = dbg_settings_i[DBG_SETS_SSTE];
|
||||
end
|
||||
ebrk_insn_i: begin
|
||||
dbg_trap_o = dbg_settings_i[DBG_SETS_EBRK] | dbg_settings_i[DBG_SETS_SSTE];;
|
||||
dbg_trap_o = 1'b1;//dbg_settings_i[DBG_SETS_EBRK] | dbg_settings_i[DBG_SETS_SSTE];;
|
||||
exc_cause_o = EXC_CAUSE_BREAKPOINT;
|
||||
end
|
||||
csr_status_i: begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue