wrappers: sh: ql: fix share path and add missing env vars

Signed-off-by: Paweł Czarnecki <pczarnecki@antmicro.com>
This commit is contained in:
Paweł Czarnecki 2022-05-23 15:34:41 +02:00
parent b8761201d7
commit e830f516ce
2 changed files with 7 additions and 1 deletions

View File

@ -20,7 +20,9 @@ set -e
BUILDDIR=build
source "$F4PGA_ENV_BIN"/vpr_common
SHARE_DIR_PATH=${SHARE_DIR_PATH:="$F4PGA_ENV_SHARE"}
source $(dirname "$0")/vpr_common.f4pga.sh
VERSION="v2.0.1"

View File

@ -134,9 +134,13 @@ export SYNTH_JSON=${TOP}_io.json
export OUT_SYNTH_V=${TOP}_synth.v
export OUT_EBLIF=${TOP}.eblif
export OUT_FASM_EXTRA=${TOP}_fasm_extra.fasm
export PYTHON3=$(which python3)
export UTILS_PATH=${VPRPATH}/python/
if [ -s $PCF ]; then
export PCF_FILE=$PCF
else
export PCF_FILE=""
fi
DEVICE_PATH="${SHARE_DIR_PATH}/arch/${DEVICE}_${DEVICE}"