FPGA: Infinity loop cause task never be excuted
Worked well on CPU but not FPGA