diff --git a/fpga/hls/spot_finder.cpp b/fpga/hls/spot_finder.cpp index d0e6a03a..d2a28919 100644 --- a/fpga/hls/spot_finder.cpp +++ b/fpga/hls/spot_finder.cpp @@ -1,6 +1,6 @@ // Copyright (2019-2023) Paul Scherrer Institute -#include "spot_finder.h" +#include "hls_jfjoch.h" ap_uint<32> count_pixels(ap_uint<32> &in) { #pragma HLS INLINE diff --git a/fpga/hls/spot_finder.h b/fpga/hls/spot_finder.h deleted file mode 100644 index 48219263..00000000 --- a/fpga/hls/spot_finder.h +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (2019-2023) Paul Scherrer Institute - -#ifndef JUNGFRAUJOCH_SPOT_FINDER_H -#define JUNGFRAUJOCH_SPOT_FINDER_H - -#define AP_INT_MAX_W 2048 - -#include "hls_jfjoch.h" - -#endif //JUNGFRAUJOCH_SPOT_FINDER_H diff --git a/tests/FPGASpotFindingUnitTest.cpp b/tests/FPGASpotFindingUnitTest.cpp index df885298..76fcd091 100644 --- a/tests/FPGASpotFindingUnitTest.cpp +++ b/tests/FPGASpotFindingUnitTest.cpp @@ -4,7 +4,6 @@ #include #include "../fpga/hls/hls_jfjoch.h" -#include "../fpga/hls/spot_finder.h" TEST_CASE("FPGA_spot_finder_core","[FPGA][SpotFinder]") { STREAM_512 input;