From 266a4541d9f2cfc7f5dd2fbb70472abe4eb1b8b5 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Mon, 21 Jun 2021 13:56:51 +0800 Subject: [PATCH] emulation: update renode svd file Signed-off-by: Sean Cross --- emulation/soc/renode.svd | 1250 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 1205 insertions(+), 45 deletions(-) diff --git a/emulation/soc/renode.svd b/emulation/soc/renode.svd index 0cfe8a7c1..05760c02e 100644 --- a/emulation/soc/renode.svd +++ b/emulation/soc/renode.svd @@ -3,7 +3,7 @@ litex SOC - + 8 32 @@ -671,6 +671,7 @@ register to disable individual events.]]> TXFULL + 0x0004 0x00 32 @@ -685,6 +686,7 @@ register to disable individual events.]]> RXEMPTY + 0x0008 0x00 32 @@ -771,6 +773,7 @@ register to disable individual events.]]> TXEMPTY + 0x0018 0x00 32 @@ -785,6 +788,7 @@ register to disable individual events.]]> RXFULL + 0x001c 0x00 32 @@ -829,6 +833,7 @@ register to disable individual events.]]> TXFULL + 0x0004 0x00 32 @@ -843,6 +848,7 @@ register to disable individual events.]]> RXEMPTY + 0x0008 0x00 32 @@ -929,6 +935,7 @@ register to disable individual events.]]> TXEMPTY + 0x0018 0x00 32 @@ -943,6 +950,7 @@ register to disable individual events.]]> RXFULL + 0x001c 0x00 32 @@ -987,6 +995,7 @@ register to disable individual events.]]> TXFULL + 0x0004 0x00 32 @@ -1001,6 +1010,7 @@ register to disable individual events.]]> RXEMPTY + 0x0008 0x00 32 @@ -1087,6 +1097,7 @@ register to disable individual events.]]> TXEMPTY + 0x0018 0x00 32 @@ -1101,6 +1112,7 @@ register to disable individual events.]]> RXFULL + 0x001c 0x00 32 @@ -1162,7 +1174,7 @@ register to disable individual events.]]> GIT_MAJOR +``v0.8.2``, so this value is ``0``.]]> 0x0008 0x00 32 @@ -1178,7 +1190,7 @@ register to disable individual events.]]> GIT_MINOR +``v0.8.2``, so this value is ``8``.]]> 0x000c 0x08 32 @@ -1194,9 +1206,9 @@ register to disable individual events.]]> GIT_REVISION +``v0.8.2``, so this value is ``2``.]]> 0x0010 - 0x01 + 0x02 32 @@ -1210,10 +1222,10 @@ register to disable individual events.]]> GIT_GITREV 0x0014 - 0xcf5b40e6 + 0x92629e91 32 @@ -1230,7 +1242,7 @@ the exact git version used to build this firmware.]]> is ``1``, then the repository this was built from has one additional commit beyond the tag indicated in `MAJOR`, `MINOR`, and `REVISION`.]]> 0x0018 - 0x00 + 0x16 32 @@ -3439,7 +3451,7 @@ inject too fast.]]> SEED1 0x0000 - 0x742b5c26 + 0x24a0246f 32 @@ -3454,7 +3466,7 @@ inject too fast.]]> SEED0 0x0004 - 0x645c9ef4 + 0x43f81cb4 32 @@ -3938,14 +3950,49 @@ I2S_FORMAT.I2S_STANDARD is I2S standard]]> 31 [31:0] 0 - + + + + + + URANDOM + + 0x0008 + 0x00 + 32 + + + urandom + 31 + [31:0] + 0 + + + + + URANDOM_VALID + + 0x000c + 0x00 + 32 + + + urandom_valid + 0 + [0:0] + 0 EV_STATUS - 0x0008 + 0x0010 0x00 32 @@ -3968,7 +4015,7 @@ I2S_FORMAT.I2S_STANDARD is I2S standard]]> EV_PENDING - 0x000c + 0x0014 0x00 32 @@ -3991,7 +4038,7 @@ I2S_FORMAT.I2S_STANDARD is I2S standard]]> EV_ENABLE - 0x0010 + 0x0018 0x00 32 @@ -4014,7 +4061,7 @@ I2S_FORMAT.I2S_STANDARD is I2S standard]]> 0 - 0x14 + 0x1c registers @@ -4063,17 +4110,10 @@ I2S_FORMAT.I2S_STANDARD is I2S standard]]> when cleared, TRNGs are always on]]> - no_check + clr_err 4 [4:4] 4 - - - - clr_err - 5 - [5:5] - 5 @@ -4089,7 +4129,11 @@ when cleared, TRNGs are always on]]> 31 [31:0] 0 - + @@ -4127,6 +4171,13 @@ when cleared, TRNGs are always on]]> 21 + + chacha_ready + 22 + [22:22] + 22 + + @@ -4159,6 +4210,14 @@ decrease quality. Default is 32.]]> directly placed into the FIFO at full rate, creating a 'virtual oscilloscope' snapshot of the avalanche generator waveform.]]> + + required + 29 + [29:29] + 29 + + @@ -4179,8 +4238,8 @@ snapshot of the avalanche generator waveform.]]> 12 [12:1] 1 - @@ -4200,7 +4259,7 @@ coupling of the deterministic sysclk noise into the rings.]]> 23 [23:23] 23 - @@ -4216,8 +4275,56 @@ add another stage.]]> - ERRORS + AV_NIST 0x0014 + 0xcd29 + 32 + + + repcount_cutoff + 6 + [6:0] + 0 + + + + adaptive_cutoff + 15 + [15:7] + 7 + + + + + + RO_NIST + 0x0018 + 0x1a443 + 32 + + + repcount_cutoff + 6 + [6:0] + 0 + + + + adaptive_cutoff + 16 + [16:7] + 7 + + + + + + UNDERRUNS + 0x001c 0x00 32 @@ -4237,26 +4344,943 @@ to max field size]]> + + + + NIST_ERRORS + 0x0020 + 0x00 + 32 + - ro_health - 20 - [20:20] - 20 - + av_repcount + 1 + [1:0] + 0 + - av_health + av_adaptive + 3 + [3:2] + 2 + + + + ro_repcount + 7 + [7:4] + 4 + + + + ro_adaptive + 11 + [11:8] + 8 + + + + ro_miniruns + 15 + [15:12] + 12 + + + + + + NIST_RO_STAT0 + 0x0024 + 0x00 + 32 + + + adap_b + 9 + [9:0] + 0 + + + + fresh + 10 + [10:10] + 10 + + + + rep_b + 17 + [17:11] + 11 + + + + + + NIST_RO_STAT1 + 0x0028 + 0x00 + 32 + + + adap_b + 9 + [9:0] + 0 + + + + fresh + 10 + [10:10] + 10 + + + + rep_b + 17 + [17:11] + 11 + + + + + + NIST_RO_STAT2 + 0x002c + 0x00 + 32 + + + adap_b + 9 + [9:0] + 0 + + + + fresh + 10 + [10:10] + 10 + + + + rep_b + 17 + [17:11] + 11 + + + + + + NIST_RO_STAT3 + 0x0030 + 0x00 + 32 + + + adap_b + 9 + [9:0] + 0 + + + + fresh + 10 + [10:10] + 10 + + + + rep_b + 17 + [17:11] + 11 + + + + + + NIST_AV_STAT0 + 0x0034 + 0x00 + 32 + + + adap_b + 9 + [9:0] + 0 + + + + fresh + 10 + [10:10] + 10 + + + + rep_b + 17 + [17:11] + 11 + + + + + + NIST_AV_STAT1 + 0x0038 + 0x00 + 32 + + + adap_b + 9 + [9:0] + 0 + + + + fresh + 10 + [10:10] + 10 + + + + rep_b + 17 + [17:11] + 11 + + + + + + RO_RUNSLIMIT1 + 0x003c + 0x1241b8 + 32 + + + min + 10 + [10:0] + 0 + + + + max 21 - [21:21] - 21 - + [21:11] + 11 + + + + + + RO_RUNSLIMIT2 + 0x0040 + 0x9f0c1 + 32 + + + min + 10 + [10:0] + 0 + + + + max + 21 + [21:11] + 11 + + + + + + RO_RUNSLIMIT3 + 0x0044 + 0x57850 + 32 + + + min + 10 + [10:0] + 0 + + + + max + 21 + [21:11] + 11 + + + + + + RO_RUNSLIMIT4 + 0x0048 + 0x3181d + 32 + + + min + 10 + [10:0] + 0 + + + + max + 21 + [21:11] + 11 + + + + + + RO_RUNSLIMIT5 + 0x004c + 0x1c807 + 32 + + + min + 10 + [10:0] + 0 + + + + max + 21 + [21:11] + 11 + + + + + + RO_RUN0_CTRL + 0x0050 + 0x3ff + 32 + + + window + 10 + [10:0] + 0 + + + + + + RO_RUN0_FRESH + + 0x0054 + 0x00 + 32 + + + ro_run0_fresh + 4 + [4:0] + 0 + + + + + RO_RUN0_COUNT1 + + 0x0058 + 0x00 + 32 + + + ro_run0_count1 + 10 + [10:0] + 0 + + + + + RO_RUN0_COUNT2 + + 0x005c + 0x00 + 32 + + + ro_run0_count2 + 10 + [10:0] + 0 + + + + + RO_RUN0_COUNT3 + + 0x0060 + 0x00 + 32 + + + ro_run0_count3 + 10 + [10:0] + 0 + + + + + RO_RUN0_COUNT4 + + 0x0064 + 0x00 + 32 + + + ro_run0_count4 + 10 + [10:0] + 0 + + + + + RO_RUN0_COUNT5 + + 0x0068 + 0x00 + 32 + + + ro_run0_count5 + 10 + [10:0] + 0 + + + + + RO_RUN1_CTRL + 0x006c + 0x3ff + 32 + + + window + 10 + [10:0] + 0 + + + + + + RO_RUN1_FRESH + + 0x0070 + 0x00 + 32 + + + ro_run1_fresh + 4 + [4:0] + 0 + + + + + RO_RUN1_COUNT1 + + 0x0074 + 0x00 + 32 + + + ro_run1_count1 + 10 + [10:0] + 0 + + + + + RO_RUN1_COUNT2 + + 0x0078 + 0x00 + 32 + + + ro_run1_count2 + 10 + [10:0] + 0 + + + + + RO_RUN1_COUNT3 + + 0x007c + 0x00 + 32 + + + ro_run1_count3 + 10 + [10:0] + 0 + + + + + RO_RUN1_COUNT4 + + 0x0080 + 0x00 + 32 + + + ro_run1_count4 + 10 + [10:0] + 0 + + + + + RO_RUN1_COUNT5 + + 0x0084 + 0x00 + 32 + + + ro_run1_count5 + 10 + [10:0] + 0 + + + + + RO_RUN2_CTRL + 0x0088 + 0x3ff + 32 + + + window + 10 + [10:0] + 0 + + + + + + RO_RUN2_FRESH + + 0x008c + 0x00 + 32 + + + ro_run2_fresh + 4 + [4:0] + 0 + + + + + RO_RUN2_COUNT1 + + 0x0090 + 0x00 + 32 + + + ro_run2_count1 + 10 + [10:0] + 0 + + + + + RO_RUN2_COUNT2 + + 0x0094 + 0x00 + 32 + + + ro_run2_count2 + 10 + [10:0] + 0 + + + + + RO_RUN2_COUNT3 + + 0x0098 + 0x00 + 32 + + + ro_run2_count3 + 10 + [10:0] + 0 + + + + + RO_RUN2_COUNT4 + + 0x009c + 0x00 + 32 + + + ro_run2_count4 + 10 + [10:0] + 0 + + + + + RO_RUN2_COUNT5 + + 0x00a0 + 0x00 + 32 + + + ro_run2_count5 + 10 + [10:0] + 0 + + + + + RO_RUN3_CTRL + 0x00a4 + 0x3ff + 32 + + + window + 10 + [10:0] + 0 + + + + + + RO_RUN3_FRESH + + 0x00a8 + 0x00 + 32 + + + ro_run3_fresh + 4 + [4:0] + 0 + + + + + RO_RUN3_COUNT1 + + 0x00ac + 0x00 + 32 + + + ro_run3_count1 + 10 + [10:0] + 0 + + + + + RO_RUN3_COUNT2 + + 0x00b0 + 0x00 + 32 + + + ro_run3_count2 + 10 + [10:0] + 0 + + + + + RO_RUN3_COUNT3 + + 0x00b4 + 0x00 + 32 + + + ro_run3_count3 + 10 + [10:0] + 0 + + + + + RO_RUN3_COUNT4 + + 0x00b8 + 0x00 + 32 + + + ro_run3_count4 + 10 + [10:0] + 0 + + + + + RO_RUN3_COUNT5 + + 0x00bc + 0x00 + 32 + + + ro_run3_count5 + 10 + [10:0] + 0 + + + + + AV_EXCURSION0_CTRL + 0x00c0 + 0x190140 + 32 + + + cutoff + 11 + [11:0] + 0 + + + + reset + 12 + [12:12] + 12 + + + + window + 31 + [31:13] + 13 + + + + + + AV_EXCURSION0_STAT + 0x00c4 + 0x00 + 32 + + + min + 11 + [11:0] + 0 + + + + max + 23 + [23:12] + 12 + + + + + + AV_EXCURSION0_LAST_ERR + 0x00c8 + 0x00 + 32 + + + min + 11 + [11:0] + 0 + + + + max + 23 + [23:12] + 12 + + + + + + AV_EXCURSION1_CTRL + 0x00cc + 0x190140 + 32 + + + cutoff + 11 + [11:0] + 0 + + + + reset + 12 + [12:12] + 12 + + + + window + 31 + [31:13] + 13 + + + + + + AV_EXCURSION1_STAT + 0x00d0 + 0x00 + 32 + + + min + 11 + [11:0] + 0 + + + + max + 23 + [23:12] + 12 + + + + + + AV_EXCURSION1_LAST_ERR + 0x00d4 + 0x00 + 32 + + + min + 11 + [11:0] + 0 + + + + max + 23 + [23:12] + 12 + + + + + + READY + 0x00d8 + 0x00 + 32 + + + av_excursion + 1 + [1:0] + 0 + + + + av_adaprop + 3 + [3:2] + 2 + + + + ro_adaprop + 7 + [7:4] + 4 + EV_STATUS - - 0x0018 + + 0x00dc 0x00 32 @@ -4281,12 +5305,26 @@ to max field size]]> 2 + + excursion0 + 3 + [3:3] + 3 + + + + excursion1 + 4 + [4:4] + 4 + + EV_PENDING - - 0x001c + + 0x00e0 0x00 32 @@ -4311,12 +5349,26 @@ to max field size]]> 2 + + excursion0 + 3 + [3:3] + 3 + + + + excursion1 + 4 + [4:4] + 4 + + EV_ENABLE - - 0x0020 + + 0x00e4 0x00 32 @@ -4341,12 +5393,120 @@ to max field size]]> 2 + + excursion0 + 3 + [3:3] + 3 + + + + excursion1 + 4 + [4:4] + 4 + + + + + + CHACHA + 0x00e8 + 0x100c8002 + 32 + + + reseed_interval + 11 + [11:0] + 0 + + + + selfmix_interval + 27 + [27:12] + 12 + + + + selfmix_ena + 28 + [28:28] + 28 + + + + + + SEED + + 0x00ec + 0x00 + 32 + + + seed + 31 + [31:0] + 0 + + + + + URANDOM + + 0x00f0 + 0x00 + 32 + + + urandom + 31 + [31:0] + 0 + + + + + URANDOM_VALID + + 0x00f4 + 0x00 + 32 + + + urandom_valid + 0 + [0:0] + 0 + + + + + TEST + 0x00f8 + 0x00 + 32 + + + simultaneous + 0 + [0:0] + 0 + + 0 - 0x24 + 0xfc registers @@ -4363,7 +5523,7 @@ to max field size]]> XADC_TEMPERATURE +Temperature (C) = ``Value`` x 503.975 / 4096 - 273.15.]]> 0x0000 0x00 32