Raise_objection

In reply to psalla:

Hi Pradeep,
This is my code:

function new(string name=“apb_slavebase_seq”);
super.new(name);
endfunction

`uvm_object_utils(apb_slavebase_seq) //,tvs_arm_generic_master_sequencer)

virtual task pre_body();
if (starting_phase != null)
starting_phase.raise_objection(this, {“Running sequence '”,
get_full_name(), “'”});
//testing purpose I called twice
starting_phase.raise_objection(this, {“Running sequence '”,
get_full_name(), “'”});
endtask

virtual task post_body();
if (starting_phase != null)
starting_phase.drop_objection(this, {“Completed sequence '”,
get_full_name(), “'”});
endtask

Thanks
Srinivas