In reply to anvesh dangeti:
EVERY uvm_component and every uvm_object should be registered with the factory. This is a critical feature of reuse and modularity in UVM because the factory allows you to swap in a different (but compatible) component/object for the original without modifying the original code. Please see any of the following: