From 1478ab4e6b53d92ddee9199c36c09874b118cf35 Mon Sep 17 00:00:00 2001 From: Robert Winkler Date: Tue, 30 Jun 2020 14:40:54 +0200 Subject: [PATCH] Change main fuzzed device to A100T Signed-off-by: Robert Winkler --- Makefile | 8 +++--- settings/artix7.sh | 28 ++++++++++--------- settings/{artix7_100t.sh => artix7_50t.sh} | 31 +++++++++++++--------- 3 files changed, 38 insertions(+), 29 deletions(-) rename settings/{artix7_100t.sh => artix7_50t.sh} (50%) diff --git a/Makefile b/Makefile index 4d54a9ca..efe6deef 100644 --- a/Makefile +++ b/Makefile @@ -174,7 +174,7 @@ $(foreach DB,$(DATABASES),$(eval $(call database,$(DB)))) # Targets related to Project X-Ray parts # -------------------------------------- -ARTIX_PARTS=artix7_200t artix7_100t +ARTIX_PARTS=artix7_50t artix7_200t ZYNQ_PARTS=zynq7010 KINTEX_PARTS=kintex70t @@ -201,12 +201,12 @@ db-extras-artix7-parts: $(addprefix db-part-only-,$(ARTIX_PARTS)) # override the XRAY_PIN_0X setting below to pick a pin that *is* bonded. db-extras-artix7-harness: +source settings/artix7.sh && \ + XRAY_PIN_00=N15 XRAY_PART=xc7a100tcsg324-1 XRAY_EQUIV_PART=xc7a100tfgg676-1 \ + $(MAKE) -C fuzzers roi_only + +source settings/artix7_50t.sh && \ XRAY_PIN_00=J13 XRAY_PIN_01=J14 XRAY_PIN_02=K15 XRAY_PIN_03=K16 \ XRAY_PART=xc7a35tftg256-1 XRAY_EQUIV_PART=xc7a50tfgg484-1 \ $(MAKE) -C fuzzers roi_only - +source settings/artix7_100t.sh && \ - XRAY_PIN_00=N15 XRAY_PART=xc7a100tcsg324-1 XRAY_EQUIV_PART=xc7a100tfgg676-1 \ - $(MAKE) -C fuzzers roi_only +source settings/artix7_200t.sh && \ XRAY_PIN_00=V10 XRAY_PIN_01=W10 XRAY_PIN_02=Y11 XRAY_PIN_03=Y12 \ XRAY_PART=xc7a200tsbg484-1 XRAY_EQUIV_PART=xc7a200tffg1156-1 \ diff --git a/settings/artix7.sh b/settings/artix7.sh index d6c93fce..0d2aa2d1 100644 --- a/settings/artix7.sh +++ b/settings/artix7.sh @@ -1,3 +1,4 @@ +#!/bin/bash # Copyright (C) 2017-2020 The Project X-Ray Authors. # # Use of this source code is governed by a ISC-style @@ -6,12 +7,12 @@ # # SPDX-License-Identifier: ISC export XRAY_DATABASE="artix7" -export XRAY_PART="xc7a50tfgg484-1" +export XRAY_PART="xc7a100tfgg676-1" export XRAY_ROI_FRAMES="0x00000000:0xffffffff" # 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_X65Y99 SLICE_X0Y100:SLICE_X57Y149 RAMB18_X0Y0:RAMB18_X1Y59 RAMB36_X0Y0:RAMB36_X1Y29 RAMB18_X2Y0:RAMB18_X2Y39 RAMB36_X2Y0:RAMB36_X2Y19 DSP48_X0Y0:DSP48_X1Y59" +export XRAY_ROI_TILEGRID="RAMB36_X0Y0:RAMB36_X3Y39 RAMB18_X0Y0:RAMB18_X3Y79 DSP48_X0Y0:DSP48_X2Y79 IOB_X0Y0:IOB_X1Y199 SLICE_X0Y0:SLICE_X89Y199" export XRAY_EXCLUDE_ROI_TILEGRID="" @@ -19,25 +20,26 @@ export XRAY_EXCLUDE_ROI_TILEGRID="" # (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="LIOI3_X0Y9 RIOI3_X43Y9" +export XRAY_IOI3_TILES="LIOI3_X0Y9 LIOI3_X0Y109 RIOI3_X57Y109" # These settings must remain in sync -export XRAY_ROI="SLICE_X0Y100:SLICE_X35Y149 RAMB18_X0Y40:RAMB18_X0Y59 RAMB36_X0Y20:RAMB36_X0Y29 DSP48_X0Y40:DSP48_X0Y59 IOB_X0Y100:IOB_X0Y149" +export XRAY_ROI="SLICE_X0Y150:SLICE_X51Y199 RAMB18_X0Y60:RAMB18_X0Y79 RAMB36_X0Y30:RAMB36_X0Y39 DSP48_X0Y60:DSP48_X0Y79 IOB_X0Y150:IOB_X0Y199" # Most of CMT X0Y2. -export XRAY_ROI_GRID_X1="10" -export XRAY_ROI_GRID_X2="58" +export XRAY_ROI_GRID_X1="0" +export XRAY_ROI_GRID_X2="77" # Include VBRK / VTERM export XRAY_ROI_GRID_Y1="0" export XRAY_ROI_GRID_Y2="51" # clock pin -export XRAY_PIN_00="E22" +export XRAY_PIN_00="Y22" # data pins -export XRAY_PIN_01="D22" -export XRAY_PIN_02="E21" -export XRAY_PIN_03="D21" -export XRAY_PIN_04="G21" -export XRAY_PIN_05="G22" -export XRAY_PIN_06="F21" +export XRAY_PIN_01="U17" +export XRAY_PIN_02="V17" +export XRAY_PIN_03="V16" +export XRAY_PIN_04="V14" +export XRAY_PIN_05="U14" +export XRAY_PIN_06="U16" source $(dirname ${BASH_SOURCE[0]})/../utils/environment.sh + diff --git a/settings/artix7_100t.sh b/settings/artix7_50t.sh similarity index 50% rename from settings/artix7_100t.sh rename to settings/artix7_50t.sh index ae31da32..d6c93fce 100644 --- a/settings/artix7_100t.sh +++ b/settings/artix7_50t.sh @@ -1,4 +1,3 @@ -#!/bin/bash # Copyright (C) 2017-2020 The Project X-Ray Authors. # # Use of this source code is governed by a ISC-style @@ -7,12 +6,12 @@ # # SPDX-License-Identifier: ISC export XRAY_DATABASE="artix7" -export XRAY_PART="xc7a100tfgg676-1" +export XRAY_PART="xc7a50tfgg484-1" export XRAY_ROI_FRAMES="0x00000000:0xffffffff" # 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="RAMB36_X0Y0:RAMB36_X3Y39 RAMB18_X0Y0:RAMB18_X3Y79 DSP48_X0Y0:DSP48_X2Y79 IOB_X0Y0:IOB_X1Y199 SLICE_X0Y0:SLICE_X89Y199" +export XRAY_ROI_TILEGRID="SLICE_X0Y0:SLICE_X65Y99 SLICE_X0Y100:SLICE_X57Y149 RAMB18_X0Y0:RAMB18_X1Y59 RAMB36_X0Y0:RAMB36_X1Y29 RAMB18_X2Y0:RAMB18_X2Y39 RAMB36_X2Y0:RAMB36_X2Y19 DSP48_X0Y0:DSP48_X1Y59" export XRAY_EXCLUDE_ROI_TILEGRID="" @@ -20,17 +19,25 @@ export XRAY_EXCLUDE_ROI_TILEGRID="" # (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="LIOI3_X0Y9 LIOI3_X0Y109 RIOI3_X57Y109" +export XRAY_IOI3_TILES="LIOI3_X0Y9 RIOI3_X43Y9" + +# These settings must remain in sync +export XRAY_ROI="SLICE_X0Y100:SLICE_X35Y149 RAMB18_X0Y40:RAMB18_X0Y59 RAMB36_X0Y20:RAMB36_X0Y29 DSP48_X0Y40:DSP48_X0Y59 IOB_X0Y100:IOB_X0Y149" +# Most of CMT X0Y2. +export XRAY_ROI_GRID_X1="10" +export XRAY_ROI_GRID_X2="58" +# Include VBRK / VTERM +export XRAY_ROI_GRID_Y1="0" +export XRAY_ROI_GRID_Y2="51" # clock pin -export XRAY_PIN_00="Y22" +export XRAY_PIN_00="E22" # data pins -export XRAY_PIN_01="U17" -export XRAY_PIN_02="V17" -export XRAY_PIN_03="V16" -export XRAY_PIN_04="V14" -export XRAY_PIN_05="U14" -export XRAY_PIN_06="U16" +export XRAY_PIN_01="D22" +export XRAY_PIN_02="E21" +export XRAY_PIN_03="D21" +export XRAY_PIN_04="G21" +export XRAY_PIN_05="G22" +export XRAY_PIN_06="F21" source $(dirname ${BASH_SOURCE[0]})/../utils/environment.sh -