How to override uvm_object from test

In reply to Tudor Timi:

if the override type is uvm_object, you should use one of below methods

  1. read_q_manager::type_id::set_inst_override(my_read_q_manager::get_type,“full_inst_path”);
  2. factory.set_inst_override_by_type(read_q_manager::get_type, my_read_q_manager::get_type, “full_inst_path”);