diff --git a/tools/modelsim/modelsim_version.sh b/tools/modelsim/modelsim_version.sh index 50b10db2b3fbfd78d5fc215a5854b652234f4865..7dcf5a96d058329f8b9a72f94267b1a71b263472 100755 --- a/tools/modelsim/modelsim_version.sh +++ b/tools/modelsim/modelsim_version.sh @@ -31,3 +31,4 @@ fi # Must not define MODEL_TECH, because it gets defined when the tool starts. Therefore define MODEL_TECH_DIR to denote the modeltech version directory export MODEL_TECH_DIR=/home/software/Mentor/${MODELSIM_VERSION_DIR}/modeltech +export VSIM_DIR=$MODEL_TECH_DIR/linux_x86_64 diff --git a/tools/modelsim/run_modelsim b/tools/modelsim/run_modelsim index 74cb7ecc0a85dc8b2b06b80cddbcbfc1ceccb6bf..1599712b9cf078468caf096d6fc5aca1dd0716bc 100755 --- a/tools/modelsim/run_modelsim +++ b/tools/modelsim/run_modelsim @@ -36,7 +36,7 @@ if [ "${TARGET}" = "default" ]; then . ${RADIOHDL}/tools/modelsim/modelsim_version.sh 6.6c elif [ "${TARGET}" = "unb1" ]; then . ${RADIOHDL}/tools/quartus/quartus_version.sh 11.1 - . ${RADIOHDL}/tools/modelsim/modelsim_version.sh 6.6c + . ${RADIOHDL}/tools/modelsim/modelsim_version.sh 10.2c elif [ "${TARGET}" = "unb2" ]; then #. ${RADIOHDL}/tools/quartus/quartus_version.sh 13.1 . ${RADIOHDL}/tools/quartus/quartus_version.sh 14.0a10 @@ -56,4 +56,4 @@ fi # - Default modelsim.ini settings can be overruled by project specific settings in the [vsim] section in the modelsim project files. # Start the Modelsim GUI -$MODEL_TECH_DIR/linux_x86_64/vsim -do ${RADIOHDL}/tools/modelsim/commands.do +$VSIM_DIR/vsim -do ${RADIOHDL}/tools/modelsim/commands.do