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. Original-commit: c176046dff4941bcec27b0b72e5a68264c4808e5
This commit is contained in:
@@ -8,4 +8,8 @@ declare -A PRODUCT_ID_MAP
|
||||
PRODUCT_ID_MAP["X300"]="kintex7/xc7k325t/ffg900/-2"
|
||||
PRODUCT_ID_MAP["X310"]="kintex7/xc7k410t/ffg900/-2"
|
||||
|
||||
# Set default part for simulation
|
||||
export ARCH=kintex7
|
||||
export PART_ID="xc7k410t/ffg900/-2"
|
||||
|
||||
source $REPO_BASE_PATH/tools/scripts/setupenv_base.sh
|
||||
|
||||
Reference in New Issue
Block a user