How can I change driver type in an agent, if both are extended from uvm_driver

In reply to dave_59:

In reply to akhil_dv:
You can instantiate uvm_driver in releases after UVM 1.2 because none of the uvm_ classes were registered with the factory prior to that.
But it would be better to create your own driver base class to handle common procedures like setting up your virtual interfaces, etc.

Hi Dave,
I didn’t understand what do you mean by instantiating the uvm_driver after UVM 1.2 . Can you please explain in more. Thanks in advance.