From 9f48e4b317fd685fc5c4a116dc2dd6f328481843 Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Thu, 19 Oct 2023 20:53:38 +0200 Subject: [PATCH] FPGA: remove spot_finder.h --- fpga/hls/spot_finder.cpp | 2 +- fpga/hls/spot_finder.h | 10 ---------- tests/FPGASpotFindingUnitTest.cpp | 1 - 3 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 fpga/hls/spot_finder.h 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;