FPGA: Integrate add multipixel into the design

This commit is contained in:
2023-10-24 18:58:59 +02:00
parent b33e996569
commit d408b3ed2a
3 changed files with 27 additions and 13 deletions
+4 -2
View File
@@ -358,12 +358,14 @@ void HLSSimulatedDevice::HLSMainThread() {
hls_cores.emplace_back([&] { axis_128_to_512(integration_result_0, integration_result_1);});
hls_cores.emplace_back([&] { add_multipixel(converted_7, converted_8);});
// Timer procedure - count how many times write_data is not accepting input (to help track down latency issues)
hls_cores.emplace_back([&] { timer_host(converted_7, converted_8, counter_host); });
hls_cores.emplace_back([&] { timer_host(converted_8, converted_9, counter_host); });
// 8. Prepare data to write to host memory
hls_cores.emplace_back([&] {
host_writer(converted_8, adu_histo_result, integration_result_1, spot_finder_result_1,
host_writer(converted_9, adu_histo_result, integration_result_1, spot_finder_result_1,
compl5, datamover_out.GetDataStream(),
datamover_out.GetCtrlStream(), work_request_stream, completion_stream,
packets_processed, host_writer_idle, err_reg); });