diff --git a/init_hdl.sh b/init_hdl.sh index f0bbd2d8e36ca57ddddd4d374a4b336bee71526f..507bdc5f2d5f9dd6a0f706f2f6723bd6563e08b3 100644 --- a/init_hdl.sh +++ b/init_hdl.sh @@ -43,6 +43,22 @@ fi # make a new symbolic link to the git version ln -s ${RADIOHDL_WORK}/minimal_user_components.ipx $user_components_file +# # Finally check if user_component.ipx file of the altera package at least contains +# # the paths we need for HDL. +# package_ipx=${QUARTUS_DIR}/ip/altera/user_components.ipx +# minimal_ipx=${RADIOHDL_GEAR}/quartus/minimal_user_components.ipx +# # for each path found in minimal set, try to find it in package file +# grep "<path path=" $minimal_ipx | while read -r this_path +# do +# this_path=`echo $this_path | cut --delimiter='"' -f2` +# if grep -q "$this_path" $package_ipx ; then +# : +# # echo "Found $this_path in $package_ipx" +# else +# hdl_error $0 "can't find $this_path in ${package_ipx} Check your ipx setting." +# fi +# done + # Figure out where this script is located and set environment variables accordingly export RADIOHDL_WORK="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # setup paths to build and config dir if not already defined by the user.