Add MIDAS address range counters

This commit is contained in:
Howard Mao 2018-11-24 03:19:23 +00:00
parent 8d5b9183cd
commit fafb3ab8cb
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 48efec3ffd3e643461df8cec4362771f27bce88c
Subproject commit eb84570a52705d75ec7e4e632fa3961716ffb360

View File

@ -70,7 +70,7 @@ firesim_top_t::firesim_top_t(int argc, char** argv)
MEMMODEL_0_W_num_registers,
(const unsigned int*) MEMMODEL_0_W_addrs,
(const char* const*) MEMMODEL_0_W_names),
argc, argv, "memory_stats.csv"));
argc, argv, "memory_stats.csv", 1L << TARGET_MEM_ADDR_BITS));
#endif
#ifdef BLOCKDEVWIDGET_struct_guard

View File

@ -38,7 +38,7 @@ public:
MEMMODEL_0_W_num_registers,
(const unsigned int*) MEMMODEL_0_W_addrs,
(const char* const*) MEMMODEL_0_W_names),
argc, argv, "memory_stats.csv"));
argc, argv, "memory_stats.csv", 1L << TARGET_MEM_ADDR_BITS));
#endif
}