cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
qwqw0001
Contributor
Contributor
375 Views
Registered: ‎07-15-2019

How to use HLS by python without pynq

hi,

   I have used DPU to deploy my model on ZCU102. And now I build a HLS kernel for my post-processing.Due to I have use DPU's  python API and numpy library,so I want to  know whether I can use python to transmit my DPU result for my HLS kernel like pynq:

input=xlnk.cma_array(shape=(10000,), dtype=np.int32) and mmio.write(HLS_INPUT, input.physical_address)

  If it's impossible,can similar functions be achieved with C? It's better to have a detailed tutorial, thank you!

 ylh

Tags (1)
0 Kudos
1 Reply
jasonwu
Moderator
Moderator
302 Views
Registered: ‎03-27-2013

Hi @qwqw0001 ,

 

You may try with OpenCL flows just the similar as in Vitis accel examples. But I am not sure if we have particular examples for that.

Best Regards,
Jason
-----------------------------------------------------------------------------------------------
Please mark the Answer as "Accept as solution" if the information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
-----------------------------------------------------------------------------------------------
0 Kudos