[alert_handler] Remove duplicated parameter description
The template parameters are already described in the
`hw/ip_templates/alert_handler/data/alert_handler.tpldesc.hjson`, no
need to duplicate this content with the chance of them going out of
sync.
Also update the `tpldesc.hjson` file to use the most helpful
description.
Signed-off-by: Philipp Wagner <phw@lowrisc.org>
diff --git a/hw/ip_templates/alert_handler/data/alert_handler.hjson.tpl b/hw/ip_templates/alert_handler/data/alert_handler.hjson.tpl
index c5f045e..7323eac 100644
--- a/hw/ip_templates/alert_handler/data/alert_handler.hjson.tpl
+++ b/hw/ip_templates/alert_handler/data/alert_handler.hjson.tpl
@@ -3,15 +3,6 @@
// SPDX-License-Identifier: Apache-2.0
//
# ALERT_HANDLER register template
-#
-# Parameter (given by Python tool)
-# - n_alerts: Number of alert sources
-# - esc_cnt_dw: Width of escalation counter
-# - accu_cnt_dw: Width of accumulator
-# - async_on: Enables asynchronous sygnalling between specific alert RX/TX pairs
-# - n_classes: Number of supported classes (leave this at 4 at the moment)
-# - n_lpg: Number of low-power groups (LPGs)
-# - lpg_map: Defines a mapping from alerts to LPGs.
<%
import math
chars = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H']
diff --git a/hw/ip_templates/alert_handler/data/alert_handler.tpldesc.hjson b/hw/ip_templates/alert_handler/data/alert_handler.tpldesc.hjson
index 7c604a8..c85360f 100644
--- a/hw/ip_templates/alert_handler/data/alert_handler.tpldesc.hjson
+++ b/hw/ip_templates/alert_handler/data/alert_handler.tpldesc.hjson
@@ -35,13 +35,13 @@
},
{
"name": "n_lpg",
- "desc": "Number of LPGs"
+ "desc": "Number of low-power groups (LPGs)"
"type": "int"
"default": 1
},
{
"name": "lpg_map",
- "desc": "Encodes the alert to LPG mapping"
+ "desc": "Defines a mapping from alerts to LPGs"
"type": "object"
"default": []
},
diff --git a/hw/top_earlgrey/ip_autogen/alert_handler/data/alert_handler.hjson b/hw/top_earlgrey/ip_autogen/alert_handler/data/alert_handler.hjson
index cea96c4..0f1800e 100644
--- a/hw/top_earlgrey/ip_autogen/alert_handler/data/alert_handler.hjson
+++ b/hw/top_earlgrey/ip_autogen/alert_handler/data/alert_handler.hjson
@@ -3,15 +3,6 @@
// SPDX-License-Identifier: Apache-2.0
//
# ALERT_HANDLER register template
-#
-# Parameter (given by Python tool)
-# - n_alerts: Number of alert sources
-# - esc_cnt_dw: Width of escalation counter
-# - accu_cnt_dw: Width of accumulator
-# - async_on: Enables asynchronous sygnalling between specific alert RX/TX pairs
-# - n_classes: Number of supported classes (leave this at 4 at the moment)
-# - n_lpg: Number of low-power groups (LPGs)
-# - lpg_map: Defines a mapping from alerts to LPGs.
{
name: "ALERT_HANDLER",