From f21f226a59a379b01a6486ef7a438d1aedc1966c Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Thu, 2 Nov 2023 12:55:52 +0100 Subject: [PATCH] Move MAX_FPGA_SUMMATION to Definitions.h --- common/Definitions.h | 1 + fpga/hls/frame_summation_reorder_compl.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Definitions.h b/common/Definitions.h index ea917c76..7272fb21 100644 --- a/common/Definitions.h +++ b/common/Definitions.h @@ -134,6 +134,7 @@ #define FPGA_INTEGRATION_BIN_COUNT 1024 #define MAX_MODULES_FPGA 32 +#define MAX_FPGA_SUMMATION 128 #define ADU_HISTO_BIN_WIDTH 32 #define ADU_HISTO_BIN_COUNT (65536/ ADU_HISTO_BIN_WIDTH) diff --git a/fpga/hls/frame_summation_reorder_compl.cpp b/fpga/hls/frame_summation_reorder_compl.cpp index 12e46de2..6e230527 100644 --- a/fpga/hls/frame_summation_reorder_compl.cpp +++ b/fpga/hls/frame_summation_reorder_compl.cpp @@ -1,7 +1,6 @@ // Copyright (2019-2023) Paul Scherrer Institute #include "hls_jfjoch.h" -#define MAX_FPGA_SUMMATION 128 void frame_summation_reorder_compl(STREAM_512 &data_in, STREAM_512 &data_out,