Package: otbn_env_pkg
- File: otbn_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 | 
|---|---|---|
| helper | chandle | |
| index | chandle | 
Constants
| Name | Type | Value | Description | 
|---|---|---|---|
| LIST_OF_ALERTS | string | { "fatal", "recov"} | parameters | 
| uint | uint | otbn_reg_pkg::NumAlerts | |
| MNEM_STR_LEN | int unsigned | 16 | Used for coverage in otbn_env_cov.sv (where we need to convert string mnemonics to a packed integral type) | 
Types
| Name | Type | Description | 
|---|---|---|
| idle_vif | virtual pins_if #(1) | typedefs | 
| tl_source_t | logic [TL_AIW-1:0] | |
| otbn_exp_read_data_t | struct packed { bit upd; logic chk; logic [BUS_DW-1:0] val; } | Expected data for a pending read (see exp_read_values in otbn_scoreboard.sv) | 
| mnem_str_t | bit [MNEM_STR_LEN*8-1:0] | |
| otbn_loaded_word | struct packed { bit for_imem; bit [21:0] offset; bit [31:0] data; } | A very simple wrapper around a word that has been loaded from the input binary and needs storing to OTBN's IMEM or DMEM. | 
| stack_fullness_e | enum { StackEmpty, StackPartial, StackFull } | |
| call_stack_flags_t | struct packed { logic pop_a; logic pop_b; logic push; } |