Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hw,alert_handler,rtl] Use full-scope package definition in toplevel #25935

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions hw/ip_templates/alert_handler/rtl/alert_handler.sv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,36 @@ module ${module_instance_name}
parameter lfsr_seed_t RndCnstLfsrSeed = RndCnstLfsrSeedDefault,
parameter lfsr_perm_t RndCnstLfsrPerm = RndCnstLfsrPermDefault
) (
input clk_i,
input rst_ni,
input rst_shadowed_ni,
input clk_edn_i,
input rst_edn_ni,
input clk_i,
input rst_ni,
input rst_shadowed_ni,
input clk_edn_i,
input rst_edn_ni,
// Bus Interface (device)
input tlul_pkg::tl_h2d_t tl_i,
output tlul_pkg::tl_d2h_t tl_o,
input tlul_pkg::tl_h2d_t tl_i,
output tlul_pkg::tl_d2h_t tl_o,
// Interrupt Requests
output logic intr_classa_o,
output logic intr_classb_o,
output logic intr_classc_o,
output logic intr_classd_o,
output logic intr_classa_o,
output logic intr_classb_o,
output logic intr_classc_o,
output logic intr_classd_o,
// Clock gating and reset info from rstmgr and clkmgr
// SEC_CM: LPG.INTERSIG.MUBI
input prim_mubi_pkg::mubi4_t [NLpg-1:0] lpg_cg_en_i,
input prim_mubi_pkg::mubi4_t [NLpg-1:0] lpg_rst_en_i,
input prim_mubi_pkg::mubi4_t [NLpg-1:0] lpg_cg_en_i,
input prim_mubi_pkg::mubi4_t [NLpg-1:0] lpg_rst_en_i,
// State information for HW crashdump
output alert_crashdump_t crashdump_o,
output alert_crashdump_t crashdump_o,
// Entropy Input
output edn_pkg::edn_req_t edn_o,
input edn_pkg::edn_rsp_t edn_i,
output edn_pkg::edn_req_t edn_o,
input edn_pkg::edn_rsp_t edn_i,
// Alert Sources
// SEC_CM: ALERT.INTERSIG.DIFF
input alert_tx_t [NAlerts-1:0] alert_tx_i,
output alert_rx_t [NAlerts-1:0] alert_rx_o,
input prim_alert_pkg::alert_tx_t [NAlerts-1:0] alert_tx_i,
output prim_alert_pkg::alert_rx_t [NAlerts-1:0] alert_rx_o,
// Escalation outputs
// SEC_CM: ESC.INTERSIG.DIFF
input esc_rx_t [N_ESC_SEV-1:0] esc_rx_i,
output esc_tx_t [N_ESC_SEV-1:0] esc_tx_o
input prim_esc_pkg::esc_rx_t [N_ESC_SEV-1:0] esc_rx_i,
output prim_esc_pkg::esc_tx_t [N_ESC_SEV-1:0] esc_tx_o
);

//////////////////////////////////
Expand Down
40 changes: 20 additions & 20 deletions hw/top_darjeeling/ip_autogen/alert_handler/rtl/alert_handler.sv
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,36 @@ module alert_handler
parameter lfsr_seed_t RndCnstLfsrSeed = RndCnstLfsrSeedDefault,
parameter lfsr_perm_t RndCnstLfsrPerm = RndCnstLfsrPermDefault
) (
input clk_i,
input rst_ni,
input rst_shadowed_ni,
input clk_edn_i,
input rst_edn_ni,
input clk_i,
input rst_ni,
input rst_shadowed_ni,
input clk_edn_i,
input rst_edn_ni,
// Bus Interface (device)
input tlul_pkg::tl_h2d_t tl_i,
output tlul_pkg::tl_d2h_t tl_o,
input tlul_pkg::tl_h2d_t tl_i,
output tlul_pkg::tl_d2h_t tl_o,
// Interrupt Requests
output logic intr_classa_o,
output logic intr_classb_o,
output logic intr_classc_o,
output logic intr_classd_o,
output logic intr_classa_o,
output logic intr_classb_o,
output logic intr_classc_o,
output logic intr_classd_o,
// Clock gating and reset info from rstmgr and clkmgr
// SEC_CM: LPG.INTERSIG.MUBI
input prim_mubi_pkg::mubi4_t [NLpg-1:0] lpg_cg_en_i,
input prim_mubi_pkg::mubi4_t [NLpg-1:0] lpg_rst_en_i,
input prim_mubi_pkg::mubi4_t [NLpg-1:0] lpg_cg_en_i,
input prim_mubi_pkg::mubi4_t [NLpg-1:0] lpg_rst_en_i,
// State information for HW crashdump
output alert_crashdump_t crashdump_o,
output alert_crashdump_t crashdump_o,
// Entropy Input
output edn_pkg::edn_req_t edn_o,
input edn_pkg::edn_rsp_t edn_i,
output edn_pkg::edn_req_t edn_o,
input edn_pkg::edn_rsp_t edn_i,
// Alert Sources
// SEC_CM: ALERT.INTERSIG.DIFF
input alert_tx_t [NAlerts-1:0] alert_tx_i,
output alert_rx_t [NAlerts-1:0] alert_rx_o,
input prim_alert_pkg::alert_tx_t [NAlerts-1:0] alert_tx_i,
output prim_alert_pkg::alert_rx_t [NAlerts-1:0] alert_rx_o,
// Escalation outputs
// SEC_CM: ESC.INTERSIG.DIFF
input esc_rx_t [N_ESC_SEV-1:0] esc_rx_i,
output esc_tx_t [N_ESC_SEV-1:0] esc_tx_o
input prim_esc_pkg::esc_rx_t [N_ESC_SEV-1:0] esc_rx_i,
output prim_esc_pkg::esc_tx_t [N_ESC_SEV-1:0] esc_tx_o
);

//////////////////////////////////
Expand Down
40 changes: 20 additions & 20 deletions hw/top_earlgrey/ip_autogen/alert_handler/rtl/alert_handler.sv
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,36 @@ module alert_handler
parameter lfsr_seed_t RndCnstLfsrSeed = RndCnstLfsrSeedDefault,
parameter lfsr_perm_t RndCnstLfsrPerm = RndCnstLfsrPermDefault
) (
input clk_i,
input rst_ni,
input rst_shadowed_ni,
input clk_edn_i,
input rst_edn_ni,
input clk_i,
input rst_ni,
input rst_shadowed_ni,
input clk_edn_i,
input rst_edn_ni,
// Bus Interface (device)
input tlul_pkg::tl_h2d_t tl_i,
output tlul_pkg::tl_d2h_t tl_o,
input tlul_pkg::tl_h2d_t tl_i,
output tlul_pkg::tl_d2h_t tl_o,
// Interrupt Requests
output logic intr_classa_o,
output logic intr_classb_o,
output logic intr_classc_o,
output logic intr_classd_o,
output logic intr_classa_o,
output logic intr_classb_o,
output logic intr_classc_o,
output logic intr_classd_o,
// Clock gating and reset info from rstmgr and clkmgr
// SEC_CM: LPG.INTERSIG.MUBI
input prim_mubi_pkg::mubi4_t [NLpg-1:0] lpg_cg_en_i,
input prim_mubi_pkg::mubi4_t [NLpg-1:0] lpg_rst_en_i,
input prim_mubi_pkg::mubi4_t [NLpg-1:0] lpg_cg_en_i,
input prim_mubi_pkg::mubi4_t [NLpg-1:0] lpg_rst_en_i,
// State information for HW crashdump
output alert_crashdump_t crashdump_o,
output alert_crashdump_t crashdump_o,
// Entropy Input
output edn_pkg::edn_req_t edn_o,
input edn_pkg::edn_rsp_t edn_i,
output edn_pkg::edn_req_t edn_o,
input edn_pkg::edn_rsp_t edn_i,
// Alert Sources
// SEC_CM: ALERT.INTERSIG.DIFF
input alert_tx_t [NAlerts-1:0] alert_tx_i,
output alert_rx_t [NAlerts-1:0] alert_rx_o,
input prim_alert_pkg::alert_tx_t [NAlerts-1:0] alert_tx_i,
output prim_alert_pkg::alert_rx_t [NAlerts-1:0] alert_rx_o,
// Escalation outputs
// SEC_CM: ESC.INTERSIG.DIFF
input esc_rx_t [N_ESC_SEV-1:0] esc_rx_i,
output esc_tx_t [N_ESC_SEV-1:0] esc_tx_o
input prim_esc_pkg::esc_rx_t [N_ESC_SEV-1:0] esc_rx_i,
output prim_esc_pkg::esc_tx_t [N_ESC_SEV-1:0] esc_tx_o
);

//////////////////////////////////
Expand Down
Loading