Skip to content

New features and updates to regressions

Created by: XavierAubert

This pull request contains readme updates for people using Questa VRun Manager along with bug correction for the questa template file. (commits 312d7de0 & 143e563c)

When I first tried to add Questa regression few weeks ago, I saw that Questa Vrun do not catch simulation errors at all, I thought at first it was somehow an issue with how Questa Vrun works and I found a workaround to this by writing test status to an ucdb file for each test, but this implied that coverage should be enabled. I set-up a way to do this with coverage disabled, see commit b710bc04 for more comments on that (it's a bit long to be there...)

I also discover by re-reading again cv_regress that the script also seeks for builds as a list inside a test item, but this was not clearly documented anywhere and has not been used in any other regression file, so I missed it... I was then able to update the Questa Vrun template to use this feature, that will allow something like the code snippet below to be done inside regressions YAML files, with every build matching its configuration. This generates a regression with 8 hello-world tests per configuration.

  hello-world:
    builds:                  <------------ note the plural, instead of "build" like all others yaml regression files
      - uvmt_cv32e40p_default
      - uvmt_cv32e40p_no_pulp
      - uvmt_cv32e40p_pulp
      - uvmt_cv32e40p_pulp_cluster
      - uvmt_cv32e40p_pulp_cluster_fpu
      - uvmt_cv32e40p_pulp_cluster_fpu_zfinx
      - uvmt_cv32e40p_pulp_cluster_fpu
      - uvmt_cv32e40p_pulp_cluster_fpu_zfinx
    description: UVM Hello World Test
    dir: cv32e40p/sim/uvmt
    cmd: make test COREV=YES TEST=hello-world
    num: 8

This is done with commits a6d920d1 and 59d23fd0.

The last commit only contains updates to the readme with the build list features I just explained.

Merge request reports

Loading