diff options
author | Jerry Zhao <jerryz123@berkeley.edu> | 2023-01-10 10:34:03 -0800 |
---|---|---|
committer | Jerry Zhao <jerryz123@berkeley.edu> | 2023-01-18 11:20:32 -0800 |
commit | 67bbdf5506c5ef8dfd2cb198c3eb918ca6ca024f (patch) | |
tree | 4210994be7108980d61d0153a54c9111b31b9dce /spike_main | |
parent | 7937438882d708bfee54c250fffa4a8c094ba89e (diff) | |
download | riscv-isa-sim-67bbdf5506c5ef8dfd2cb198c3eb918ca6ca024f.zip riscv-isa-sim-67bbdf5506c5ef8dfd2cb198c3eb918ca6ca024f.tar.gz riscv-isa-sim-67bbdf5506c5ef8dfd2cb198c3eb918ca6ca024f.tar.bz2 |
Add trigger_count field to cfg_t
Diffstat (limited to 'spike_main')
-rw-r--r-- | spike_main/spike-log-parser.cc | 3 | ||||
-rw-r--r-- | spike_main/spike.cc | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/spike_main/spike-log-parser.cc b/spike_main/spike-log-parser.cc index dfdb117..0020751 100644 --- a/spike_main/spike-log-parser.cc +++ b/spike_main/spike-log-parser.cc @@ -39,7 +39,8 @@ int main(int UNUSED argc, char** argv) /*default_pmpregions=*/16, /*default_mem_layout=*/std::vector<mem_cfg_t>(), /*default_hartids=*/std::vector<int>(), - /*default_real_time_clint=*/false); + /*default_real_time_clint=*/false, + /*default_trigger_count=*/4); isa_parser_t isa(isa_string, DEFAULT_PRIV); processor_t p(&isa, &cfg, 0, 0, false, nullptr, cerr); diff --git a/spike_main/spike.cc b/spike_main/spike.cc index 8386a49..c874d00 100644 --- a/spike_main/spike.cc +++ b/spike_main/spike.cc @@ -355,7 +355,8 @@ int main(int argc, char** argv) /*default_pmpregions=*/16, /*default_mem_layout=*/parse_mem_layout("2048"), /*default_hartids=*/std::vector<int>(), - /*default_real_time_clint=*/false); + /*default_real_time_clint=*/false, + /*default_trigger_count=*/4); auto const device_parser = [&plugin_devices](const char *s) { const std::string str(s); |