diff --git a/f4pga/wrappers/sh/quicklogic/repack.f4pga.sh b/f4pga/wrappers/sh/quicklogic/repack.f4pga.sh index 4863afc..8ba7d28 100755 --- a/f4pga/wrappers/sh/quicklogic/repack.f4pga.sh +++ b/f4pga/wrappers/sh/quicklogic/repack.f4pga.sh @@ -20,7 +20,6 @@ set -e if [ -z $VPRPATH ]; then export VPRPATH="$F4PGA_ENV_BIN" - export PYTHONPATH=${VPRPATH}/python:${VPRPATH}/python/prjxray:${PYTHONPATH} fi source $(dirname "$0")/vpr_common.f4pga.sh @@ -31,6 +30,8 @@ DESIGN=${EBLIF/.eblif/} [ ! -z "${JSON}" ] && JSON_ARGS="--json-constraints ${JSON}" || JSON_ARGS= [ ! -z "${PCF_PATH}" ] && PCF_ARGS="--pcf-constraints ${PCF_PATH}" || PCF_ARGS= +export PYTHONPATH=$F4PGA_ENV_BIN/python:$PYTHONPATH + python3 "$F4PGA_ENV_BIN"/python/repacker/repack.py \ --vpr-arch ${ARCH_DEF} \ --repacking-rules ${ARCH_DIR}/${DEVICE_1}.repacking_rules.json \