How do get a report of which sequence is currently running on a sequencer?

In reply to DHDHD:

Assuming all you need is to print the arb Q inside SQR whenever it gets populated, here is a trick. I did this a while back for a hanging RAPID-IO code.


class my_sqr extends uvm_sequencer;
 virtual task wait_for_grant(uvm_sequence_base sequence_ptr,
                                     int item_priority = -1,
                                     bit lock_request = 0);
   this.print();
   super.wait_for_grant();
  endtask : wait_for_grant

endclass : my_sqr

I don’t recall the exact code, but the idea is - right when the Q gets populated, print it.

Good Luck
Srini
www.verifworks.com