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

Subversion Repositories radiohdl

[/] [radiohdl/] [trunk/] [quartus/] [run_qsys_tool] - Blame information for rev 7

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 danv
#!/bin/bash -eu
2
###############################################################################
3
#
4
# Copyright (C) 2016
5
# ASTRON (Netherlands Institute for Radio Astronomy) 
6
# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
7
#
8
# This program is free software: you can redistribute it and/or modify
9
# it under the terms of the GNU General Public License as published by
10
# the Free Software Foundation, either version 3 of the License, or
11
# (at your option) any later version.
12
#
13
# This program is distributed in the hope that it will be useful,
14
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
# GNU General Public License for more details.
17
#
18
# You should have received a copy of the GNU General Public License
19
# along with this program.  If not, see .
20
#
21
###############################################################################
22
 
23
verbose="--verbose"
24
 
25
# read generic functions
26
. ${RADIOHDL_GEAR}/generic.sh
27
 
28
# Buildset settings for selected a target, e.g.: "unb1", or "unb2"
29
BUILDSET=${1:-}
30
if [ "${BUILDSET}" = "" ]; then
31
  hdl_error $0 "Please specify all arguments\nUsage: $0 "
32
fi
33
 
34
# Select output directory for the library compilation results
35
buildset_config_file="${RADIOHDL_CONFIG}/hdl_buildset_${BUILDSET}.cfg"
36
if [ ! -f $buildset_config_file ]; then
37
  hdl_error $0 "File '$buildset_config_file' does not exist"
38
fi
39
 
40
echo "Setting up environment for: ${BUILDSET}"
41
 
42
. ${RADIOHDL_GEAR}/set_config_variable $verbose $buildset_config_file quartus_dir
43
 
44
# Adopt quartus installation dependend directories
45
quartus_config_file="${RADIOHDL_CONFIG}/hdl_tool_quartus.cfg"
46
. ${RADIOHDL_GEAR}/set_config_variable $verbose $quartus_config_file sopc_paths
47
 
48
hdl_info $0 "Starting ${SOPC_PATHS}/qsys_edit"
49
${SOPC_PATHS}/qsys-edit

powered by: WebSVN 2.1.0

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