Xilinx / PYNQ

Python Productivity for ZYNQ
http://www.pynq.io/
BSD 3-Clause "New" or "Revised" License
1.99k stars 817 forks source link

Can PYNQ interact with the interface of hls:: stream? #1426

Closed zyt1024 closed 6 months ago

zyt1024 commented 1 year ago

Hello, I'm using theAlveo accelerator boards U200. I package the kernel as xclbin,use the interface hls:: stream. Can PYNQ interact with this interface? sush as:

void myproject(
    hls::stream<input_t> &input_3,
    hls::stream<result_t> &layer23_out
)
mariodruiz commented 1 year ago

Hi @zyt1024,

No, PYNQ does not interact directly with hls::stream.
PYNQ only interacts directly with AXI4-Lite, but it can allocate memory in the Alveo global memory that the accelerator can access via AXI4 (memory-mapped).

Please, for support questions use the PYNQ forum https://discuss.pynq.io/

Mario