Raise_objection in uvm_sequence class

In reply to chr_sue:

Hi chr_sue,

I agreed that we should implement objection in the test. But I wanted to show him a case that we need to implement objection in the sequence (we can’t not implement in the test), that’s “default sequence”:


uvm_config_db #(uvm_object_wrapper)::set(this, "env.vseqr.main_phase", "default_sequence", my_vseq_c::get_type());

Of course, override the “default sequence” is not recommended but I’ve seen many projects use this mechanism.

Correct me if I’m wrong here.
Thanks