[otbn] Rename dif_otbn_sanitytest to dif_otbn_smoketest
Signed-off-by: Philipp Wagner <phw@lowrisc.org>
diff --git a/hw/ip/otbn/README.md b/hw/ip/otbn/README.md
index a846eff..96ca2b3 100644
--- a/hw/ip/otbn/README.md
+++ b/hw/ip/otbn/README.md
@@ -116,7 +116,7 @@
```sh
build/lowrisc_systems_top_earlgrey_verilator_0.1/sim-verilator/Vtop_earlgrey_verilator \
--meminit=rom,build-bin/sw/device/boot_rom/boot_rom_sim_verilator.elf \
- --meminit=flash,build-bin/sw/device/tests/dif_otbn_sanitytest_sim_verilator.elf \
+ --meminit=flash,build-bin/sw/device/tests/dif_otbn_smoketest_sim_verilator.elf \
+UARTDPI_LOG_uart0=- \
+OTBN_USE_MODEL=1
```
diff --git a/hw/top_earlgrey/dv/chip_sim_cfg.hjson b/hw/top_earlgrey/dv/chip_sim_cfg.hjson
index 53c0803..74b4848 100644
--- a/hw/top_earlgrey/dv/chip_sim_cfg.hjson
+++ b/hw/top_earlgrey/dv/chip_sim_cfg.hjson
@@ -173,9 +173,9 @@
sw_test: sw/device/tests/flash_ctrl_test
}
{
- name: chip_dif_otbn_sanitytest
+ name: chip_dif_otbn_smoketest
uvm_test_seq: chip_sw_base_vseq
- sw_test: sw/device/tests/dif_otbn_sanitytest
+ sw_test: sw/device/tests/dif_otbn_smoketest
}
{
name: chip_hmac_sha256_encr
diff --git a/sw/device/tests/dif/dif_otbn_sanitytest.c b/sw/device/tests/dif/dif_otbn_smoketest.c
similarity index 100%
rename from sw/device/tests/dif/dif_otbn_sanitytest.c
rename to sw/device/tests/dif/dif_otbn_smoketest.c
diff --git a/sw/device/tests/dif/meson.build b/sw/device/tests/dif/meson.build
index 39d9036..4d6eb76 100644
--- a/sw/device/tests/dif/meson.build
+++ b/sw/device/tests/dif/meson.build
@@ -270,10 +270,10 @@
}
}
-dif_otbn_sanitytest_lib = declare_dependency(
+dif_otbn_smoketest_lib = declare_dependency(
link_with: static_library(
- 'dif_otbn_sanitytest_lib',
- sources: ['dif_otbn_sanitytest.c'],
+ 'dif_otbn_smoketest_lib',
+ sources: ['dif_otbn_smoketest.c'],
dependencies: [
sw_lib_dif_otbn,
sw_lib_runtime_log,
@@ -285,8 +285,8 @@
),
)
sw_tests += {
- 'dif_otbn_sanitytest': {
- 'library': dif_otbn_sanitytest_lib,
+ 'dif_otbn_smoketest': {
+ 'library': dif_otbn_smoketest_lib,
}
}
diff --git a/test/systemtest/config.py b/test/systemtest/config.py
index 4444c6c..c953da4 100644
--- a/test/systemtest/config.py
+++ b/test/systemtest/config.py
@@ -25,14 +25,14 @@
"name": "crt_test",
},
{
- "name": "dif_otbn_sanitytest_rtl",
- "binary_name": "dif_otbn_sanitytest",
+ "name": "dif_otbn_smoketest_rtl",
+ "binary_name": "dif_otbn_smoketest",
"verilator_extra_args": ['+OTBN_USE_MODEL=0'],
},
# Using the model in CI isn't possible until #4097 is resolved.
# {
-# "name": "dif_otbn_sanitytest_model",
-# "binary_name": "dif_otbn_sanitytest",
+# "name": "dif_otbn_smoketest_model",
+# "binary_name": "dif_otbn_smoketest",
# "verilator_extra_args": ['+OTBN_USE_MODEL=1'],
# "targets": ["sim_verilator"],
# },