For classes registered with factory we should be using create() and not new(); but I have often seen new() work out in those cases. Could u elaborate as to what difference will using new() introduce in the following case? I mean are there any overheads when we use new() instead of create() in the example below.
class_wr_agent extends uvm_component;
function build_phase(uvm_phase phase);
drvh = bus_wr_driver::type_id::create ("drvh", this);