[alert_handler] Lint fixes and waiver updates
Signed-off-by: Michael Schaffner <msf@google.com>
diff --git a/hw/ip/alert_handler/lint/alert_handler.waiver b/hw/ip/alert_handler/lint/alert_handler.waiver
index 637c211..457e158 100644
--- a/hw/ip/alert_handler/lint/alert_handler.waiver
+++ b/hw/ip/alert_handler/lint/alert_handler.waiver
@@ -37,3 +37,8 @@
waive -rules VAR_INDEX -location {alert_handler_ping_timer.sv} -regexp {enable_mask\[id_to_ping\]} \
-comment "This indexing expression is correct."
+waive -rules CLOCK_USE -location {alert_handler_lpg_ctrl.sv} -msg {'clk_i' is connected to 'prim_lc_sync' port 'clk_i', and used as} \
+ -comment "This clock connection is only used for assertions internal to the prim module."
+
+waive -rules RESET_USE -location {alert_handler_lpg_ctrl.sv} -msg {'rst_ni' is connected to 'prim_lc_sync' port 'rst_ni', and used as} \
+ -comment "This reset connection is only used for assertions internal to the prim module."
diff --git a/hw/ip/prim/rtl/prim_alert_receiver.sv b/hw/ip/prim/rtl/prim_alert_receiver.sv
index 6e57501..5420d15 100644
--- a/hw/ip/prim/rtl/prim_alert_receiver.sv
+++ b/hw/ip/prim/rtl/prim_alert_receiver.sv
@@ -202,9 +202,9 @@
state_d = InitAckWait;
end
end
- // We get here if the sender has responded with alert_sigint, and init_trig_i==lc_ctrl_pkg::On has been
- // deasserted. At this point, we need to wait for the alert_sigint to drop again before
- // resuming normal operation.
+ // We get here if the sender has responded with alert_sigint, and init_trig_i==lc_ctrl_pkg::On
+ // has been deasserted. At this point, we need to wait for the alert_sigint to drop again
+ // before resuming normal operation.
InitAckWait: begin
if (!alert_sigint) begin
state_d = Pause0;