diff options
author | Wade Fife <wade.fife@ettus.com> | 2021-12-06 17:26:24 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-12-08 12:07:36 -0800 |
commit | 38c2a19e04c6e0467a6cc79977ab51a030f9735d (patch) | |
tree | 7b3b3e51b6496de4e609a675739bc9cffee5be3a /fpga/usrp3 | |
parent | ed7e0f2f977c44ac4329c8f5ba06efe03550a2ec (diff) | |
download | uhd-38c2a19e04c6e0467a6cc79977ab51a030f9735d.tar.gz uhd-38c2a19e04c6e0467a6cc79977ab51a030f9735d.tar.bz2 uhd-38c2a19e04c6e0467a6cc79977ab51a030f9735d.zip |
fpga: tools: Update Vivado scripts to use python3
Diffstat (limited to 'fpga/usrp3')
-rw-r--r-- | fpga/usrp3/tools/scripts/setupenv_base.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpga/usrp3/tools/scripts/setupenv_base.sh b/fpga/usrp3/tools/scripts/setupenv_base.sh index 7ce98a064..4fa00d843 100644 --- a/fpga/usrp3/tools/scripts/setupenv_base.sh +++ b/fpga/usrp3/tools/scripts/setupenv_base.sh @@ -342,7 +342,7 @@ function viv_create_ip { ip_name=$1 ip_dir=$(readlink -f $2) ip_vlnv=$3 - part_name=$(python $REPO_BASE_PATH/tools/scripts/viv_gen_part_id.py "${PRODUCT_ID_MAP[$4]}") + part_name=$(python3 $REPO_BASE_PATH/tools/scripts/viv_gen_part_id.py "${PRODUCT_ID_MAP[$4]}") if [[ $? -ne 0 ]]; then echo "ERROR: Invalid product name $4. Supported: ${!PRODUCT_ID_MAP[@]}" return 1 @@ -392,7 +392,7 @@ function viv_modify_bd { fi bd_path=$(readlink -f $1) - part_name=$(python $REPO_BASE_PATH/tools/scripts/viv_gen_part_id.py "${PRODUCT_ID_MAP[$2]}") + part_name=$(python3 $REPO_BASE_PATH/tools/scripts/viv_gen_part_id.py "${PRODUCT_ID_MAP[$2]}") if [[ $? -ne 0 ]]; then echo "ERROR: Invalid product name $2. Supported: ${!PRODUCT_ID_MAP[@]}" return 1 @@ -416,7 +416,7 @@ function viv_modify_tcl_bd { fi src_path=$(readlink -f $1) - part_name=$(python $REPO_BASE_PATH/tools/scripts/viv_gen_part_id.py "${PRODUCT_ID_MAP[$2]}") + part_name=$(python3 $REPO_BASE_PATH/tools/scripts/viv_gen_part_id.py "${PRODUCT_ID_MAP[$2]}") if [[ $? -ne 0 ]]; then echo "ERROR: Invalid product name $2. Supported: ${!PRODUCT_ID_MAP[@]}" return 1 @@ -441,7 +441,7 @@ function viv_ls_ip { return 1 fi - part_name=$(python $REPO_BASE_PATH/tools/scripts/viv_gen_part_id.py "${PRODUCT_ID_MAP[$1]}") + part_name=$(python3 $REPO_BASE_PATH/tools/scripts/viv_gen_part_id.py "${PRODUCT_ID_MAP[$1]}") if [[ $? -ne 0 ]]; then echo "ERROR: Invalid product name $1. Supported: ${!PRODUCT_ID_MAP[@]}" return 1 |