From 42ea75e4fa575b0b136d23fec58f0c0ebbfe4c7c Mon Sep 17 00:00:00 2001 From: Priest <priest> Date: Tue, 16 Aug 2016 13:59:09 +0000 Subject: [PATCH] Initial commit --- tools/quartus/run_qsys_tool | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 tools/quartus/run_qsys_tool diff --git a/tools/quartus/run_qsys_tool b/tools/quartus/run_qsys_tool new file mode 100755 index 0000000000..7cb3851e43 --- /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 -- GitLab