In reply to cgales:
In reply to UVM_LOVE:
You should never use p_sequencer. It adds unnecessary complexity to your environment and significantly limits reuse.
You can reference m_sequencer if you need to use the config_db(), which is typically the only thing you need from a sequencer.
If you need to reference other sequencer handles in a virtual sequence, maintain sequencer handles in the virtual sequence itself.
I’ve got a one more question
I thought that the sequencer call the sequences. that the sequence call sequencer by using p_sequencer. what way is the best approach? AFAIK, sequencer has the only one and multiple sequences are used in the one sequencer.