UVM: plusarg +uvm_set_default_sequence

I see that #UVM 1.2 has a nice

+uvm_set_default_sequence

plusarg which will turn to be very useful for regression test and portability. e.g

+uvm_set_default_sequence=path.to.sequencer,
main_phase,seq_type

It will allow one to define a sequence from the command line, instead of

uvm_config_db #(uvm_object_wrapper)::set(null,
"uvm_test_top.my_sequencer.main_phase","chosen_sequence",
seq_b::type_id::get());

Leave a comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.