Hi everyone,
I have a doubt in factory create method for uvm_components. Please correct me if there’s any mistake in my understanding.
All uvm_components (env, agent, driver) has constructors defined inside them. And it’s always recommended to create these components during the build_phase using the factory create method. This internally calls the constructor defined in the respective component. If that’s the case, why can’t we directly call the constructor? Does it make any difference to the verification infrastructure if I do so?
Thanks in advance!