[pwrmgr] template pwrmgr hjson

- There are now 3 seprate core files
  - only_reg, pkg, and component (similar to alert_handler)

- The only_reg core file will be duplicated at the top level,
  while the pkg / component core files will be top agnostic
  and can be referenced by other modules

Signed-off-by: Timothy Chen <timothytim@google.com>

[pwrmgr] Various fixes for python lint

Signed-off-by: Timothy Chen <timothytim@google.com>

[pwrmgr] Fix typo

Signed-off-by: Timothy Chen <timothytim@google.com>
diff --git a/hw/ip/pwrmgr/rtl/pwrmgr_wake_info.sv b/hw/ip/pwrmgr/rtl/pwrmgr_wake_info.sv
index 50eabc9..fd84c4e 100644
--- a/hw/ip/pwrmgr/rtl/pwrmgr_wake_info.sv
+++ b/hw/ip/pwrmgr/rtl/pwrmgr_wake_info.sv
@@ -7,14 +7,15 @@
 
 `include "prim_assert.sv"
 
-module pwrmgr_wake_info import pwrmgr_pkg::*; (
+module pwrmgr_wake_info import pwrmgr_pkg::*; import pwrmgr_reg_pkg::*;
+(
   input clk_i,
   input rst_ni,
   input wr_i,
   input [TotalWakeWidth-1:0] data_i,
   input start_capture_i,
   input record_dis_i,
-  input [WakeUpPeris-1:0] wakeups_i,
+  input [NumWkups-1:0] wakeups_i,
   input fall_through_i,
   input abort_i,
   output logic [TotalWakeWidth-1:0] info_o
@@ -45,8 +46,8 @@
     end else if (wr_i) begin
       info_o <= info_o & ~data_i; // W1C
     end else if (record_en) begin // If set once, hold until clear
-      info_o[0 +: WakeUpPeris] <= info_o[0 +: WakeUpPeris] | wakeups_i;
-      info_o[WakeUpPeris +: 2] <= info_o[WakeUpPeris +: 2] | {abort_i, fall_through_i};
+      info_o[0 +: NumWkups] <= info_o[0 +: NumWkups] | wakeups_i;
+      info_o[NumWkups +: 2] <= info_o[NumWkups +: 2] | {abort_i, fall_through_i};
     end
   end