Difference between handle name and instacne name

static function T create (string name, ovm_component parent, string contxt=“”)

The first argument (string ‘name’) value specified during the usage of create will be used for the construction of child in the component hierarchy during phasing. (in the current example, it is env_inst.env_inst_agent_inst)

Assigning that object to a handle of the same type (agent_inst) doesn’t mean that there will be a change in the hierarchical path.

To avoid any confusions, handle names will usually be the same as child name in the hierarchy.

i.e.,
agent_inst = my_agent :: type_id :: create (“agent_inst”, this);