You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to build & run the repo using DSIM.
I'm get the following error -
=E:[SolveBeforeMustBeRand]:
The variables mentioned in a solve-before constraint
must be simple variables (no indexes or members)
and must be rand (not state or randc).
./src/riscv_pmp_cfg.sv:106:7
Included from src/riscv_instr_pkg.sv:1529:12
Any help with this would be great.
The text was updated successfully, but these errors were encountered:
Here's the problematic line: solve mseccfg.mml before pmp_cfg[i].w, pmp_cfg[i].r;
mseccfg is a rand variable of a packed struct. dsim does not currently allow slices/members of packed structs in the "solve before" directive. It would be a substantive rewrite of the code, which is not in the immediate pipeline. Would solving for mseccfg instead of a specific bit within it be an acceptable workaround? solve mseccfg before pmp_cfg[i].w, pmp_cfg[i].r;
Hi,
I'm trying to build & run the repo using DSIM.
I'm get the following error -
Any help with this would be great.
The text was updated successfully, but these errors were encountered: