Skip to content

Commit 6c80009

Browse files
committed
changes default number of PMP addr registers to 16 (standard for RV32)
1 parent 64967f7 commit 6c80009

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/iss/mem/pmp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
namespace iss {
4646
namespace mem {
4747

48-
template <typename PLAT, size_t NUM_ENTRIES = 64> struct pmp : public memory_elem {
48+
template <typename PLAT, size_t NUM_ENTRIES = 16> struct pmp : public memory_elem {
4949
static_assert(NUM_ENTRIES > 0 && NUM_ENTRIES <= 64 && (NUM_ENTRIES % sizeof(typename PLAT::reg_t)) == 0,
5050
"NUM_ENTRIES must be a multiple of sizeof(reg_t) and at most 64");
5151
using this_class = pmp<PLAT, NUM_ENTRIES>;

0 commit comments

Comments
 (0)