There was an error while loading. Please reload this page.
1 parent 64967f7 commit 6c80009Copy full SHA for 6c80009
1 file changed
src/iss/mem/pmp.h
@@ -45,7 +45,7 @@
45
namespace iss {
46
namespace mem {
47
48
-template <typename PLAT, size_t NUM_ENTRIES = 64> struct pmp : public memory_elem {
+template <typename PLAT, size_t NUM_ENTRIES = 16> struct pmp : public memory_elem {
49
static_assert(NUM_ENTRIES > 0 && NUM_ENTRIES <= 64 && (NUM_ENTRIES % sizeof(typename PLAT::reg_t)) == 0,
50
"NUM_ENTRIES must be a multiple of sizeof(reg_t) and at most 64");
51
using this_class = pmp<PLAT, NUM_ENTRIES>;
0 commit comments