type_id::create is the method for most UVM object creation needs and supports factory overrides and type-safe instantiation. However, for scenarios requiring string-based dynamic type selection,
create_by_name is essential, and type_id::create cannot substitute for it. For create_by_type, type_id::create is generally a better choice due to its simplicity and equivalent functionality.
1 Like