Skip to content
Snippets Groups Projects
Commit c78d3e11 authored by Daniel van der Schuur's avatar Daniel van der Schuur
Browse files

-Added script to run regression synthesis.

parent 3e0c0998
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# -------------------------------------------------------------------------- #
# Copyright (C) 2016
# ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
# JIVE (Joint Institute for VLBI in Europe) <http://www.jive.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/>.
# -------------------------------------------------------------------------- #
#
# Purpose:
# . Synthesize a list of designs
# Description:
# . TODO: run this as user 'regtest'; completeley separate.
# . TODO: Create cronjob; run every friday evening. SVN update this script in
# the cronjob before executing!
# . TODO: Auto email the report.
# Usage:
# . ./run_regression_synth
###############################################################################
# Source generic.sh for functions such as unb_info
###############################################################################
. ${UNB}/Firmware/software/build/generic.sh
###############################################################################
# Override the SVN dir temporariliy; we don't want anything done to the real
# SVN directory.
###############################################################################
SVN_DIR=${HOME}/svn_run_regression_synth
export SVN=${SVN_DIR}
# Delete any existing old SVN tree in the /tmp dir
if [ -d "${svn_dir}" ]; then
unb_info $0 "Deleting existing SVN tree in ${SVN_DIR}"
# unb_exec $0 rm -rf ${SVN_DIR}
fi
###############################################################################
# Check out SVN
###############################################################################
unb_info $0 "Checking out SVN to ${SVN_DIR}"
#unb_exec $0 svn checkout https://svn.astron.nl/UniBoard_FP7/ ${SVN_DIR}
###############################################################################
# Check out SVN
###############################################################################
unb_info $0 "Generating all IP"
unb_exec $0 cd ${SVN}/RadioHDL/trunk/libraries/technology/ip_stratixiv
#$unb_exec $0 sh generate-all-ip.sh
###############################################################################
# Run quartus_config.py
###############################################################################
unb_info $0 "Creating Quartus project build directories"
unb_exec $0 python ${SVN}/RadioHDL/trunk/tools/oneclick/base/quartus_config.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment