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,