In the function allocate_mem in hls4ml/templates/vivado_accelerator/alveo/python_drivers/axi_stream_driver.py there is no return of the 2 buffers: input_buffer and output_buffer. When an user wirtes the host code with pinq is very important to have this 2 buffers returned from the function.
Possible fix
Include at the end of the function the line: return input_buffer, output_buffer
Quick summary
In the function allocate_mem in hls4ml/templates/vivado_accelerator/alveo/python_drivers/axi_stream_driver.py there is no return of the 2 buffers: input_buffer and output_buffer. When an user wirtes the host code with pinq is very important to have this 2 buffers returned from the function.
Possible fix
Include at the end of the function the line: return input_buffer, output_buffer