aboutsummaryrefslogtreecommitdiff
path: root/src/rtl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtl')
-rw-r--r--src/rtl/trng_csprng.v4
-rw-r--r--src/rtl/trng_mixer.v4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/rtl/trng_csprng.v b/src/rtl/trng_csprng.v
index d33e72a..c0a0c12 100644
--- a/src/rtl/trng_csprng.v
+++ b/src/rtl/trng_csprng.v
@@ -69,11 +69,11 @@ module trng_csprng(
localparam ADDR_NAME1 = 8'h01;
localparam ADDR_VERSION = 8'h02;
- localparam ADDR_CTRL = 8'h10;
+ localparam ADDR_CTRL = 8'h08;
localparam CTRL_ENABLE_BIT = 0;
localparam CTRL_SEED_BIT = 1;
- localparam ADDR_STATUS = 8'h11;
+ localparam ADDR_STATUS = 8'h09;
localparam STATUS_RND_VALID_BIT = 0;
localparam ADDR_STAT_BLOCKS_LOW = 8'h14;
diff --git a/src/rtl/trng_mixer.v b/src/rtl/trng_mixer.v
index d192090..32d9216 100644
--- a/src/rtl/trng_mixer.v
+++ b/src/rtl/trng_mixer.v
@@ -103,10 +103,10 @@ module trng_mixer(
localparam ADDR_NAME1 = 8'h01;
localparam ADDR_VERSION = 8'h02;
- localparam ADDR_MIXER_CTRL = 8'h10;
+ localparam ADDR_MIXER_CTRL = 8'h08;
localparam MIXER_CTRL_ENABLE_BIT = 0;
localparam MIXER_CTRL_RESTART_BIT = 1;
- localparam ADDR_MIXER_STATUS = 8'h11;
+ localparam ADDR_MIXER_STATUS = 8'h09;
localparam ADDR_MIXER_TIMEOUT = 8'h20;
localparam DEFAULT_ENTROPY_TIMEOUT = 24'h100000;