Skip to content

Pma directed test

Created by: silabs-robin

This PR adds directed tests for PMA features.

The tests correspond to the PMA vPlan entries about directed tests. DUT pma config params are set from the following chain of causality: "make" command line, yaml cfg files, tb, wrapper, dut. Several parts of this depend on features that have not yet been implemented in RTL, so they have been commented away and the plan is to gradually enable them as the RTL becomes ready. The tests cannot be fully run with iss enabled.

The ifdefs in tb I think are necessary, but I am open to suggestions for how to avoid them. And the parameter configs in tb could for example be moved to a separate file to keep things clean. Though I think it could be wise to wait a bit as there is work being done on riscv-dv that might impact these decisions.

Merge request reports

Loading