From 5904e5cbcb08af5a0aeedf66cfbba162f7fec888 Mon Sep 17 00:00:00 2001
From: patrickg <44997541+patrickgeel@users.noreply.github.com>
Date: Thu, 15 Sep 2022 10:43:51 +0200
Subject: [PATCH] fix name in fetch repos and capitalize kv260 in templates

---
 fetch-repos.sh                                    | 2 +-
 src/finn/transformation/fpgadataflow/templates.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fetch-repos.sh b/fetch-repos.sh
index c29805c01..528818624 100755
--- a/fetch-repos.sh
+++ b/fetch-repos.sh
@@ -59,7 +59,7 @@ HLSLIB_DIR="finn-hlslib"
 OMX_DIR="oh-my-xilinx"
 AVNET_BDF_DIR="avnet-bdf"
 XIL_BDF_DIR="xil-bdf"
-KV260_SOM_BDF_DIR="KV260-SOM-bdf"
+KV260_SOM_BDF_DIR="kv260-som-bdf"
 
 # absolute path to this script, e.g. /home/user/bin/foo.sh
 SCRIPT=$(readlink -f "$0")
diff --git a/src/finn/transformation/fpgadataflow/templates.py b/src/finn/transformation/fpgadataflow/templates.py
index 0554a9cc8..0870fa40c 100644
--- a/src/finn/transformation/fpgadataflow/templates.py
+++ b/src/finn/transformation/fpgadataflow/templates.py
@@ -126,7 +126,7 @@ if {$BOARD == "ZCU104"} {
 } elseif {$BOARD == "Pynq-Z1"} {
     set ZYNQ_TYPE "zynq_7000"
     set_property board_part www.digilentinc.com:pynq-z1:part0:1.0 [current_project]
-} elseif {$BOARD == "kv260_som"} {
+} elseif {$BOARD == "KV260_SOM"} {
     set ZYNQ_TYPE "zynq_us+"
     set_property board_part xilinx.com:kv260_som:part0:1.3 [current_project]    
 } else {
-- 
GitLab