It appears that copying the user_components.ipx from SVN location to the personal ~ location avoids having to copy it into the installation location. The
version part of the directory name needs to match the Quartus version (eg. 11.1sp2, 14.1, 15.0). The ${RADIOHDL}/tools/quartus/check_ipx_content bash script
...
...
@@ -1082,6 +1086,118 @@ at the hdl_lib_uses_sim key are not needed for synthesis and could even confuse
file IO ignored because it is not possible to synthesize).
10) SVN trunk and branching
a) Useful commands
> svn up -r # # update to -r
> svn up # update to HEAD
> svn status -q # status of working copy compared to last svn up -r #
> svn status -u -q # status of working copy compared to HEAD
> svn revert -R .
> svn commit -m "#<Redmine number> comment" files
# Define simple editor for SVN commit message editing
export SVN_EDITOR=vim
echo $SVN_EDITOR
# Kill many GUI editors at once (e.g. in case svn diff on directory opened them all)
cntr-alt-F1
killall -9 gvimdiff
cntr-alt-F7
b) Choose between trunk or a branch
Default all firmware development is done on the HEAD of the trunk. We rely on regression tests and regular
synthesis (and validation on hardware) to ensure that the trunk remains intact.
Sometimes it can be useful though to be able to try a parallel development on a branch. Therefore it is useful
to setup a branches/ directory next to the trunk/ directory.
It is important to use $RADIOHDL in scripts instead of $SVN, because then $RADIOHDL can be set to point to the
desired trunk or branch tree. The $RADIOHDL is defined in the .bashrc. Using a startup choice the $RADIOHDL
variable can be set per terminal window e.g. using this in the .bashrc:
# when in scp abort:
if [ -z "$PS1" ]; then
return
fi
# SVN checkout root directory
echo -n "RADIOHDL='1' (default) or LOWCBF='2' or another tree='3': "
read choice
case $choice in
2)
echo "LOWCBF trunk is selected"
export SVN=${HOME}/svnroot/LOWCBF
. ${SVN}/Firmware/tools/bin/setup_radiohdl.sh
;;
3)
echo "RADIOHDL branch is selected"
export SVN=${HOME}/svnroot/UniBoard_FP7
# Setup RadioHDL environment for UniBoard2 and and new Uniboard1 applications