Package: lc_ctrl_env_pkg
- File: lc_ctrl_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
Signals
Name | Type | Description |
---|---|---|
EXP_LC_OUTPUTS | lc_outputs_t |
Constants
Name | Type | Value | Description |
---|---|---|---|
LIST_OF_ALERTS | string | { "fatal_prog_error", |
parameters |
uint | uint | 3 | |
uint | uint | 'ha5 | |
uint | uint | 24 | |
OTP_PROG_HDATA_WIDTH | uint | LcStateWidth + LcCountWidth | lc_otp_program host data width: lc_state_e width + lc_cnt_e width |
uint | uint | 1 |
Types
Name | Type | Description |
---|---|---|
lc_outputs_t | struct packed { lc_ctrl_pkg::lc_tx_e lc_dft_en_o; lc_ctrl_pkg::lc_tx_e lc_nvm_debug_en_o; lc_ctrl_pkg::lc_tx_e lc_hw_debug_en_o; lc_ctrl_pkg::lc_tx_e lc_cpu_en_o; lc_ctrl_pkg::lc_tx_e lc_creator_seed_sw_rw_en_o; lc_ctrl_pkg::lc_tx_e lc_owner_seed_sw_rw_en_o; lc_ctrl_pkg::lc_tx_e lc_seed_hw_rd_en_o; lc_ctrl_pkg::lc_tx_e lc_iso_part_sw_rd_en_o; lc_ctrl_pkg::lc_tx_e lc_iso_part_sw_wr_en_o; lc_ctrl_pkg::lc_tx_e lc_keymgr_en_o; lc_ctrl_pkg::lc_tx_e lc_escalate_en_o; } |
|
lc_pwr_if_e | enum bit [1:0] { LcPwrInitReq, LcPwrIdleRsp, LcPwrDoneRsp, LcPwrIfWidth } |
types |
pwr_lc_vif | virtual pins_if #(LcPwrIfWidth) | |
lc_ctrl_vif | virtual lc_ctrl_if |
Functions
- valid_state_for_trans (lc_state_e curr_state) return (bit)
Description
functions
- get_exp_token (dec_lc_state_e curr_state) return (lc_ctrl_pkg::token_idx_e)
- get_random_token () return (lc_ctrl_state_pkg::lc_token_t)