mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-23 13:47:13 -04:00
Also check for interrupt flag when halting debug
This commit is contained in:
parent
a569aede23
commit
01f628d488
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ module debug_unit (
|
|||
// Debugger Signaling
|
||||
// ------------------------
|
||||
// if an exception occurred and it is enabled to trigger debug mode, halt the processor and enter debug mode
|
||||
if (commit_ack_i && ex_i.valid && dbg_ie_q[ex_i.cause[5:0]]) begin
|
||||
if (commit_ack_i && ex_i.valid && dbg_ie_q[ex_i.cause[5:0]] && (ex_i.cause[63] == dbg_ie_q[63])) begin
|
||||
halt_req = 1'b1;
|
||||
// save the cause why we entered the exception
|
||||
dbg_cause_n = ex_i.cause;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue