diff options
-rw-r--r-- | fpga/usrp3/tools/scripts/setupenv_base.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fpga/usrp3/tools/scripts/setupenv_base.sh b/fpga/usrp3/tools/scripts/setupenv_base.sh index 0cdf71370..d401b410e 100644 --- a/fpga/usrp3/tools/scripts/setupenv_base.sh +++ b/fpga/usrp3/tools/scripts/setupenv_base.sh @@ -17,7 +17,11 @@ if [[ $VIV_PLATFORM = "Cygwin" ]]; then fi MODELSIM_BASE_PATH="/cygdrive/c/mentor/modelsim" else - if [[ -d "/opt/Xilinx/Vivado_Lab" ]]; then + if [[ -d "/tools/Xilinx/Vivado_Lab" ]]; then + VIVADO_BASE_PATH="/tools/Xilinx/Vivado_Lab" + elif [[ -d "/tools/Xilinx/Vivado" ]]; then + VIVADO_BASE_PATH="/tools/Xilinx/Vivado" + elif [[ -d "/opt/Xilinx/Vivado_Lab" ]]; then VIVADO_BASE_PATH="/opt/Xilinx/Vivado_Lab" else VIVADO_BASE_PATH="/opt/Xilinx/Vivado" |