Prevent sleep mode on debug request

Debug requests are essentially interrupts and we need to prevent sleep
(or wake up the core) if we get a debug request.
This commit is contained in:
Philipp Wagner 2019-04-17 13:59:39 +01:00
parent 672929a9b7
commit bae56557e9

View file

@ -216,7 +216,7 @@ module ibex_core #(
assign core_busy = core_ctrl_firstfetch ? 1'b1 : core_busy_q;
assign clock_en = core_busy | irq_i;
assign clock_en = core_busy | irq_i | debug_req_i;
assign sleeping = (~core_busy);