cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lygw
Explorer
Explorer
228 Views
Registered: ‎09-11-2019

Question about the kernel of sequential mode

Can I use while(1) in the kernel of sequential mode ? I want that my kernel can always run and can use HBMs, but the free-running kernel does not support m_axi interface. So I want to implement it in the kernel of sequential mode by using while(1). Will it cause severe problem? Thanks in advance!

0 Kudos
1 Reply
ViratAgarwal
Xilinx Employee
Xilinx Employee
217 Views
Registered: ‎06-24-2020

Hi @lygw ,

Can you please elaborate on your usecase a bit? 

Since you are not running a free running kernel, you will have to trigger the kernel from the host. Also, if you are trying to run the kernel forever thereafter, how are you planning to exit the kernel and complete the execution?

With my understanding of your case, I can suggest you to refer the following example -

https://github.com/Xilinx/Vitis_Accel_Examples/tree/master/host/streaming_free_running_k2k

0 Kudos