[BUG] wrong pmp entries length
Created by: AyoubJalali
Is there an existing CVA6 bug for this?
-
I have searched the existing bug issues
Bug Description
this is a RTL Bug, I notice that in CSR_REGFILE, it been declare a table of pmpcfg_t (representing the number of pmp entries supported), also in pmpaddr, and it's been declare like that CVA6Cfg.(riscv::pmpcfg_t [CVA6Cfg.NrPMPEntries:0] pmpcfg_o) this create 9 pmp entries and not 8 (there's a -1 missing ) also in line 168 in the same file.
This is not the only file have the bug, we have more :
we should check all the pmp entries declaration