Skip to content

enable random PMA memory usage in corev-dv tests

Created by: strichmo

corev-dv random PMA

Merges in @silabs-hfegran's work to enable:

  • Multiple PMA configurations to be used in corev-dv tests
  • corev-dv instruction libraries to use multiple regions across different PMAs

All generated files to results

' The generated directories for test_programs has been overhauled to move all of the generated files into this type of directory:

<sim>_results/<cfg>/<test>/<run_index>/test_program/

The BSP also is built into the results area on a per-config basis:

<sim>_results/<cfg>/bsp

Going forward we should not be generating temporary files in the core-v-verif source tree.

Regression support for configurations

Regression support for configurations and tests was greatly enhanced. release check and ci check test lists were updated accordingly.

Compatibility

Xcelium, Questa and DSIM should pass in E40X and E40P with these updates. VCS and Riviera were updated to follow changes made in the other simulators, however I have no way to test that.

Known Issues

  • The loading of the ELF file into OVPSIM for certain PMA configurations can take quite a long time, especially in DSIM. The linker generation will need to be smarter to better allocate smaller regions for memory actually used.
  • Directed tests do not have a way to use the random PMA regions as these linker scripts are generated by corev-dv.

Merge request reports

Loading