FPGA: Add SNR threshold to spot finder

This commit is contained in:
2023-10-19 22:29:38 +02:00
parent 60466fe146
commit aa1ff0436b
5 changed files with 232 additions and 31 deletions

View File

@@ -11,7 +11,7 @@ TEST_CASE("FPGA_spot_finder_core","[FPGA][SpotFinder]") {
hls::stream<ap_axiu<32,1,1,1>> strong_pixel;
ap_int<16> in_photon_count_threshold = 8;
ap_uint<16> in_strong_pixel_threshold = 16;
ap_uint<8> in_strong_pixel_threshold = 16;
std::vector<int16_t> input_frame(RAW_MODULE_SIZE), output_frame(RAW_MODULE_SIZE);
for (int i = 0; i < RAW_MODULE_SIZE; i++) {