OpenCores
URL https://opencores.org/ocsvn/radiohdl/radiohdl/trunk

Subversion Repositories radiohdl

[/] [radiohdl/] [trunk/] [quartus/] [run_qsys_tool] - Rev 4

Compare with Previous | Blame | View Log

#!/bin/bash -eu
###############################################################################
#
# 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/>.
#
###############################################################################

verbose="--verbose"

# read generic functions
. ${RADIOHDL_GEAR}/generic.sh

# Buildset settings for selected a target, e.g.: "unb1", or "unb2"
BUILDSET=${1:-}
if [ "${BUILDSET}" = "" ]; then
  hdl_error $0 "Please specify all arguments\nUsage: $0 <buildset>"
fi

# Select output directory for the library compilation results
buildset_config_file="${RADIOHDL_CONFIG}/hdl_buildset_${BUILDSET}.cfg"
if [ ! -f $buildset_config_file ]; then
  hdl_error $0 "File '$buildset_config_file' does not exist"
fi

echo "Setting up environment for: ${BUILDSET}"

. ${RADIOHDL_GEAR}/set_config_variable $verbose $buildset_config_file quartus_dir

# Adopt quartus installation dependend directories
quartus_config_file="${RADIOHDL_CONFIG}/hdl_tool_quartus.cfg"
. ${RADIOHDL_GEAR}/set_config_variable $verbose $quartus_config_file sopc_paths

hdl_info $0 "Starting ${SOPC_PATHS}/qsys_edit"
${SOPC_PATHS}/qsys-edit

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.