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.*"