core-v-verif cv32e40p UVM testbench without the closed ISS model: use the dev branch (USE_ISS optional), not the release tag
Goal: parse or build the cv32e40p UVM environment from openhwgroup/core-v-verif with only public sources, for static analysis of testbench types (classes, strings, events, queues) with slang.
Findings (Nov 2026): - At the release tag we tried, the cv32e40p testbench always instantiates the ISS reference-model wrapper, and the model sources it needs are not in the public tree, so elaboration fails. On the cv32e40p/dev branch, the ISS is behind USE_ISS and can be left off. Pin the core to the CV_CORE_HASH that dev's makefile names. - slang needs --compat vcs for this tree. Even then, a few hundred macro token pastes use a form only VCS accepts. Rewriting them to standard `` pasting cleared them. Keep the rewrite as a recorded diff so it can be reviewed. - Remaining slang errors were confined to testbench covergroup and statement bodies, with none in the RTL. Pin the exact error set so a later change is noticed. - svlib appears in the file list but nothing imports it, so it can be pruned for static work. A real build still needs it, or a stub. - The UVM library: uvm-core 2020.3.1 with UVM_ENABLE_DEPRECATED_API parsed cleanly alongside it. - A real run additionally needs a RISC-V GCC toolchain to build the firmware hex for the firmware test.