diff --git a/generators/chipyard/src/main/resources/csrc/cospike.cc b/generators/chipyard/src/main/resources/csrc/cospike.cc index bc06586094..0dfa093301 100644 --- a/generators/chipyard/src/main/resources/csrc/cospike.cc +++ b/generators/chipyard/src/main/resources/csrc/cospike.cc @@ -79,9 +79,9 @@ std::set magic_addrs; cfg_t* cfg; std::vector> read_override_devices; -static std::vector> make_mems(const std::vector &layout) +static std::vector> make_mems(const std::vector &layout) { - std::vector> mems; + std::vector> mems; mems.reserve(layout.size()); for (const auto &cfg : layout) { mems.push_back(std::make_pair(cfg.get_base(), new mem_t(cfg.get_size()))); @@ -147,7 +147,7 @@ extern "C" void cospike_cosim(long long int cycle, 0 ); - std::vector> mems = make_mems(cfg->mem_layout()); + std::vector> mems = make_mems(cfg->mem_layout()); size_t default_boot_rom_size = 0x10000; size_t default_boot_rom_addr = 0x10000; diff --git a/toolchains/riscv-tools/riscv-isa-sim b/toolchains/riscv-tools/riscv-isa-sim index e85d2923a5..5a499ef718 160000 --- a/toolchains/riscv-tools/riscv-isa-sim +++ b/toolchains/riscv-tools/riscv-isa-sim @@ -1 +1 @@ -Subproject commit e85d2923a5e4fdd7d61cd0cc9f0685c97f451769 +Subproject commit 5a499ef718bba2fc323e9771ebd7545c66825ff6