diff --git a/hw/top_darjeeling/data/autogen/top_darjeeling.gen.hjson b/hw/top_darjeeling/data/autogen/top_darjeeling.gen.hjson index 7a7e6950ec066c..d07739b9ac090b 100644 --- a/hw/top_darjeeling/data/autogen/top_darjeeling.gen.hjson +++ b/hw/top_darjeeling/data/autogen/top_darjeeling.gen.hjson @@ -8377,6 +8377,8 @@ DmHaltAddr: tl_main_pkg::ADDR_SPACE_RV_DM__MEM + dm::HaltAddress[31:0] DmExceptionAddr: tl_main_pkg::ADDR_SPACE_RV_DM__MEM + dm::ExceptionAddress[31:0] PipeLine: "0" + NEscalationSeverities: alert_handler_reg_pkg::N_ESC_SEV + WidthPingCounter: alert_handler_reg_pkg::PING_CNT_DW } clock_srcs: { @@ -8471,6 +8473,24 @@ default: 0xa1254b2276bec9fc randwidth: 64 } + { + name: NEscalationSeverities + desc: Number of escalation severities + type: int unsigned + default: alert_handler_reg_pkg::N_ESC_SEV + local: "true" + expose: "true" + name_top: RvCoreIbexNEscalationSeverities + } + { + name: WidthPingCounter + desc: Width of the ping counter + type: int unsigned + default: alert_handler_reg_pkg::PING_CNT_DW + local: "true" + expose: "true" + name_top: RvCoreIbexWidthPingCounter + } { name: PMPEnable desc: Enable PMP @@ -15386,6 +15406,7 @@ } } ] + incoming_alert: {} exported_clks: {} wakeups: [ @@ -16311,6 +16332,7 @@ mbx_pcie1 rv_core_ibex ] + outgoing_alert_module: {} alert: [ { @@ -17205,6 +17227,7 @@ lpg_idx: 11 } ] + outgoing_alert: {} unmanaged_resets: {} exported_rsts: {} alert_lpgs: @@ -17682,6 +17705,7 @@ } } ] + outgoing_alert_lpgs: {} inter_signal: { signals: diff --git a/hw/top_darjeeling/data/top_darjeeling.hjson b/hw/top_darjeeling/data/top_darjeeling.hjson index 09e52c7b882a2c..9350a75def05f5 100644 --- a/hw/top_darjeeling/data/top_darjeeling.hjson +++ b/hw/top_darjeeling/data/top_darjeeling.hjson @@ -983,7 +983,9 @@ SecureIbex: "1", DmHaltAddr: "tl_main_pkg::ADDR_SPACE_RV_DM__MEM + dm::HaltAddress[31:0]", DmExceptionAddr: "tl_main_pkg::ADDR_SPACE_RV_DM__MEM + dm::ExceptionAddress[31:0]", - PipeLine: "0" + PipeLine: "0", + NEscalationSeverities: "alert_handler_reg_pkg::N_ESC_SEV", + WidthPingCounter: "alert_handler_reg_pkg::PING_CNT_DW" }, clock_srcs: { clk_i: "main", diff --git a/hw/top_darjeeling/rtl/autogen/top_darjeeling.sv b/hw/top_darjeeling/rtl/autogen/top_darjeeling.sv index 27a428a8eafc7b..4a6d3f43ade2cb 100644 --- a/hw/top_darjeeling/rtl/autogen/top_darjeeling.sv +++ b/hw/top_darjeeling/rtl/autogen/top_darjeeling.sv @@ -274,6 +274,9 @@ module top_darjeeling #( import top_darjeeling_rnd_cnst_pkg::*; // Local Parameters + // local parameters for rv_core_ibex + localparam int unsigned RvCoreIbexNEscalationSeverities = alert_handler_reg_pkg::N_ESC_SEV; + localparam int unsigned RvCoreIbexWidthPingCounter = alert_handler_reg_pkg::PING_CNT_DW; // Signals logic [3:0] mio_p2d; @@ -838,6 +841,7 @@ module top_darjeeling #( assign lpg_cg_en[18] = clkmgr_aon_cg_en.main_otbn; assign lpg_rst_en[18] = rstmgr_aon_rst_en.lc[rstmgr_pkg::Domain0Sel]; + // tie-off unused connections //VCS coverage off // pragma coverage off @@ -2420,6 +2424,8 @@ module top_darjeeling #( .RndCnstLfsrPerm(RndCnstRvCoreIbexLfsrPerm), .RndCnstIbexKeyDefault(RndCnstRvCoreIbexIbexKeyDefault), .RndCnstIbexNonceDefault(RndCnstRvCoreIbexIbexNonceDefault), + .NEscalationSeverities(RvCoreIbexNEscalationSeverities), + .WidthPingCounter(RvCoreIbexWidthPingCounter), .PMPEnable(RvCoreIbexPMPEnable), .PMPGranularity(RvCoreIbexPMPGranularity), .PMPNumRegions(RvCoreIbexPMPNumRegions),