Skip to content

corev_pma_rand_pma_test fixes for instruction corruption

Created by: strichmo

This PR fixes two major issues with the corev_pma_rand_pma_test in cv32e40x regressions.

  • OVPSIM does not seem to handle fetches from the end of memory (i.e 0xffff_fffc) well.
  • super.post_randomize() usage in many PMA instructions streams is cleaned up to avoid inserting instructions from super classes that are not properly constrained in accordance with the intended class. This caused address generation for these instructions to be not-as-intended which could overwrite instructions in the flat memory space.

Merge request reports

Loading