In reply to enbiya.h:
Hi,
If you only requirement is to create the sequence after raising an objection, you can spilt the declaration and creation of the sequence.
For eg.
task dummy_test::run_phase(uvm_phase phase);
abc_sequence abc; ==================================> Sequence declared
phase.raise_objection (this, “dummy_test”);
abc = abc_sequence::type_id::create(“abc”); =========> Sequence created
abc.start(m_env.m_v_sequencer.abc_sequencer_t);
#100ns;
phase.drop_objection(this , “dummy_test”);
endtask : run_phase
Hope this helps.