Wait for Done: Inputs - 2022.2 English

Vitis Tutorials: AI Engine Development

Document ID
XD100
Release Date
2022-12-01
Version
2022.2 English

The dlbf_data_wait_for_done is called continuously in a while loop. This function reads the MASTER_DONE register on each dlbf_data PL kernel. When all four data masters in the dlbf_data PL kernels have a status of DONE, the function returns a 1’b, which breaks the while loop. The while loop only calls the function 100 times maximum, and times out if the dlbf_data kernels are not done by then.

After the dlbf_data kernels are done sending their data to the AI Engine, wait for the dlbf_coeffs to send their data to the AI Engine. If the dlbf_data or dlbf_coeffs kernels time out, the test fails.