diff --git a/src_Core/Debug_Module/DM_Run_Control.bsv b/src_Core/Debug_Module/DM_Run_Control.bsv index fa4148c..be671ac 100644 --- a/src_Core/Debug_Module/DM_Run_Control.bsv +++ b/src_Core/Debug_Module/DM_Run_Control.bsv @@ -225,7 +225,7 @@ module mkDM_Run_Control (DM_Run_Control_IFC); $display ("DM_Run_Control.write: hart0 resume request"); end // Halt hart(s) - else if (haltreq && !rg_dmcontrol_haltreq) begin + else if (haltreq && rg_hart0_running) begin f_hart0_run_halt_reqs.enq (False); $display ("DM_Run_Control.write: hart0 halt request"); end