[pwrmgr] Properly end a reset cycle in fast FSM
Once a reset cycle completes, we should also deassert the
"reset_ongoing" variable inside the fast FSM of the power
manager.
Fixes #9561
Signed-off-by: Michael Schaffner <msf@opentitan.org>
diff --git a/hw/ip/pwrmgr/rtl/pwrmgr_fsm.sv b/hw/ip/pwrmgr/rtl/pwrmgr_fsm.sv
index 36f9d1a..5f68a03 100644
--- a/hw/ip/pwrmgr/rtl/pwrmgr_fsm.sv
+++ b/hw/ip/pwrmgr/rtl/pwrmgr_fsm.sv
@@ -312,6 +312,8 @@
ack_pwrup_d = 1'b0;
clr_cfg_lock_o = 1'b1;
wkup_o = pwrup_cause_i == Wake;
+ // This constitutes the end of a reset cycle
+ reset_ongoing_d = 1'b0;
state_d = FastPwrStateRomCheck;
end
end