opentitan icon indicating copy to clipboard operation
opentitan copied to clipboard

Plans to enable PMP on the Ibex core?

Open pfmooney opened this issue 6 years ago • 5 comments

Earlgrey is currently instantiating the Ibex core without PMP functionality enabled: https://github.com/lowRISC/opentitan/blob/edf3786f3bc79ecbf2b12dc26d459bc64a569432/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv#L218

Is this the long-term intent, or is there a plan to enable PMP once certain testing/verification is performed?

pfmooney avatar Jan 29 '20 16:01 pfmooney

It is the intention to enable PMP once more testing has been completed. @udinator might have a date on expected completion of that testing.

On Wed, Jan 29, 2020 at 8:36 AM Patrick Mooney [email protected] wrote:

Earlgrey is currently instantiating the Ibex core without PMP functionality enabled:

https://github.com/lowRISC/opentitan/blob/edf3786f3bc79ecbf2b12dc26d459bc64a569432/hw/top_earlgrey/rtl/autogen/top_earlgrey.sv#L218

Is this the long-term intent, or is there a plan to enable PMP once certain testing/verification is performed?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lowRISC/opentitan/issues/1445?email_source=notifications&email_token=AJZQKVNDAERO5W25QWHI4ETRAGWA7A5CNFSM4KNHYZIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJS22JQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJZQKVID3OMUDHHJEMH7R3DRAGWA7ANCNFSM4KNHYZIA .

sjgitty avatar Jan 29 '20 16:01 sjgitty

Hi @pfmooney, verification of PMP has just very recently started. I estimate at least a couple of weeks to fully verify this module, as there is a lot of complexity that arises from the very large configuration space that it encompasses.

udinator avatar Jan 29 '20 17:01 udinator

Is there an update on this?

alistair23 avatar Feb 07 '20 01:02 alistair23

Hi @alistair23, PMP verification is still in relatively early stages. Most of the effort relates to the https://github.com/google/riscv-dv instruction generator to actually enable random PMP configurations in the hardware, which I am still enhancing.

udinator avatar Feb 07 '20 22:02 udinator

No worries, I just wanted to check. I should have Tock up and running with PMP (tested on QEMU) next week. So I'm happy to help test (although I know it's not the same as real verification testing).

alistair23 avatar Feb 08 '20 02:02 alistair23