Skip to content

Commit 2abfadd

Browse files
committed
[fi] Adapt init function
Streamline the icache and dummy instructions enable/disable configuration. Signed-off-by: Pascal Nasahl <nasahlpa@lowrisc.org>
1 parent 919ce66 commit 2abfadd

File tree

56 files changed

+224
-328
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+224
-328
lines changed

ci/cfg/ci_crypto_aes_vcc_dummy_cw310.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,10 @@ test:
5454
# related to the FI, ignoring is by default set to true. A manual analysis
5555
# still can be performed as the alerts are stored in the database.
5656
ignore_alerts: True
57-
# When True, the instruction cache is disabled. If False, use the default config
58-
# (either on or off) set in the ROM.
59-
icache_disable: False
60-
# When True, the dummy instructions are disabled. If False, use the default config
61-
# (either on or off) set in the ROM.
62-
dummy_instr_disable: False
57+
# When True, the instruction cache is enabled.
58+
enable_icache: False
59+
# When True, the dummy instructions are enabled.
60+
enable_dummy_instr: False
6361
# When True, enable the jittery clock.
6462
jittery_clock_enable: False
6563
# When True, enable the SRAM readback feature.

ci/cfg/ci_ibex_fi_vcc_dummy_cw310.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,10 @@ test:
5454
# related to the FI, ignoring is by default set to true. A manual analysis
5555
# still can be performed as the alerts are stored in the database.
5656
ignore_alerts: True
57-
# When True, the instruction cache is disabled. If False, use the default config
58-
# (either on or off) set in the ROM.
59-
icache_disable: False
60-
# When True, the dummy instructions are disabled. If False, use the default config
61-
# (either on or off) set in the ROM.
62-
dummy_instr_disable: False
57+
# When True, the instruction cache is enabled.
58+
enable_icache: False
59+
# When True, the dummy instructions are enabled.
60+
enable_dummy_instr: False
6361
# When True, enable the jittery clock.
6462
jittery_clock_enable: False
6563
# When True, enable the SRAM readback feature.

ci/cfg/ci_otbn_fi_vcc_dummy_cw310.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,10 @@ test:
5454
# related to the FI, ignoring is by default set to true. A manual analysis
5555
# still can be performed as the alerts are stored in the database.
5656
ignore_alerts: True
57-
# When True, the instruction cache is disabled. If False, use the default config
58-
# (either on or off) set in the ROM.
59-
icache_disable: False
60-
# When True, the dummy instructions are disabled. If False, use the default config
61-
# (either on or off) set in the ROM.
62-
dummy_instr_disable: False
57+
# When True, the instruction cache is enabled.
58+
enable_icache: False
59+
# When True, the dummy instructions are enabled.
60+
enable_dummy_instr: False
6361
# When True, enable the jittery clock.
6462
jittery_clock_enable: False
6563
# When True, enable the SRAM readback feature.

fault_injection/configs/pen.global_fi.crypto.aes.cw310.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,10 @@ test:
4545
# related to the FI, ignoring is by default set to true. A manual analysis
4646
# still can be performed as the alerts are stored in the database.
4747
ignore_alerts: True
48-
# When True, the instruction cache is disabled. If False, use the default config
49-
# (either on or off) set in the ROM.
50-
icache_disable: False
51-
# When True, the dummy instructions are disabled. If False, use the default config
52-
# (either on or off) set in the ROM.
53-
dummy_instr_disable: False
48+
# When True, the instruction cache is enabled.
49+
enable_icache: False
50+
# When True, the dummy instructions are enabled.
51+
enable_dummy_instr: False
5452
# When True, enable the jittery clock.
5553
jittery_clock_enable: False
5654
# When True, enable the SRAM readback feature.

fault_injection/configs/pen.global_fi.crypto.kmac.cw310.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,10 @@ test:
4545
# related to the FI, ignoring is by default set to true. A manual analysis
4646
# still can be performed as the alerts are stored in the database.
4747
ignore_alerts: True
48-
# When True, the instruction cache is disabled. If False, use the default config
49-
# (either on or off) set in the ROM.
50-
icache_disable: False
51-
# When True, the dummy instructions are disabled. If False, use the default config
52-
# (either on or off) set in the ROM.
53-
dummy_instr_disable: False
48+
# When True, the instruction cache is enabled.
49+
enable_icache: False
50+
# When True, the dummy instructions are enabled.
51+
enable_dummy_instr: False
5452
# When True, enable the jittery clock.
5553
jittery_clock_enable: False
5654
# When True, enable the SRAM readback feature.

fault_injection/configs/pen.global_fi.crypto.sha256.cw310.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,10 @@ test:
4545
# related to the FI, ignoring is by default set to true. A manual analysis
4646
# still can be performed as the alerts are stored in the database.
4747
ignore_alerts: True
48-
# When True, the instruction cache is disabled. If False, use the default config
49-
# (either on or off) set in the ROM.
50-
icache_disable: False
51-
# When True, the dummy instructions are disabled. If False, use the default config
52-
# (either on or off) set in the ROM.
53-
dummy_instr_disable: False
48+
# When True, the instruction cache is enabled.
49+
enable_icache: False
50+
# When True, the dummy instructions are enabled.
51+
enable_dummy_instr: False
5452
# When True, enable the jittery clock.
5553
jittery_clock_enable: False
5654
# When True, enable the SRAM readback feature.

fault_injection/configs/pen.global_fi.crypto.shadow_reg_access.cw310.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,10 @@ test:
4242
# related to the FI, ignoring is by default set to true. A manual analysis
4343
# still can be performed as the alerts are stored in the database.
4444
ignore_alerts: True
45-
# When True, the instruction cache is disabled. If False, use the default config
46-
# (either on or off) set in the ROM.
47-
icache_disable: False
48-
# When True, the dummy instructions are disabled. If False, use the default config
49-
# (either on or off) set in the ROM.
50-
dummy_instr_disable: False
45+
# When True, the instruction cache is enabled.
46+
enable_icache: False
47+
# When True, the dummy instructions are enabled.
48+
enable_dummy_instr: False
5149
# When True, enable the jittery clock.
5250
jittery_clock_enable: False
5351
# When True, enable the SRAM readback feature.

fault_injection/configs/pen.global_fi.ibex.address_translation.cw310.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,10 @@ test:
4242
# related to the FI, ignoring is by default set to true. A manual analysis
4343
# still can be performed as the alerts are stored in the database.
4444
ignore_alerts: True
45-
# When True, the instruction cache is disabled. If False, use the default config
46-
# (either on or off) set in the ROM.
47-
icache_disable: False
48-
# When True, the dummy instructions are disabled. If False, use the default config
49-
# (either on or off) set in the ROM.
50-
dummy_instr_disable: False
45+
# When True, the instruction cache is enabled.
46+
enable_icache: False
47+
# When True, the dummy instructions are enabled.
48+
enable_dummy_instr: False
5149
# When True, enable the jittery clock.
5250
jittery_clock_enable: False
5351
# When True, enable the SRAM readback feature.

fault_injection/configs/pen.global_fi.ibex.address_translation_config.cw310.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,10 @@ test:
4242
# related to the FI, ignoring is by default set to true. A manual analysis
4343
# still can be performed as the alerts are stored in the database.
4444
ignore_alerts: True
45-
# When True, the instruction cache is disabled. If False, use the default config
46-
# (either on or off) set in the ROM.
47-
icache_disable: False
48-
# When True, the dummy instructions are disabled. If False, use the default config
49-
# (either on or off) set in the ROM.
50-
dummy_instr_disable: False
45+
# When True, the instruction cache is enabled.
46+
enable_icache: False
47+
# When True, the dummy instructions are enabled.
48+
enable_dummy_instr: False
5149
# When True, enable the jittery clock.
5250
jittery_clock_enable: False
5351
# When True, enable the SRAM readback feature.

fault_injection/configs/pen.global_fi.ibex.char.conditional_branch.cw310.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,10 @@ test:
5252
# related to the FI, ignoring is by default set to true. A manual analysis
5353
# still can be performed as the alerts are stored in the database.
5454
ignore_alerts: True
55-
# When True, the instruction cache is disabled. If False, use the default config
56-
# (either on or off) set in the ROM.
57-
icache_disable: False
58-
# When True, the dummy instructions are disabled. If False, use the default config
59-
# (either on or off) set in the ROM.
60-
dummy_instr_disable: False
55+
# When True, the instruction cache is enabled.
56+
enable_icache: False
57+
# When True, the dummy instructions are enabled.
58+
enable_dummy_instr: False
6159
# When True, enable the jittery clock.
6260
jittery_clock_enable: False
6361
# When True, enable the SRAM readback feature.

0 commit comments

Comments
 (0)