UVM call back on sequence

Hi Team,

i have query regarding UVM call back on sequence. what is sequence does not attach with any sequencer. How I am going to attach callback to it.

for attaching a task with call back we need to place following hook

`uvm_do_obj_callbacks(mem_sequencer,mem_callback,p_sequencer,update_pkt(req));

what if no sequencer is attached

In reply to nitin62goel:

We do not recommend the use of callbacks in most cases. Proper use of OOP practices by extending your sequence and overriding the methods you want is much more efficient.