In reply to mpandejee:
The issue most likely has to do with the way p_sequencer is assigned when the sequence is run, but you will need to trace into this call to see what exactly is going wrong.
Debugging a macro call is very difficult, as you are finding out. This is why we recommend the following:
- Never use p_sequencer. It is a deprecated construct and should not be used. Instead, put the required information in the sequence itself.
- Never use the `uvm_do_* macros. Use start()/start_item()/finish_item() directly. This gives you finer control over your sequences.