From 99a4a27baef6e898d172a20c78f2a9cac24eefb2 Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Sat, 5 Feb 2022 12:45:37 +0700 Subject: [PATCH] add XC7K160T part Signed-off-by: Hans Baier --- Makefile | 2 +- settings/kintex7/devices.yaml | 3 +++ settings/kintex7_160t.sh | 36 +++++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 settings/kintex7_160t.sh diff --git a/Makefile b/Makefile index acb7f426..abcf7e18 100644 --- a/Makefile +++ b/Makefile @@ -189,7 +189,7 @@ $(foreach DB,$(DATABASES),$(eval $(call database,$(DB)))) ARTIX_PARTS=artix7_50t artix7_200t ZYNQ_PARTS=zynq7010 -KINTEX_PARTS= +KINTEX_PARTS=kintex7_160t SPARTAN_PARTS= XRAY_PARTS=${ARTIX_PARTS} ${ZYNQ_PARTS} ${KINTEX_PARTS} ${SPARTAN_PARTS} diff --git a/settings/kintex7/devices.yaml b/settings/kintex7/devices.yaml index e889e781..9b1e7928 100644 --- a/settings/kintex7/devices.yaml +++ b/settings/kintex7/devices.yaml @@ -1,3 +1,6 @@ # device to fabric mapping "xc7k70t": fabric: "xc7k70t" +"xc7k160t": + fabric: "xc7k160t" + diff --git a/settings/kintex7_160t.sh b/settings/kintex7_160t.sh new file mode 100644 index 00000000..04f70548 --- /dev/null +++ b/settings/kintex7_160t.sh @@ -0,0 +1,36 @@ +# Copyright (C) 2017-2020 The Project X-Ray Authors. +# +# Use of this source code is governed by a ISC-style +# license that can be found in the LICENSE file or at +# https://opensource.org/licenses/ISC +# +# SPDX-License-Identifier: ISC +export XRAY_DATABASE="kintex7" +export XRAY_PART="xc7k160tffg676-2" +export XRAY_ROI_FRAMES="0x00000000:0xffffffff" + +# All CLB's in the part, all BRAM's in the part, all DSP's in the part. +# those are site coordinats: bottom half rectangle / top half rectangle for each site type +export XRAY_ROI_TILEGRID="SLICE_X0Y0:SLICE_X109Y149 SLICE_X0Y150:SLICE_X101Y249 DSP48_X0Y0:DSP48_X5Y59 DSP48_X0Y60:DSP48_X5Y99 RAMB18_X0Y0:RAMB18_X6Y59 RAMB18_X0Y60:RAMB18_X5Y99 RAMB36_X0Y0:RAMB36_X6Y29 RAMB36_X0Y30:RAMB36_X5Y49" + +export XRAY_EXCLUDE_ROI_TILEGRID="" + +export XRAY_IOI3_TILES="LIOI3_X0Y9 RIOI3_X73Y9" + +# These settings must remain in sync +export XRAY_ROI="SLICE_X0Y100:SLICE_X19Y149 DSP48_X0Y40:DSP48_X0Y59 RAMB18_X0Y40:RAMB18_X0Y59 RAMB36_X0Y20:RAMB36_X0Y29 IOB_X0Y100:IOB_X0Y149" +# Part of CMT X0Y1 +export XRAY_ROI_GRID_X1="0" +export XRAY_ROI_GRID_X2="68" +# Include VBRK / VTERM +export XRAY_ROI_GRID_Y1="154" +export XRAY_ROI_GRID_Y2="206" + +source $(dirname ${BASH_SOURCE[0]})/../utils/environment.sh + +env=$(python3 ${XRAY_UTILS_DIR}/create_environment.py) +ENV_RET=$? +if [[ $ENV_RET != 0 ]] ; then + return $ENV_RET +fi +eval $env