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
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.
The text was updated successfully, but these errors were encountered:
Mabdalshakour
added
the
Type:Bug
For bugs in the RTL, Documentation, Verification environment or Tool and Build system
label
Oct 7, 2024
Mabdalshakour
changed the title
[BUG] <title>VERILATOR_INSTALL_DIR is not set proprely in setup-env.sh
[BUG] VERILATOR_INSTALL_DIR is not set proprely in setup-env.sh
Oct 7, 2024
Maybe I am failing to see the issue but I don't see it on the current latest commit (ab2283c) 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 ab2283c
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.
The text was updated successfully, but these errors were encountered: