Setup.sh script

From Reconfigurable Computing Wiki
Jump to: navigation, search


SDIR=`dirname "$BASH_SOURCE"`
CDIR=`readlink -f "$SDIR"`

export XLNX_VER=14.5
export VVDO_VER=2013.1
export ALTR_VER=12.0
export ARCH_VER=64
export VSIM_VER=10.1c

printf "Setting up environment variables for %s-bit Xilinx ISE tools, version %s..." $ARCH_VER $XLNX_VER
source /remote/Xilinx/$XLNX_VER/settings$ARCH_VER.sh
printf "done.\n"

printf "Setting up environment variables for %s-bit Xilinx Vivado tools, version %s..." $ARCH_VER $VVDO_VER
source /remote/Xilinx/$VVDO_VER/settings$ARCH_VER.sh
printf "done.\n"

printf "Setting up path for %s-bit Modelsim tools, version %s..." $ARCH_VER $VSIM_VER
export PATH=$PATH:/remote/Modelsim/$VSIM_VER/modeltech/linux_x86_64/
printf "done.\n"

printf "Setting up environment variables for %s-bit Altera tools, version %s..." $ARCH_VER $ALTR_VER
export PATH=$PATH:/remote/Altera/$ALTR_VER/quartus/bin
printf "done.\n"

printf "Setting up license file..."
export LM_LICENSE_FILE=2201@mitch.ece.iastate.edu:1717@io.ece.iastate.edu:27006@io.ece.iastate.edu
printf "done.\n"