Wait not working for uvm_tlm_analysis_fifo

In reply to verif_buff:

I have to correct me.
The size function of a uvm_tlm_fifo indicates an infinite size if the size = 0!
Instead of the size method you should use is_empty. For more Details see the UVM Reference Manual.