[top] Auto-generate files

Signed-off-by: Timothy Chen <timothytim@google.com>
diff --git a/hw/top_earlgrey/data/autogen/top_earlgrey.gen.hjson b/hw/top_earlgrey/data/autogen/top_earlgrey.gen.hjson
index ed15a15..a4ae8ba 100644
--- a/hw/top_earlgrey/data/autogen/top_earlgrey.gen.hjson
+++ b/hw/top_earlgrey/data/autogen/top_earlgrey.gen.hjson
@@ -2718,18 +2718,96 @@
       alert_list:
       [
         {
-          name: ast_alerts
-          width: 7
-          bits: 6:0
+          name: as
+          width: 1
+          bits: "0"
           bitinfo:
           [
-            127
-            7
+            1
+            1
             0
           ]
           type: alert
           async: 1
         }
+        {
+          name: cg
+          width: 1
+          bits: "1"
+          bitinfo:
+          [
+            2
+            1
+            1
+          ]
+          type: alert
+          async: 1
+        }
+        {
+          name: gd
+          width: 1
+          bits: "2"
+          bitinfo:
+          [
+            4
+            1
+            2
+          ]
+          type: alert
+          async: 1
+        }
+        {
+          name: ts_hi
+          width: 1
+          bits: "3"
+          bitinfo:
+          [
+            8
+            1
+            3
+          ]
+          type: alert
+          async: 1
+        }
+        {
+          name: ts_lo
+          width: 1
+          bits: "4"
+          bitinfo:
+          [
+            16
+            1
+            4
+          ]
+          type: alert
+          async: 1
+        }
+        {
+          name: ls
+          width: 1
+          bits: "5"
+          bitinfo:
+          [
+            32
+            1
+            5
+          ]
+          type: alert
+          async: 1
+        }
+        {
+          name: ot
+          width: 1
+          bits: "6"
+          bitinfo:
+          [
+            64
+            1
+            6
+          ]
+          type: alert
+          async: 1
+        }
       ]
       wakeup_list: []
       reset_request_list: []
@@ -5684,13 +5762,13 @@
       module_name: otbn
     }
     {
-      name: sensor_ctrl_ast_alerts
-      width: 7
-      bits: 6:0
+      name: sensor_ctrl_as
+      width: 1
+      bits: "0"
       bitinfo:
       [
-        127
-        7
+        1
+        1
         0
       ]
       type: alert
@@ -5698,6 +5776,90 @@
       module_name: sensor_ctrl
     }
     {
+      name: sensor_ctrl_cg
+      width: 1
+      bits: "1"
+      bitinfo:
+      [
+        2
+        1
+        1
+      ]
+      type: alert
+      async: 1
+      module_name: sensor_ctrl
+    }
+    {
+      name: sensor_ctrl_gd
+      width: 1
+      bits: "2"
+      bitinfo:
+      [
+        4
+        1
+        2
+      ]
+      type: alert
+      async: 1
+      module_name: sensor_ctrl
+    }
+    {
+      name: sensor_ctrl_ts_hi
+      width: 1
+      bits: "3"
+      bitinfo:
+      [
+        8
+        1
+        3
+      ]
+      type: alert
+      async: 1
+      module_name: sensor_ctrl
+    }
+    {
+      name: sensor_ctrl_ts_lo
+      width: 1
+      bits: "4"
+      bitinfo:
+      [
+        16
+        1
+        4
+      ]
+      type: alert
+      async: 1
+      module_name: sensor_ctrl
+    }
+    {
+      name: sensor_ctrl_ls
+      width: 1
+      bits: "5"
+      bitinfo:
+      [
+        32
+        1
+        5
+      ]
+      type: alert
+      async: 1
+      module_name: sensor_ctrl
+    }
+    {
+      name: sensor_ctrl_ot
+      width: 1
+      bits: "6"
+      bitinfo:
+      [
+        64
+        1
+        6
+      ]
+      type: alert
+      async: 1
+      module_name: sensor_ctrl
+    }
+    {
       name: keymgr_fault_err
       width: 1
       bits: "0"
diff --git a/hw/top_earlgrey/dv/autogen/tb__alert_handler_connect.sv b/hw/top_earlgrey/dv/autogen/tb__alert_handler_connect.sv
index 7abbf1f..9a5f76c 100644
--- a/hw/top_earlgrey/dv/autogen/tb__alert_handler_connect.sv
+++ b/hw/top_earlgrey/dv/autogen/tb__alert_handler_connect.sv
@@ -10,7 +10,13 @@
 assign alert_if[3].alert_tx = `CHIP_HIER.u_otbn.alert_tx_o[1];
 assign alert_if[4].alert_tx = `CHIP_HIER.u_otbn.alert_tx_o[2];
 assign alert_if[5].alert_tx = `CHIP_HIER.u_sensor_ctrl.alert_tx_o[0];
-assign alert_if[6].alert_tx = `CHIP_HIER.u_keymgr.alert_tx_o[0];
-assign alert_if[7].alert_tx = `CHIP_HIER.u_keymgr.alert_tx_o[1];
-assign alert_if[8].alert_tx = `CHIP_HIER.u_otp_ctrl.alert_tx_o[0];
-assign alert_if[9].alert_tx = `CHIP_HIER.u_otp_ctrl.alert_tx_o[1];
+assign alert_if[6].alert_tx = `CHIP_HIER.u_sensor_ctrl.alert_tx_o[1];
+assign alert_if[7].alert_tx = `CHIP_HIER.u_sensor_ctrl.alert_tx_o[2];
+assign alert_if[8].alert_tx = `CHIP_HIER.u_sensor_ctrl.alert_tx_o[3];
+assign alert_if[9].alert_tx = `CHIP_HIER.u_sensor_ctrl.alert_tx_o[4];
+assign alert_if[10].alert_tx = `CHIP_HIER.u_sensor_ctrl.alert_tx_o[5];
+assign alert_if[11].alert_tx = `CHIP_HIER.u_sensor_ctrl.alert_tx_o[6];
+assign alert_if[12].alert_tx = `CHIP_HIER.u_keymgr.alert_tx_o[0];
+assign alert_if[13].alert_tx = `CHIP_HIER.u_keymgr.alert_tx_o[1];
+assign alert_if[14].alert_tx = `CHIP_HIER.u_otp_ctrl.alert_tx_o[0];
+assign alert_if[15].alert_tx = `CHIP_HIER.u_otp_ctrl.alert_tx_o[1];
diff --git a/hw/top_earlgrey/dv/env/autogen/alert_handler_env_pkg__params.sv b/hw/top_earlgrey/dv/env/autogen/alert_handler_env_pkg__params.sv
index 913a561..903cde3 100644
--- a/hw/top_earlgrey/dv/env/autogen/alert_handler_env_pkg__params.sv
+++ b/hw/top_earlgrey/dv/env/autogen/alert_handler_env_pkg__params.sv
@@ -10,11 +10,17 @@
   "otbn_imem_uncorrectable",
   "otbn_dmem_uncorrectable",
   "otbn_reg_uncorrectable",
-  "sensor_ctrl_ast_alerts",
+  "sensor_ctrl_as",
+  "sensor_ctrl_cg",
+  "sensor_ctrl_gd",
+  "sensor_ctrl_ts_hi",
+  "sensor_ctrl_ts_lo",
+  "sensor_ctrl_ls",
+  "sensor_ctrl_ot",
   "keymgr_fault_err",
   "keymgr_operation_err",
   "otp_ctrl_otp_macro_failure",
   "otp_ctrl_otp_check_failure"
 };
 
-parameter uint NUM_ALERTS = 10;
+parameter uint NUM_ALERTS = 16;
diff --git a/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv b/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
index 54fa342..9384c09 100644
--- a/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
+++ b/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv
@@ -1046,13 +1046,13 @@
 
   sensor_ctrl u_sensor_ctrl (
 
-      // [2]: ast_alerts
-      // [3]: ast_alerts
-      // [4]: ast_alerts
-      // [5]: ast_alerts
-      // [6]: ast_alerts
-      // [7]: ast_alerts
-      // [8]: ast_alerts
+      // [2]: as
+      // [3]: cg
+      // [4]: gd
+      // [5]: ts_hi
+      // [6]: ts_lo
+      // [7]: ls
+      // [8]: ot
       .alert_tx_o  ( alert_tx[8:2] ),
       .alert_rx_i  ( alert_rx[8:2] ),
 
diff --git a/hw/top_earlgrey/sw/autogen/top_earlgrey.c b/hw/top_earlgrey/sw/autogen/top_earlgrey.c
index 6fddaab..943493b 100644
--- a/hw/top_earlgrey/sw/autogen/top_earlgrey.c
+++ b/hw/top_earlgrey/sw/autogen/top_earlgrey.c
@@ -116,13 +116,13 @@
   [kTopEarlgreyAlertIdOtbnImemUncorrectable] = kTopEarlgreyAlertPeripheralOtbn,
   [kTopEarlgreyAlertIdOtbnDmemUncorrectable] = kTopEarlgreyAlertPeripheralOtbn,
   [kTopEarlgreyAlertIdOtbnRegUncorrectable] = kTopEarlgreyAlertPeripheralOtbn,
-  [kTopEarlgreyAlertIdSensorCtrlAstAlerts0] = kTopEarlgreyAlertPeripheralSensorCtrl,
-  [kTopEarlgreyAlertIdSensorCtrlAstAlerts1] = kTopEarlgreyAlertPeripheralSensorCtrl,
-  [kTopEarlgreyAlertIdSensorCtrlAstAlerts2] = kTopEarlgreyAlertPeripheralSensorCtrl,
-  [kTopEarlgreyAlertIdSensorCtrlAstAlerts3] = kTopEarlgreyAlertPeripheralSensorCtrl,
-  [kTopEarlgreyAlertIdSensorCtrlAstAlerts4] = kTopEarlgreyAlertPeripheralSensorCtrl,
-  [kTopEarlgreyAlertIdSensorCtrlAstAlerts5] = kTopEarlgreyAlertPeripheralSensorCtrl,
-  [kTopEarlgreyAlertIdSensorCtrlAstAlerts6] = kTopEarlgreyAlertPeripheralSensorCtrl,
+  [kTopEarlgreyAlertIdSensorCtrlAs] = kTopEarlgreyAlertPeripheralSensorCtrl,
+  [kTopEarlgreyAlertIdSensorCtrlCg] = kTopEarlgreyAlertPeripheralSensorCtrl,
+  [kTopEarlgreyAlertIdSensorCtrlGd] = kTopEarlgreyAlertPeripheralSensorCtrl,
+  [kTopEarlgreyAlertIdSensorCtrlTsHi] = kTopEarlgreyAlertPeripheralSensorCtrl,
+  [kTopEarlgreyAlertIdSensorCtrlTsLo] = kTopEarlgreyAlertPeripheralSensorCtrl,
+  [kTopEarlgreyAlertIdSensorCtrlLs] = kTopEarlgreyAlertPeripheralSensorCtrl,
+  [kTopEarlgreyAlertIdSensorCtrlOt] = kTopEarlgreyAlertPeripheralSensorCtrl,
   [kTopEarlgreyAlertIdKeymgrFaultErr] = kTopEarlgreyAlertPeripheralKeymgr,
   [kTopEarlgreyAlertIdKeymgrOperationErr] = kTopEarlgreyAlertPeripheralKeymgr,
   [kTopEarlgreyAlertIdOtpCtrlOtpMacroFailure] = kTopEarlgreyAlertPeripheralOtpCtrl,
diff --git a/hw/top_earlgrey/sw/autogen/top_earlgrey.h b/hw/top_earlgrey/sw/autogen/top_earlgrey.h
index 979576b..533d463 100644
--- a/hw/top_earlgrey/sw/autogen/top_earlgrey.h
+++ b/hw/top_earlgrey/sw/autogen/top_earlgrey.h
@@ -613,13 +613,13 @@
   kTopEarlgreyAlertIdOtbnImemUncorrectable = 2, /**< otbn_imem_uncorrectable */
   kTopEarlgreyAlertIdOtbnDmemUncorrectable = 3, /**< otbn_dmem_uncorrectable */
   kTopEarlgreyAlertIdOtbnRegUncorrectable = 4, /**< otbn_reg_uncorrectable */
-  kTopEarlgreyAlertIdSensorCtrlAstAlerts0 = 5, /**< sensor_ctrl_ast_alerts 0 */
-  kTopEarlgreyAlertIdSensorCtrlAstAlerts1 = 6, /**< sensor_ctrl_ast_alerts 1 */
-  kTopEarlgreyAlertIdSensorCtrlAstAlerts2 = 7, /**< sensor_ctrl_ast_alerts 2 */
-  kTopEarlgreyAlertIdSensorCtrlAstAlerts3 = 8, /**< sensor_ctrl_ast_alerts 3 */
-  kTopEarlgreyAlertIdSensorCtrlAstAlerts4 = 9, /**< sensor_ctrl_ast_alerts 4 */
-  kTopEarlgreyAlertIdSensorCtrlAstAlerts5 = 10, /**< sensor_ctrl_ast_alerts 5 */
-  kTopEarlgreyAlertIdSensorCtrlAstAlerts6 = 11, /**< sensor_ctrl_ast_alerts 6 */
+  kTopEarlgreyAlertIdSensorCtrlAs = 5, /**< sensor_ctrl_as */
+  kTopEarlgreyAlertIdSensorCtrlCg = 6, /**< sensor_ctrl_cg */
+  kTopEarlgreyAlertIdSensorCtrlGd = 7, /**< sensor_ctrl_gd */
+  kTopEarlgreyAlertIdSensorCtrlTsHi = 8, /**< sensor_ctrl_ts_hi */
+  kTopEarlgreyAlertIdSensorCtrlTsLo = 9, /**< sensor_ctrl_ts_lo */
+  kTopEarlgreyAlertIdSensorCtrlLs = 10, /**< sensor_ctrl_ls */
+  kTopEarlgreyAlertIdSensorCtrlOt = 11, /**< sensor_ctrl_ot */
   kTopEarlgreyAlertIdKeymgrFaultErr = 12, /**< keymgr_fault_err */
   kTopEarlgreyAlertIdKeymgrOperationErr = 13, /**< keymgr_operation_err */
   kTopEarlgreyAlertIdOtpCtrlOtpMacroFailure = 14, /**< otp_ctrl_otp_macro_failure */