diff --git a/tools/quartus/run_qsys_tool b/tools/quartus/run_qsys_tool new file mode 100755 index 0000000000000000000000000000000000000000..7cb3851e4385b8b918549e731392833b0a431d29 --- /dev/null +++ b/tools/quartus/run_qsys_tool @@ -0,0 +1,37 @@ +#!/bin/bash +############################################################################### +# +# Copyright (C) 2016 +# ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/> +# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands +# +# This program 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 Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +############################################################################### + +TOOLSET=${1:-} +echo "Make Quartus settings for RadioHDL with :" +echo " - Tool setting: ${TOOLSET}" +echo " - Site setting: ${SITE-}" + +if [ "${TOOLSET}" = "unb1" ]; then + echo "Starting Qsys version: 11.1" + /home/software/Altera/11.1/quartus/sopc_builder/bin/qsys-edit +elif [ "${TOOLSET}" = "unb2" ]; then + echo "Starting Qsys version: 15.0" + /home/software/Altera/15.0/quartus/sopc_builder/bin/qsys-edit +else + echo "Unknow UNB setting, using default UNB1" + /home/software/Altera/11.1/quartus/sopc_builder/bin/qsys-edit +fi