aboutsummaryrefslogtreecommitdiff
path: root/ci-tests
diff options
context:
space:
mode:
authorJerry Zhao <jerryz123@berkeley.edu>2023-12-07 14:26:35 -0800
committerJerry Zhao <jerryz123@berkeley.edu>2023-12-08 18:05:28 -0800
commitab10e576e112ffaef78f8a4d4b86c53a40438eb6 (patch)
treec2dce9e20ceb306c55681faa5f45438c9c5ac3d3 /ci-tests
parent0ee120bfae308850e78e51b548e4a83df5f9f840 (diff)
downloadriscv-isa-sim-ab10e576e112ffaef78f8a4d4b86c53a40438eb6.zip
riscv-isa-sim-ab10e576e112ffaef78f8a4d4b86c53a40438eb6.tar.gz
riscv-isa-sim-ab10e576e112ffaef78f8a4d4b86c53a40438eb6.tar.bz2
Remove old explicit-fields cfg_t constructor, switch to default constructor
Diffstat (limited to 'ci-tests')
-rw-r--r--ci-tests/testlib.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/ci-tests/testlib.c b/ci-tests/testlib.c
index fff27f4..34d9410 100644
--- a/ci-tests/testlib.c
+++ b/ci-tests/testlib.c
@@ -14,21 +14,7 @@ static std::vector<std::pair<reg_t, abstract_mem_t*>> make_mems(const std::vecto
int main()
{
- std::vector<mem_cfg_t> mem_cfg { mem_cfg_t(0x80000000, 0x10000000) };
- std::vector<size_t> hartids = {0};
- cfg_t cfg(std::make_pair(0, 0),
- nullptr,
- "rv64gcv",
- "MSU",
- "vlen:128,elen:64",
- false,
- endianness_little,
- 16,
- (1 << PMP_SHIFT),
- mem_cfg,
- hartids,
- false,
- 4);
+ cfg_t cfg;
std::vector<device_factory_t*> plugin_devices;
std::vector<std::string> htif_args {"pk", "hello"};
debug_module_config_t dm_config = {