Skip to content

Commit

Permalink
Merge pull request timvideos#480 from antmicro/fix_vivado_path
Browse files Browse the repository at this point in the history
Set Xilinx gateware toolchain location
  • Loading branch information
mateusz-holenko authored Jul 13, 2020
2 parents 16470ca + cc37850 commit 2f72e86
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .travis/download-xilinx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ if [ $HAVE_XILINX_ISE -eq 1 -o $HAVE_XILINX_VIVADO -eq 1 ]; then
else
export HAVE_XILINX_TOOLCHAIN=0
fi
if [ $HAVE_XILINX_TOOLCHAIN -eq 1 ]; then
export MISOC_EXTRA_CMDLINE="-Ob toolchain_path $XILINX_DIR/opt/Xilinx/"
fi

# Detect a likely lack of license early, but just warn if it's missing
# just in case they've set it up elsewhere.
Expand Down
7 changes: 2 additions & 5 deletions scripts/download-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ case $PLATFORM_TOOLCHAIN in
fi
echo ""
export HAVE_XILINX_ISE=1
export LITEX_ENV_ISE=$(dirname ${XILINX_SETTINGS_ISE[0]})
else
echo " - *No* Xilinx ISE toolchain found"
export HAVE_XILINX_ISE=0
Expand All @@ -363,6 +364,7 @@ case $PLATFORM_TOOLCHAIN in
fi
echo ""
export HAVE_XILINX_VIVADO=1
export LITEX_ENV_VIVADO=$(dirname ${XILINX_SETTINGS_VIVADO[0]})
else
echo " - *No* Xilinx Vivado toolchain found!"
export HAVE_XILINX_VIVADO=0
Expand All @@ -375,11 +377,6 @@ case $PLATFORM_TOOLCHAIN in
export HAVE_XILINX_TOOLCHAIN=0
export HAVE_FPGA_TOOLCHAIN=0
fi
if [ $HAVE_XILINX_TOOLCHAIN -eq 1 ]; then
for P in ${XILINX_BINDIR[@]}; do
export PATH="$XILINX_DIR/$P:$PATH"
done
fi

# Detect a likely lack of license early, but just warn if it's missing
# just in case they've set it up elsewhere.
Expand Down
7 changes: 2 additions & 5 deletions scripts/enter-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ case $PLATFORM_TOOLCHAIN in
fi
echo ""
export HAVE_XILINX_ISE=1
export LITEX_ENV_ISE=$(dirname ${XILINX_SETTINGS_ISE[0]})
else
echo " - *No* Xilinx ISE toolchain found"
export HAVE_XILINX_ISE=0
Expand All @@ -286,6 +287,7 @@ case $PLATFORM_TOOLCHAIN in
fi
echo ""
export HAVE_XILINX_VIVADO=1
export LITEX_ENV_VIVADO=$(dirname ${XILINX_SETTINGS_VIVADO[0]})
else
echo " - *No* Xilinx Vivado toolchain found!"
export HAVE_XILINX_VIVADO=0
Expand All @@ -298,11 +300,6 @@ case $PLATFORM_TOOLCHAIN in
export HAVE_XILINX_TOOLCHAIN=0
export HAVE_FPGA_TOOLCHAIN=0
fi
if [ $HAVE_XILINX_TOOLCHAIN -eq 1 ]; then
for P in ${XILINX_BINDIR[@]}; do
export PATH="$XILINX_DIR/$P:$PATH"
done
fi

# Detect a likely lack of license early, but just warn if it's missing
# just in case they've set it up elsewhere.
Expand Down

0 comments on commit 2f72e86

Please sign in to comment.