From c6bc3bcc41ae119c27157bbc3207eb0f35ae6d1b Mon Sep 17 00:00:00 2001 From: donker <donker@astron.nl> Date: Sat, 21 Sep 2019 08:51:08 +0200 Subject: [PATCH] add checking for ipx file --- init_hdl.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/init_hdl.sh b/init_hdl.sh index f0bbd2d8e3..507bdc5f2d 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. -- GitLab