Fixes after MAX IV experiment
This commit is contained in:
@@ -9,6 +9,7 @@ TEST_CASE("FPGA_spot_finder_core","[FPGA][SpotFinder]") {
|
||||
STREAM_768 input;
|
||||
STREAM_768 output;
|
||||
hls::stream<ap_axiu<32,1,1,1>> strong_pixel;
|
||||
hls::stream<ap_uint<32>> mask_stream;
|
||||
|
||||
ap_int<32> in_photon_count_threshold = 8;
|
||||
float_uint32 in_strong_pixel_threshold;
|
||||
@@ -29,12 +30,14 @@ TEST_CASE("FPGA_spot_finder_core","[FPGA][SpotFinder]") {
|
||||
tmp[j] = input_frame[i * 32 + j];
|
||||
|
||||
input << packet_768_t{.data = pack32(tmp), .user = 0};
|
||||
mask_stream << UINT32_MAX;
|
||||
}
|
||||
|
||||
input << packet_768_t{.user = 1};
|
||||
|
||||
ap_uint<32> tmp_strong_pixel_threshold = in_strong_pixel_threshold.u;
|
||||
spot_finder(input,
|
||||
mask_stream,
|
||||
output,
|
||||
strong_pixel,
|
||||
in_photon_count_threshold,
|
||||
|
||||
Reference in New Issue
Block a user