File writer and spot finding improvements

This commit is contained in:
2024-04-08 11:18:50 +02:00
parent 15d99c6162
commit c6d2b5eedf
72 changed files with 690 additions and 893 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ TEST_CASE("FPGA_FrameWriterTestIgnore") {
for (int i = 0; i < nframes; i++) {
for (int j = 0; j < RAW_MODULE_SIZE * 2 / 64; j++)
data_in.write(packet_512_t{.data = 0, .user = 0, .last = (j == RAW_MODULE_SIZE * 2 / 64 - 1)});
for (int j = 0; j < RAW_MODULE_SIZE * sizeof(uint16_t) / (64 * 16) + 1; j++)
for (int j = 0; j < RAW_MODULE_SIZE / (64 * 8) + 1; j++)
spot_finder_in.write(0);
for (int j = 0; j < FPGA_INTEGRATION_BIN_COUNT / 8; j++)
integration_in.write(0);