From e3adbe5851e5a85363b8154d50d84ad918fe9548 Mon Sep 17 00:00:00 2001 From: Guillermo Maturana Date: Thu, 4 Jan 2024 11:24:53 -0800 Subject: [PATCH] [sival,tests] Add more silicon_owner_rom_ext tests Signed-off-by: Guillermo Maturana --- sw/device/tests/BUILD | 42 +++++++++++++++++++++++++++++++------ sw/device/tests/sival/BUILD | 6 ++++++ 2 files changed, 42 insertions(+), 6 deletions(-) diff --git a/sw/device/tests/BUILD b/sw/device/tests/BUILD index a06d2d10885d3..5f7e974200116 100644 --- a/sw/device/tests/BUILD +++ b/sw/device/tests/BUILD @@ -188,7 +188,12 @@ opentitan_test( name = "alert_handler_ping_timeout_test", srcs = ["alert_handler_ping_timeout_test.c"], cw310 = new_cw310_params(timeout = "moderate"), - exec_env = EARLGREY_TEST_ENVS, + exec_env = dicts.add( + EARLGREY_TEST_ENVS, + { + "//hw/top_earlgrey:silicon_owner_sival_rom_ext": None, + }, + ), verilator = new_verilator_params(timeout = "long"), deps = [ "//hw/top_earlgrey:alert_handler_regs", @@ -486,7 +491,12 @@ opentitan_test( opentitan_test( name = "aon_timer_wdog_lc_escalate_test", srcs = ["aon_timer_wdog_lc_escalate_test.c"], - exec_env = EARLGREY_TEST_ENVS, + exec_env = dicts.add( + EARLGREY_TEST_ENVS, + { + "//hw/top_earlgrey:silicon_owner_sival_rom_ext": None, + }, + ), verilator = new_verilator_params(timeout = "long"), deps = [ "//hw/top_earlgrey/sw/autogen:top_earlgrey", @@ -511,7 +521,12 @@ opentitan_test( opentitan_test( name = "aon_timer_sleep_wdog_sleep_pause_test", srcs = ["aon_timer_sleep_wdog_sleep_pause_test.c"], - exec_env = EARLGREY_TEST_ENVS, + exec_env = dicts.add( + EARLGREY_TEST_ENVS, + { + "//hw/top_earlgrey:silicon_owner_sival_rom_ext": None, + }, + ), deps = [ "//hw/top_earlgrey/sw/autogen:top_earlgrey", "//sw/device/lib/base:mmio", @@ -1342,7 +1357,12 @@ opentitan_test( opentitan_test( name = "example_concurrency_test", srcs = ["example_concurrency_test.c"], - exec_env = EARLGREY_TEST_ENVS, + exec_env = dicts.add( + EARLGREY_TEST_ENVS, + { + "//hw/top_earlgrey:silicon_owner_sival_rom_ext": None, + }, + ), deps = [ "//sw/device/lib/runtime:log", "//sw/device/lib/testing/test_framework:check", @@ -3202,7 +3222,12 @@ opentitan_test( opentitan_test( name = "sram_ctrl_smoketest", srcs = ["sram_ctrl_smoketest.c"], - exec_env = EARLGREY_TEST_ENVS, + exec_env = dicts.add( + EARLGREY_TEST_ENVS, + { + "//hw/top_earlgrey:silicon_owner_sival_rom_ext": None, + }, + ), deps = [ "//hw/top_earlgrey/sw/autogen:top_earlgrey", "//sw/device/lib/arch:device", @@ -4225,7 +4250,12 @@ opentitan_test( opentitan_test( name = "sram_ctrl_memset_test", srcs = ["sram_ctrl_memset_test.c"], - exec_env = EARLGREY_TEST_ENVS, + exec_env = dicts.add( + EARLGREY_TEST_ENVS, + { + "//hw/top_earlgrey:silicon_owner_sival_rom_ext": None, + }, + ), deps = [ "//hw/top_earlgrey/sw/autogen:top_earlgrey", "//sw/device/lib/arch:device", diff --git a/sw/device/tests/sival/BUILD b/sw/device/tests/sival/BUILD index a356366af6df0..292dac4a31f36 100644 --- a/sw/device/tests/sival/BUILD +++ b/sw/device/tests/sival/BUILD @@ -44,6 +44,7 @@ test_suite( "//sw/device/tests:spi_device_smoketest", "//sw/device/tests:sram_ctrl_sleep_sram_ret_contents_no_scramble_test", "//sw/device/tests:sram_ctrl_sleep_sram_ret_contents_scramble_test", + "//sw/device/tests:sram_ctrl_smoketest", "//sw/device/tests:uart0_tx_rx_test", "//sw/device/tests:uart1_tx_rx_test", "//sw/device/tests:uart2_tx_rx_test", @@ -58,6 +59,9 @@ test_suite( tests = [ "//sw/device/tests:aes_entropy_test", "//sw/device/tests:aes_idle_test", + "//sw/device/tests:alert_handler_ping_timeout_test", + "//sw/device/tests:aon_timer_sleep_wdog_sleep_pause_test", + "//sw/device/tests:aon_timer_wdog_lc_escalate_test", "//sw/device/tests:clkmgr_jitter_frequency_test", "//sw/device/tests:clkmgr_off_aes_trans_test", "//sw/device/tests:clkmgr_off_hmac_trans_test", @@ -77,6 +81,7 @@ test_suite( "//sw/device/tests:entropy_src_edn_reqs_test", "//sw/device/tests:entropy_src_fw_ovr_test", "//sw/device/tests:entropy_src_kat_test", + "//sw/device/tests:example_concurrency_test", "//sw/device/tests:flash_ctrl_clock_freqs_test", "//sw/device/tests:flash_ctrl_idle_low_power_test", "//sw/device/tests:flash_ctrl_ops_test", @@ -111,6 +116,7 @@ test_suite( "//sw/device/tests:sensor_ctrl_alert_test", "//sw/device/tests:sensor_ctrl_wakeup_test", "//sw/device/tests:sleep_pwm_pulses_test", + "//sw/device/tests:sram_ctrl_memset_test", "//sw/device/tests:sram_ctrl_subword_access_test", ], )