From c176046dff4941bcec27b0b72e5a68264c4808e5 Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Wed, 25 Aug 2021 09:24:05 -0500 Subject: 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. --- fpga/usrp3/top/n3xx/setupenv.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fpga/usrp3/top/n3xx') diff --git a/fpga/usrp3/top/n3xx/setupenv.sh b/fpga/usrp3/top/n3xx/setupenv.sh index 0be100b62..bb20a330c 100644 --- a/fpga/usrp3/top/n3xx/setupenv.sh +++ b/fpga/usrp3/top/n3xx/setupenv.sh @@ -10,4 +10,8 @@ PRODUCT_ID_MAP["N310"]="zynq/xc7z100/ffg900/-2" PRODUCT_ID_MAP["N320"]="zynq/xc7z100/ffg900/-2" PRODUCT_ID_MAP["EISCAT"]="zynq/xc7z100/ffg900/-2" +# Set default part for simulation +export ARCH=zynq +export PART_ID="xc7z100/ffg900/-2" + source $REPO_BASE_PATH/tools/scripts/setupenv_base.sh -- cgit v1.2.3