Package: csrng_pkg
- File: csrng_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 |
---|---|---|
csrng_pkg | endpackage |
Constants
Name | Type | Value | Description |
---|---|---|---|
GENBITS_BUS_WIDTH | int unsigned | 128 | |
CSRNG_CMD_WIDTH | int unsigned | 32 | |
FIPS_GENBITS_BUS_WIDTH | int unsigned | ||
csrng_req_t | csrng_req_t | undefined | |
csrng_rsp_t | csrng_rsp_t | undefined | |
CsKeymgrDivWidth | int | 384 | |
CS_MODE_WIDTH | int | 4 | Sparse four-value signal type |
Types
Name | Type | Description |
---|---|---|
csrng_req_t | struct packed { logic csrng_req_valid; logic [CSRNG_CMD_WIDTH-1:0] csrng_req_bus; logic genbits_ready; } |
instantiation interface |
csrng_rsp_t | struct packed { logic csrng_req_ready; logic csrng_rsp_ack; logic csrng_rsp_sts; logic genbits_valid; logic genbits_fips; logic [GENBITS_BUS_WIDTH-1:0] genbits_bus; } |
|
acmd_e | enum logic [2:0] { INV = 3'h0, INS = 3'h1, RES = 3'h2, GEN = 3'h3, UPD = 3'h4, UNI = 3'h5, GENB = 3'h6, GENU = 3'h7 } |
|
cs_keymgr_div_t | logic [CsKeymgrDivWidth-1:0] | |
cs_enb_e | enum logic [CS_MODE_WIDTH-1:0] { CS_FIELD_ON = 4'b1010 } |