Use the memory ready signal instead of FIFO empty signal.