Package: alert_handler_env_pkg
- File: alert_handler_env_pkg.sv
Description
Copyright lowRISC contributors.
Licensed under the Apache License, Version 2.0, see LICENSE for details.
SPDX-License-Identifier: Apache-2.0
Constants
Name | Type | Value | Description |
---|---|---|---|
uint | uint | alert_handler_reg_pkg::NAlerts | parameters |
uint | uint | 4 | |
uint | uint | 8 | |
uint | uint | 4 | |
uint | uint | 4 | |
uint | uint | 4 | |
uint | uint | $clog2(NUM_ALERT_CLASSES) - 1 | |
uint | uint | 2 | |
uint | uint | 4 | |
NUM_ALERTS | bit [NUM_ALERTS-1:0] | alert_handler_reg_pkg::AsyncOn | |
uint | uint | 100 | ignore esc signal cycle count after ping occurs - as ping response might ended up adding one extra cycle to the calculated cnt, or even combine two signals into one. |
uint | uint | 100 | set the max ping timeout cycle to constrain the simulation run time |
Types
Name | Type | Description |
---|---|---|
esc_phase_e | enum { EscPhase0, EscPhase1, EscPhase2, EscPhase3 } |
types |
alert_class_ctrl_e | enum { AlertClassCtrlEn, AlertClassCtrlLock, AlertClassCtrlEnE0, AlertClassCtrlEnE1, AlertClassCtrlEnE2, AlertClassCtrlEnE3, AlertClassCtrlMapE0, AlertClassCtrlMapE1, AlertClassCtrlMapE2, AlertClassCtrlMapE3 } |
|
esc_state_e | enum { EscStateIdle = 'b000, EscStateTimeout = 'b001, EscStateTerminal = 'b011, EscStatePhase0 = 'b100, EscStatePhase1 = 'b101, EscStatePhase2 = 'b110, EscStatePhase3 = 'b111 } |
|
local_alert_type_e | enum { LocalAlertPingFail, LocalEscPingFail, LocalAlertIntFail, LocalEscIntFail, LocalBusIntgFail, LocalShadowRegUpdateErr, LocalShadowRegStorageErr } |
|
esc_en_vif | virtual pins_if #(NUM_MAX_ESC_SEV) | forward declare classes to allow typedefs below |
entropy_vif | virtual pins_if #(1) |