FPGA: Clean-up of spot_finder core + update README.MD

This commit is contained in:
2023-10-15 22:43:55 +02:00
parent 9b646a4195
commit c5ca10792e
8 changed files with 90 additions and 208 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ bool Isigma_cpu(double val, double sum, double sum2, float threshold) {
bool Isigma_fpga(ap_int<16> val, ap_int<SUM_BITWIDTH> sum, ap_uint<SUM2_BITWIDTH> sum2, float threshold) {
return check_threshold(val, sum, sum2, (FPGA_NBX *2 + 1) * (FPGA_NBX *2 + 1),
fpga_strong_pixel_threshold(threshold), -1);
threshold * threshold, -1);
}
TEST_CASE("FPGA_spot_check_threshold","[FPGA][SpotFinder]") {