Skip to content

Commit

Permalink
add XC7K480T
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
  • Loading branch information
hansfbaier committed Apr 18, 2022
1 parent 0d34e72 commit bc47b2e
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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_480t
SPARTAN_PARTS=

XRAY_PARTS=${ARTIX_PARTS} ${ZYNQ_PARTS} ${KINTEX_PARTS} ${SPARTAN_PARTS}
Expand Down
2 changes: 2 additions & 0 deletions fuzzers/005-tilegrid/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ endif

# Kintex7 only fuzzers
ifeq (${XRAY_DATABASE}, kintex7)
ifneq (${XRAY_PART}, xc7k480tffg1156-2)
TILEGRID_TDB_DEPENDENCIES += orphan_int_column/$(BUILD_FOLDER)/segbits_tilegrid.tdb
endif
endif

BASICDB_TILEGRID=$(BUILD_FOLDER)/basicdb/${XRAY_FABRIC}/tilegrid.json

Expand Down
4 changes: 4 additions & 0 deletions settings/kintex7/devices.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# device to fabric mapping
"xc7k70t":
fabric: "xc7k70t"
"xc7k420t":
fabric: "xc7k480t"
"xc7k480t":
fabric: "xc7k480t"
45 changes: 45 additions & 0 deletions settings/kintex7_480t.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# 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="xc7k480tffg1156-2"
export XRAY_ROI_FRAMES="0x00000000:0xffffffff"

export XRAY_PIN_00=AL18
export XRAY_PIN_01=AL19
export XRAY_PIN_02=AK18
export XRAY_PIN_03=AK19

# All CLB's in part, all BRAM's in part, all DSP's in part.
# tcl queries IOB => don't bother adding
export XRAY_ROI_TILEGRID="SLICE_X0Y0:SLICE_X153Y349 DSP48_X0Y0:DSP48_X5Y139 RAMB18_X0Y0:RAMB18_X5Y139 RAMB36_X0Y0:RAMB36_X4Y69"

export XRAY_EXCLUDE_ROI_TILEGRID=""

# This is used by fuzzers/005-tilegrid/generate_full.py
# (special handling for frame addresses of certain IOIs -- see the script for details).
# This needs to be changed for any new device!
# If you have a FASM mismatch or unknown bits in IOIs, CHECK THIS FIRST.
export XRAY_IOI3_TILES=""

# These settings must remain in sync
export XRAY_ROI="SLICE_X0Y0:SLICE_X153Y349 DSP48_X0Y0:DSP48_X5Y139 RAMB18_X0Y0:RAMB18_X5Y139 RAMB36_X0Y0:RAMB36_X4Y69"
# Part of CMT X0Y1
export XRAY_ROI_GRID_X1="-1"
export XRAY_ROI_GRID_X2="-1"
# Include VBRK / VTERM
export XRAY_ROI_GRID_Y1="-1"
export XRAY_ROI_GRID_Y2="-1"

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

0 comments on commit bc47b2e

Please sign in to comment.