Files
b210-k7-fpga/top/x400/setupenv.sh
T
Wade Fife 869861c8cf 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
2021-08-30 08:20:10 -05:00

21 lines
516 B
Bash

#!/bin/bash
#
# Copyright 2021 Ettus Research, a National Instruments Brand
#
# SPDX-License-Identifier: LGPL-3.0-or-later
#
VIVADO_VER=2019.1
VIVADO_VER_FULL=2019.1.1_AR73068
DISPLAY_NAME="USRP-X4xx"
REPO_BASE_PATH=$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)
declare -A PRODUCT_ID_MAP
PRODUCT_ID_MAP["X410"]="zynquplusRFSOC/xczu28dr/ffvg1517/-1/e"
# Set default part for simulation
export ARCH=zynquplusRFSOC
export PART_ID="xczu28dr/ffvg1517/-1/e"
source $REPO_BASE_PATH/tools/scripts/setupenv_base.sh