How to arbitrate among different mailboxes?

In reply to arquer:

Consider the case when all MBOX-es have no items, this will get into infinite loop. I suggest you look at uvm_sequencer as it has similar logic (with more customization for priority etc.)

Regards
Srini
www.go2uvm.org