Closed JeanRochCoulon closed 3 weeks ago
:x: failed run, report available here.
Just FYI: the PMPCFG/PMPADDR write logic is here. I believe the current state should already achieve what you want to achieve in this PR. Maybe your change will save some area, but I assume a good compiler will optimize this away anyways.
Also the proposed changes are hardcoded for NR_PMP_ENTRIES=8. What happens if one uses 12 PMP entries? Or 7?
:x: failed run, report available here.
THnaks you @Moschn for your feedback. I set the PR in draft and will fine tune the PR.
ok, after deeper analysis of the code, the RTL seems functional as it is. @AyoubJalali , what is your feedback, have you seen some misfunctionality on PMPCFG or PMPADDR ?
ok, after deeper analysis of the code, the RTL seems functional as it is. @AyoubJalali , what is your feedback, have you seen some misfunctionality on PMPCFG or PMPADDR ?
I'll check this !!
Related logic is not removed, this will be addressed in following PR