aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top/e31x/setupenv.sh
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2021-08-25 09:24:05 -0500
committerWade Fife <wade.fife@ettus.com>2021-08-30 08:20:10 -0500
commitc176046dff4941bcec27b0b72e5a68264c4808e5 (patch)
treef8736cfb5e496f855fdb83109cb39f1fba6c9b44 /fpga/usrp3/top/e31x/setupenv.sh
parent2680025c1b8ac51812931d78b2e0a4777f8e1774 (diff)
downloaduhd-c176046dff4941bcec27b0b72e5a68264c4808e5.tar.gz
uhd-c176046dff4941bcec27b0b72e5a68264c4808e5.tar.bz2
uhd-c176046dff4941bcec27b0b72e5a68264c4808e5.zip
fpga: Set default part for sim in setupenv.sh
This sets the ARCH and PART_ID environment variables so that the selected part family is used for simulations by default. This can be overridden by changing them in the Makefile for the testbench if a testbench requires a specific part family. Prior to this change, the default was always ARCH=kintex7, PART_ID=xc7k410t/ffg900/-2, which required support for that part to be installed.
Diffstat (limited to 'fpga/usrp3/top/e31x/setupenv.sh')
-rw-r--r--fpga/usrp3/top/e31x/setupenv.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/fpga/usrp3/top/e31x/setupenv.sh b/fpga/usrp3/top/e31x/setupenv.sh
index 940ccede2..b7023f2de 100644
--- a/fpga/usrp3/top/e31x/setupenv.sh
+++ b/fpga/usrp3/top/e31x/setupenv.sh
@@ -8,4 +8,8 @@ declare -A PRODUCT_ID_MAP
PRODUCT_ID_MAP["E310_SG1"]="zynq/xc7z020/clg484/-1"
PRODUCT_ID_MAP["E310_SG3"]="zynq/xc7z020/clg484/-3"
+# Set default part for simulation
+export ARCH=zynq
+export PART_ID="xc7z020/clg484/-3"
+
source $REPO_BASE_PATH/tools/scripts/setupenv_base.sh