How time advances in uvm scoreboard

In reply to harsh pandya:

Thanks Harsh for looking into the approach. Yes, I will use a fifo instead of queue to store expected packets. And it can be a uvm_tlm_fifo correct? Do we need analysis_fifo? Last question, Can you please explain why we need #1ns in the end in little more detail? I see your comment to advance time, but I dont understand it. If fifo is empty, then code will be blocked on the .get() right?