Open Mabdalshakour opened 1 month ago
Maybe I am failing to see the issue but I don't see it on the current latest commit (https://github.com/openhwgroup/cva6/commit/ab2283c075db94499d791a0eef66da2449cc2c1b) since the verif/regress/install-verilator.sh
script will install the binary in tools/verilator/bin
which is the default path in the verif/sim/setup-env.sh
script.
Please confirm you are still encountering the issue on https://github.com/openhwgroup/cva6/commit/ab2283c075db94499d791a0eef66da2449cc2c1b
Is there an existing CVA6 bug for this?
Bug Description
In setup-env.sh line 45, VERILATOR_INSTALL_DIR is set to "$ROOT_PROJECT"/tools/verilator which doesn't take the VERILATOR_HASH into account like what install-verilator.sh does in line 40, where it sets it to $ROOT_PROJECT/tools/verilator-$VERILATOR_HASH. That makes verilator unreachable except for running smoke-tests.sh. You can't source setup-env.sh as a standalone.