I am having the same issue that the design stuck at wait() I posted it in DMA sends and receives multiple times
wait()