In reply to rubendah:
The issue is that uvm_objects do not exist in the UVM hierarchy, hence you can’t use the set_inst_override_by_type. You can only use the set_type_override().
If you extend from uvm_component(), your example will work.
In reply to rubendah:
The issue is that uvm_objects do not exist in the UVM hierarchy, hence you can’t use the set_inst_override_by_type. You can only use the set_type_override().
If you extend from uvm_component(), your example will work.