We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 855d24d commit 17d799dCopy full SHA for 17d799d
1 file changed
src/iss/mem/memory_with_htif.h
@@ -113,8 +113,7 @@ template <typename PLAT> struct neumann_memory_with_htif : public memory_elem {
113
// have the largest possible size. Memory footprint should still be small as it
114
// a sparse array
115
using mem_type = util::sparse_array<uint8_t, arch::traits<PLAT>::max_mem_size>;
116
- // We need one fewer memory as the IMEM maps to MEM in von Neumann architecture
117
- std::array<mem_type, arch::traits<PLAT>::mem_sizes.size() - 1> memories{};
+ std::array<mem_type, arch::traits<PLAT>::mem_sizes.size()> memories{};
118
arch::priv_if<reg_t> hart_if;
119
};
120
} // namespace mem
0 commit comments