Dear All,
When you make data modeling with uvm,
data constructor with string instance name argument and default value be used in function new(),
such as
function new (string name = "yapp_packet");
super.new(name);
endfunction
but I'm confused that some example be used with one more argument such as
function new (string name,uvm_component parent);
super.new(name, parent);
endfunction
What is the difference between them? Would you please let me know which case what type of function should be used?