From b69d9cb4776dc3e6ca4e3978eba3a26b0168bb06 Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Fri, 17 Nov 2023 16:48:27 +0100 Subject: [PATCH] FPGA: Fix setup_action.sh --- fpga/scripts/setup_action.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fpga/scripts/setup_action.sh b/fpga/scripts/setup_action.sh index 6c63a933..f42e5be5 100644 --- a/fpga/scripts/setup_action.sh +++ b/fpga/scripts/setup_action.sh @@ -31,7 +31,7 @@ cp ${SRC_DIR}/hdl/*.v action/hw/hdl # Update action type and release level based on Definitions.h ACTION_TYPE=`grep "#define ACTION_TYPE" ${SRC_DIR}/../common/Definitions.h | awk -F"0x" '{print $2}'` RELEASE_LEVEL=`grep "#define RELEASE_LEVEL" ${SRC_DIR}/../common/Definitions.h | awk -F"0x" '{print $2}'` -MAX_MODULES_FPGA=`grep "\#define MAX_MODULES_FPGA" ${SRC_DIR}/../common/Definitions.h |tr -s " " |cut -f3 -d" "` +MAX_MODULES_FPGA=`grep "#define MAX_MODULES_FPGA" ${SRC_DIR}/../common/Definitions.h |tr -s " " |cut -f3 -d" "` GIT_SHA1=`git describe --match=NeVeRmAtCh --always --abbrev=8` SRC="define ACTION_TYPE 32'h.*"