aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/vendors/compile-xilinx-vivado.sh
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@tu-dresden.de>2016-10-27 23:09:05 +0200
committerPatrick Lehmann <Patrick.Lehmann@tu-dresden.de>2016-10-28 02:39:09 +0200
commit4d68bc3139f3fe6d6642b1d2df4bf9bf63711477 (patch)
tree7f8d913183de6a3b1946b5048fc5602765857355 /libraries/vendors/compile-xilinx-vivado.sh
parentde1c213c36101c80f961f2ba24d4188646de8cb5 (diff)
downloadghdl-4d68bc3139f3fe6d6642b1d2df4bf9bf63711477.tar.gz
ghdl-4d68bc3139f3fe6d6642b1d2df4bf9bf63711477.tar.bz2
ghdl-4d68bc3139f3fe6d6642b1d2df4bf9bf63711477.zip
VendorLib: Added switch to compile XilinxCoreLib for ISE. Adjusted behavior between PowerShell and Bash scripts. Updated embedded help pages.
Diffstat (limited to 'libraries/vendors/compile-xilinx-vivado.sh')
-rwxr-xr-xlibraries/vendors/compile-xilinx-vivado.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/libraries/vendors/compile-xilinx-vivado.sh b/libraries/vendors/compile-xilinx-vivado.sh
index 4ae2862fa..64e48c2b0 100755
--- a/libraries/vendors/compile-xilinx-vivado.sh
+++ b/libraries/vendors/compile-xilinx-vivado.sh
@@ -16,7 +16,7 @@
# - compiles all Xilinx Vivado simulation libraries and packages
#
# ==============================================================================
-# Copyright (C) 2015-2016 Patrick Lehmann
+# Copyright (C) 2015-2016 Patrick Lehmann - Dresden, Germany
#
# GHDL is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
@@ -126,13 +126,15 @@ if [ $NO_COMMAND -eq 1 ]; then
fi
if [ "$HELP" == "TRUE" ]; then
- test $NO_COMMAND -eq 1 && echo 1>&2 -e "\n${COLORED_ERROR} No command selected."
+ test $NO_COMMAND -eq 1 && echo 1>&2 -e "/n${COLORED_ERROR} No command selected."
echo ""
echo "Synopsis:"
echo " A script to compile the Xilinx Vivado simulation libraries for GHDL on Linux."
echo " One library folder 'lib/v??' per VHDL library will be created relative to the current"
echo " working directory."
echo ""
+ echo " Use the adv. options or edit 'config.sh' to supply paths and default params."
+ echo ""
echo "Usage:"
echo " compile-xilinx-vivado.sh <common command>|<library> [<options>] [<adv. options>]"
echo ""
@@ -154,9 +156,9 @@ if [ "$HELP" == "TRUE" ]; then
echo " -H --halt-on-error Halt on error(s)."
echo ""
echo "Advanced options:"
- echo " --ghdl <GHDL Binary> Path to GHDL's binary e.g. /usr/local/bin/ghdl."
- echo " --out <dir name> Name of the output directory."
- echo " --src <Path to OSVVM> Path to the source directory."
+ echo " --ghdl <GHDL bin dir> Path to GHDL's binary directory, e.g. /usr/local/bin"
+ echo " --out <dir name> Name of the output directory, e.g. xilinx-vivado"
+ echo " --src <Path to lib> Path to the sources, e.g. /opt/Xilinx/Vivado/2016.3/data/vhdl/src"
echo ""
echo "Verbosity:"
echo " -n --no-warnings Suppress all warnings. Show only error messages."