chipsalliance / riscv-dv

Random instruction generator for RISC-V processor verification
Apache License 2.0
1.03k stars 330 forks source link

[pmp] Add knob to suppress PMP setup code #896

Closed GregAC closed 2 years ago

GregAC commented 2 years ago

By default PMP setup is included in every test which sets up a full set of PMP regions. A test may wish to have full access to all of memory to ensure there are no PMP failures. This knob suppresses the general PMP setup generation and instead generates a setup with a single region giving full access to all of memory.

GregAC commented 2 years ago

@marnovandermaas PTAL

GregAC commented 2 years ago

@weicaiyang PTAL