aboutsummaryrefslogtreecommitdiff
path: root/ci-tests
diff options
context:
space:
mode:
authorJerry Zhao <jerryz123@berkeley.edu>2023-12-07 14:45:20 -0800
committerJerry Zhao <jerryz123@berkeley.edu>2023-12-08 18:05:28 -0800
commit0232396e7e093ef6fa65438ec688d46a104098c0 (patch)
tree7d2f4a9230ed236c8cb0517b29571056e2b80129 /ci-tests
parent4b30f35aae0c919d744c65d482f76dca0753215b (diff)
downloadriscv-isa-sim-0232396e7e093ef6fa65438ec688d46a104098c0.zip
riscv-isa-sim-0232396e7e093ef6fa65438ec688d46a104098c0.tar.gz
riscv-isa-sim-0232396e7e093ef6fa65438ec688d46a104098c0.tar.bz2
Rely on default initializer to provide debug_module_config_t defaults
Diffstat (limited to 'ci-tests')
-rw-r--r--ci-tests/testlib.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/ci-tests/testlib.c b/ci-tests/testlib.c
index 34d9410..5e39c1b 100644
--- a/ci-tests/testlib.c
+++ b/ci-tests/testlib.c
@@ -17,17 +17,7 @@ int main()
cfg_t cfg;
std::vector<device_factory_t*> plugin_devices;
std::vector<std::string> htif_args {"pk", "hello"};
- debug_module_config_t dm_config = {
- .progbufsize = 2,
- .max_sba_data_width = 0,
- .require_authentication = false,
- .abstract_rti = 0,
- .support_hasel = true,
- .support_abstract_csr_access = true,
- .support_abstract_fpr_access = true,
- .support_haltgroups = true,
- .support_impebreak = true
- };
+ debug_module_config_t dm_config;
std::vector<std::pair<reg_t, abstract_mem_t*>> mems =
make_mems(cfg.mem_layout);
sim_t sim(&cfg, false,