Package: entropy_src_pkg
- File: entropy_src_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 |
|---|---|---|
| entropy_src_pkg | endpackage |
Constants
| Name | Type | Value | Description |
|---|---|---|---|
| RNG_BUS_WIDTH | int | 4 | |
| CSRNG_BUS_WIDTH | int | 384 | |
| FIPS_BUS_WIDTH | int | 1 | |
| FIPS_CSRNG_BUS_WIDTH | int | FIPS_BUS_WIDTH + CSRNG_BUS_WIDTH | |
| entropy_src_hw_if_req_t | entropy_src_hw_if_req_t | undefined | |
| entropy_src_hw_if_rsp_t | entropy_src_hw_if_rsp_t | undefined | |
| cs_aes_halt_req_t | cs_aes_halt_req_t | undefined | |
| cs_aes_halt_rsp_t | cs_aes_halt_rsp_t | undefined | |
| entropy_src_rng_req_t | entropy_src_rng_req_t | undefined | |
| entropy_src_rng_rsp_t | entropy_src_rng_rsp_t | undefined | |
| entropy_src_xht_req_t | entropy_src_xht_req_t | undefined | |
| entropy_src_xht_rsp_t | entropy_src_xht_rsp_t | undefined |
Types
| Name | Type | Description |
|---|---|---|
| entropy_src_hw_if_rsp_t | struct packed { logic es_ack; logic [CSRNG_BUS_WIDTH-1:0] es_bits; logic [FIPS_BUS_WIDTH-1:0] es_fips; } |
es entropy i/f |
| entropy_src_hw_if_req_t | struct packed { logic es_req; } |
|
| cs_aes_halt_req_t | struct packed { logic cs_aes_halt_req; } |
csrng block encrypt request/ack i/f |
| cs_aes_halt_rsp_t | struct packed { logic cs_aes_halt_ack; } |
|
| entropy_src_rng_req_t | struct packed { logic rng_enable; } |
ast rng i/f |
| entropy_src_rng_rsp_t | struct packed { logic rng_valid; logic [RNG_BUS_WIDTH-1:0] rng_b; } |
|
| entropy_src_xht_req_t | struct packed { logic [RNG_BUS_WIDTH-1:0] entropy_bit; logic entropy_bit_valid; logic clear; logic active; logic [15:0] thresh_hi; logic [15:0] thresh_lo; logic [15:0] window; } |
external health test i/f |
| entropy_src_xht_rsp_t | struct packed { logic[15:0] test_cnt; logic test_fail_hi_pulse; logic test_fail_lo_pulse; } |