Set_type_override_by_type vs set_type_override_by_name

Hi all,

please let me know where should we use set_type_override_by_name or set_type_override_by_type?

thanks

Don’t use either. Use the set_type_override() and set_inst_override() static methods as shown in the UVM Cookbook.

In reply to tfitz:

Any specific reason as to why you suggest not to use set_type_override_by_name or set_type_override_by_type?

In reply to sujithsh:

I find them easier to code and to follow the results of the overrides.