FPGA: Remove bitshuffle from the pipeline

This commit is contained in:
2023-10-27 19:41:02 +02:00
parent f46a8e47a0
commit c896ec5659
3 changed files with 13 additions and 58 deletions
+8 -5
View File
@@ -369,15 +369,12 @@ void HLSSimulatedDevice::HLSMainThread() {
// 9. Extend multipixels
hls_cores.emplace_back([&] { add_multipixel(converted_9, converted_10);});
// 10. Apply bitshuffle
hls_cores.emplace_back([&] { bitshuffle(converted_10, converted_11);});
// 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_11, converted_12, counter_host); });
hls_cores.emplace_back([&] { timer_host(converted_10, converted_11, counter_host); });
// 11. Prepare data to write to host memory
hls_cores.emplace_back([&] {
host_writer(converted_12, adu_histo_result, integration_result_1, spot_finder_result_1,
host_writer(converted_11, adu_histo_result, integration_result_1, spot_finder_result_1,
compl7, datamover_out.GetDataStream(),
datamover_out.GetCtrlStream(), work_request_stream, completion_stream,
packets_processed, host_writer_idle, err_reg); });
@@ -460,6 +457,12 @@ void HLSSimulatedDevice::HLSMainThread() {
if (!compl5.empty())
throw std::runtime_error("Compl5 queue not empty");
if (!compl6.empty())
throw std::runtime_error("Compl6 queue not empty");
if (!compl7.empty())
throw std::runtime_error("Compl7 queue not empty");
if (!hbm_handles.empty())
throw std::runtime_error("Handles queue not empty");