Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
752c5df
[rtl,earlgrey] remove flash_ctrl from earlgrey
gautschimi Aug 13, 2026
645e9b5
[rtl,top_earlgrey] autogen changes for flash ctrl removal
gautschimi Aug 13, 2026
2117f5e
[dv,earlgrey] exclude flash specific tests
gautschimi Aug 13, 2026
bd8ebf8
[sw,rram_ctrl] port remaining tests to rram_ctrl
gautschimi Aug 13, 2026
1093727
[rram,flash,sw] remove stale flash dependencies
gautschimi Aug 13, 2026
ee35e1a
[sw,alert] manual alert/interrupt changes
gautschimi Aug 13, 2026
c664ddd
[dv,earlgrey] port functionality from flash to RRAM
gautschimi Aug 13, 2026
e8c8094
[sw,host,unittests] Disable unittests that depend on mock_flash_ctrl
gautschimi Aug 13, 2026
c8d4e39
[rtl,bkdr_loader] remove flash targets
gautschimi Aug 13, 2026
0702673
[sw,rram_ctrl] add first version of rram_exc_handler
gautschimi Aug 13, 2026
1095f11
[sw,penetrationtests] disable flash-specific parts
gautschimi Aug 13, 2026
d0b0547
[util,bkdr_loader] remove flash targets
gautschimi Aug 13, 2026
28c4275
[verilator,earlgrey] remove flash references
gautschimi Aug 13, 2026
078299d
[sw,rom_ext] fix size of rom_ext_virtual
gautschimi Aug 14, 2026
1d50b75
[nvm_ctrl,sw] use nvm_ctrl in rom_epmp_test
gautschimi Aug 14, 2026
f661cdf
[sw,dv,alert] Port all_escalation_reset_test
gautschimi Aug 14, 2026
3cdf5ed
[top_earlgrey,doc] Update documentation
gautschimi Aug 16, 2026
7a6c62a
[util,rram] make gen-rram-img slot aware
gautschimi Aug 17, 2026
121f373
[dv,EarlGrey] Port chip_sw_ate* to RRAM
gautschimi Aug 17, 2026
8159b24
[earlgrey,formal] remove stale flash references for formal
gautschimi Aug 17, 2026
bee7eee
[sw,dv,csrng_test] use nvm_ctrl in port csrng_lc_hw_debug_en_test
gautschimi Aug 17, 2026
8d1213c
[rram_ctrl,dv,sw] Port flash_ctrl_lc_rw_en test to rram
gautschimi Aug 18, 2026
081543a
[rram_ctrl,dv,sw] Port flash_rma_unlocked to RRAM
gautschimi Aug 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ci/scripts/run-verilator-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ set -e
//sw/device/tests:otbn_irq_test_sim_verilator \
//sw/device/tests:kmac_mode_cshake_test_sim_verilator \
//sw/device/tests:kmac_mode_kmac_test_sim_verilator \
//sw/device/tests:flash_ctrl_test_sim_verilator \
//sw/device/tests:usbdev_test_sim_verilator \
//sw/device/silicon_creator/lib/drivers:hmac_functest_sim_verilator \
//sw/device/silicon_creator/lib/drivers:uart_functest_sim_verilator \
Expand Down
2 changes: 1 addition & 1 deletion hw/ip/bkdr_loader/data/bkdr_loader.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
{ name: "NumBkdrTgts",
desc: "Number of RAM Targets",
type: "int unsigned",
default: "14",
default: "6",
}
{ name: "MaxWordWidthDiv32",
desc: "Max bit width of a word / 32",
Expand Down
128 changes: 32 additions & 96 deletions hw/ip/bkdr_loader/doc/registers.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,42 +16,18 @@
| bkdr_loader.[`TARGET_INFO_3`](#target_info) | 0x10c | 4 | ASCII 4-character string values (big endian) identifying each bkdr target memory. |
| bkdr_loader.[`TARGET_INFO_4`](#target_info) | 0x110 | 4 | ASCII 4-character string values (big endian) identifying each bkdr target memory. |
| bkdr_loader.[`TARGET_INFO_5`](#target_info) | 0x114 | 4 | ASCII 4-character string values (big endian) identifying each bkdr target memory. |
| bkdr_loader.[`TARGET_INFO_6`](#target_info) | 0x118 | 4 | ASCII 4-character string values (big endian) identifying each bkdr target memory. |
| bkdr_loader.[`TARGET_INFO_7`](#target_info) | 0x11c | 4 | ASCII 4-character string values (big endian) identifying each bkdr target memory. |
| bkdr_loader.[`TARGET_INFO_8`](#target_info) | 0x120 | 4 | ASCII 4-character string values (big endian) identifying each bkdr target memory. |
| bkdr_loader.[`TARGET_INFO_9`](#target_info) | 0x124 | 4 | ASCII 4-character string values (big endian) identifying each bkdr target memory. |
| bkdr_loader.[`TARGET_INFO_10`](#target_info) | 0x128 | 4 | ASCII 4-character string values (big endian) identifying each bkdr target memory. |
| bkdr_loader.[`TARGET_INFO_11`](#target_info) | 0x12c | 4 | ASCII 4-character string values (big endian) identifying each bkdr target memory. |
| bkdr_loader.[`TARGET_INFO_12`](#target_info) | 0x130 | 4 | ASCII 4-character string values (big endian) identifying each bkdr target memory. |
| bkdr_loader.[`TARGET_INFO_13`](#target_info) | 0x134 | 4 | ASCII 4-character string values (big endian) identifying each bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_0`](#width_info) | 0x200 | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_1`](#width_info) | 0x204 | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_2`](#width_info) | 0x208 | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_3`](#width_info) | 0x20c | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_4`](#width_info) | 0x210 | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_5`](#width_info) | 0x214 | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_6`](#width_info) | 0x218 | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_7`](#width_info) | 0x21c | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_8`](#width_info) | 0x220 | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_9`](#width_info) | 0x224 | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_10`](#width_info) | 0x228 | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_11`](#width_info) | 0x22c | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_12`](#width_info) | 0x230 | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`WIDTH_INFO_13`](#width_info) | 0x234 | 4 | The SRAM word width of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_0`](#depth_info) | 0x300 | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_1`](#depth_info) | 0x304 | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_2`](#depth_info) | 0x308 | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_3`](#depth_info) | 0x30c | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_4`](#depth_info) | 0x310 | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_5`](#depth_info) | 0x314 | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_6`](#depth_info) | 0x318 | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_7`](#depth_info) | 0x31c | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_8`](#depth_info) | 0x320 | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_9`](#depth_info) | 0x324 | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_10`](#depth_info) | 0x328 | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_11`](#depth_info) | 0x32c | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_12`](#depth_info) | 0x330 | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`DEPTH_INFO_13`](#depth_info) | 0x334 | 4 | The number of SRAM words of a given bkdr target memory. |
| bkdr_loader.[`READ_DATA_0`](#read_data) | 0x400 | 4 | Value to be read from the target memory at the current `INDEX`. If |
| bkdr_loader.[`READ_DATA_1`](#read_data) | 0x404 | 4 | Value to be read from the target memory at the current `INDEX`. If |
| bkdr_loader.[`READ_DATA_2`](#read_data) | 0x408 | 4 | Value to be read from the target memory at the current `INDEX`. If |
Expand All @@ -75,14 +51,6 @@
| bkdr_loader.[`HASH_LAST_LOADED_3`](#hash_last_loaded) | 0x70c | 4 | Non-reset register to store a hash digest of the memory file loaded most recently. |
| bkdr_loader.[`HASH_LAST_LOADED_4`](#hash_last_loaded) | 0x710 | 4 | Non-reset register to store a hash digest of the memory file loaded most recently. |
| bkdr_loader.[`HASH_LAST_LOADED_5`](#hash_last_loaded) | 0x714 | 4 | Non-reset register to store a hash digest of the memory file loaded most recently. |
| bkdr_loader.[`HASH_LAST_LOADED_6`](#hash_last_loaded) | 0x718 | 4 | Non-reset register to store a hash digest of the memory file loaded most recently. |
| bkdr_loader.[`HASH_LAST_LOADED_7`](#hash_last_loaded) | 0x71c | 4 | Non-reset register to store a hash digest of the memory file loaded most recently. |
| bkdr_loader.[`HASH_LAST_LOADED_8`](#hash_last_loaded) | 0x720 | 4 | Non-reset register to store a hash digest of the memory file loaded most recently. |
| bkdr_loader.[`HASH_LAST_LOADED_9`](#hash_last_loaded) | 0x724 | 4 | Non-reset register to store a hash digest of the memory file loaded most recently. |
| bkdr_loader.[`HASH_LAST_LOADED_10`](#hash_last_loaded) | 0x728 | 4 | Non-reset register to store a hash digest of the memory file loaded most recently. |
| bkdr_loader.[`HASH_LAST_LOADED_11`](#hash_last_loaded) | 0x72c | 4 | Non-reset register to store a hash digest of the memory file loaded most recently. |
| bkdr_loader.[`HASH_LAST_LOADED_12`](#hash_last_loaded) | 0x730 | 4 | Non-reset register to store a hash digest of the memory file loaded most recently. |
| bkdr_loader.[`HASH_LAST_LOADED_13`](#hash_last_loaded) | 0x734 | 4 | Non-reset register to store a hash digest of the memory file loaded most recently. |

## STATUS
Status register
Expand Down Expand Up @@ -217,22 +185,14 @@ ASCII 4-character string values (big endian) identifying each bkdr target memory

### Instances

| Name | Offset |
|:---------------|:---------|
| TARGET_INFO_0 | 0x100 |
| TARGET_INFO_1 | 0x104 |
| TARGET_INFO_2 | 0x108 |
| TARGET_INFO_3 | 0x10c |
| TARGET_INFO_4 | 0x110 |
| TARGET_INFO_5 | 0x114 |
| TARGET_INFO_6 | 0x118 |
| TARGET_INFO_7 | 0x11c |
| TARGET_INFO_8 | 0x120 |
| TARGET_INFO_9 | 0x124 |
| TARGET_INFO_10 | 0x128 |
| TARGET_INFO_11 | 0x12c |
| TARGET_INFO_12 | 0x130 |
| TARGET_INFO_13 | 0x134 |
| Name | Offset |
|:--------------|:---------|
| TARGET_INFO_0 | 0x100 |
| TARGET_INFO_1 | 0x104 |
| TARGET_INFO_2 | 0x108 |
| TARGET_INFO_3 | 0x10c |
| TARGET_INFO_4 | 0x110 |
| TARGET_INFO_5 | 0x114 |


### Fields
Expand All @@ -252,22 +212,14 @@ The SRAM word width of a given bkdr target memory.

### Instances

| Name | Offset |
|:--------------|:---------|
| WIDTH_INFO_0 | 0x200 |
| WIDTH_INFO_1 | 0x204 |
| WIDTH_INFO_2 | 0x208 |
| WIDTH_INFO_3 | 0x20c |
| WIDTH_INFO_4 | 0x210 |
| WIDTH_INFO_5 | 0x214 |
| WIDTH_INFO_6 | 0x218 |
| WIDTH_INFO_7 | 0x21c |
| WIDTH_INFO_8 | 0x220 |
| WIDTH_INFO_9 | 0x224 |
| WIDTH_INFO_10 | 0x228 |
| WIDTH_INFO_11 | 0x22c |
| WIDTH_INFO_12 | 0x230 |
| WIDTH_INFO_13 | 0x234 |
| Name | Offset |
|:-------------|:---------|
| WIDTH_INFO_0 | 0x200 |
| WIDTH_INFO_1 | 0x204 |
| WIDTH_INFO_2 | 0x208 |
| WIDTH_INFO_3 | 0x20c |
| WIDTH_INFO_4 | 0x210 |
| WIDTH_INFO_5 | 0x214 |


### Fields
Expand All @@ -287,22 +239,14 @@ The number of SRAM words of a given bkdr target memory.

### Instances

| Name | Offset |
|:--------------|:---------|
| DEPTH_INFO_0 | 0x300 |
| DEPTH_INFO_1 | 0x304 |
| DEPTH_INFO_2 | 0x308 |
| DEPTH_INFO_3 | 0x30c |
| DEPTH_INFO_4 | 0x310 |
| DEPTH_INFO_5 | 0x314 |
| DEPTH_INFO_6 | 0x318 |
| DEPTH_INFO_7 | 0x31c |
| DEPTH_INFO_8 | 0x320 |
| DEPTH_INFO_9 | 0x324 |
| DEPTH_INFO_10 | 0x328 |
| DEPTH_INFO_11 | 0x32c |
| DEPTH_INFO_12 | 0x330 |
| DEPTH_INFO_13 | 0x334 |
| Name | Offset |
|:-------------|:---------|
| DEPTH_INFO_0 | 0x300 |
| DEPTH_INFO_1 | 0x304 |
| DEPTH_INFO_2 | 0x308 |
| DEPTH_INFO_3 | 0x30c |
| DEPTH_INFO_4 | 0x310 |
| DEPTH_INFO_5 | 0x314 |


### Fields
Expand Down Expand Up @@ -410,22 +354,14 @@ the same memory file is already loaded and a preload can be skipped.

### Instances

| Name | Offset |
|:--------------------|:---------|
| HASH_LAST_LOADED_0 | 0x700 |
| HASH_LAST_LOADED_1 | 0x704 |
| HASH_LAST_LOADED_2 | 0x708 |
| HASH_LAST_LOADED_3 | 0x70c |
| HASH_LAST_LOADED_4 | 0x710 |
| HASH_LAST_LOADED_5 | 0x714 |
| HASH_LAST_LOADED_6 | 0x718 |
| HASH_LAST_LOADED_7 | 0x71c |
| HASH_LAST_LOADED_8 | 0x720 |
| HASH_LAST_LOADED_9 | 0x724 |
| HASH_LAST_LOADED_10 | 0x728 |
| HASH_LAST_LOADED_11 | 0x72c |
| HASH_LAST_LOADED_12 | 0x730 |
| HASH_LAST_LOADED_13 | 0x734 |
| Name | Offset |
|:-------------------|:---------|
| HASH_LAST_LOADED_0 | 0x700 |
| HASH_LAST_LOADED_1 | 0x704 |
| HASH_LAST_LOADED_2 | 0x708 |
| HASH_LAST_LOADED_3 | 0x70c |
| HASH_LAST_LOADED_4 | 0x710 |
| HASH_LAST_LOADED_5 | 0x714 |


### Fields
Expand Down
Loading
Loading