Hello,
according to the uvm reference manual, the description of uvm_object_registry::create() is following:
static function T create (string name = "",
uvm_component parent = null,
string contxt = "" )
Returns an instance of the object type, T, represented by this proxy, subject to any
factory overrides based on the context provided by the parent’s full name. The contxt
argument, if supplied, supercedes the parent’s context. The new instance will have the
given leaf name, if provided.
What is the significance of the parent parameter in above? The UVM objects do not maintain hierarchical tree like uvm_components. In that case how is the parent defined in above? Is it the component in which the object is created? In what situation we need to use the parent argument in case of uvm_objects? Can someone elaborate this
regards,
-sunil puranik