Sequence ends quickly

In reply to tpan:

This may be due to objection isn’t raised. when you don’t raise the objection, run phase will finish in 0 simulation time. So raise the objection in your test case run/main phase.


//uvm test case main phase

  virtual task main_phase(uvm_phase phase);
    super.main_phase(phase);   
    phase.raise_objection(this, "raise objection");  //raise objection
    
    /* //start your sequence here
    seq1 = my_sequence_1::type_id::create("seq1");
    seq1.randomize();
    seq1.start(env.agt.sequencer);
    */
    
    phase.drop_objection(this, "drop objection");  //drop objection
  endtask : main_phase