srish
Newbie level 6

In testbench we always use new constructor in classes as:
function new(string name, vmm_object parent=null);
super.new (parent,name);
endfunction
Be it VMM,UVM or OVM it is used everywhere ........could anyone explain this line by line and why we need to use this????
function new(string name, vmm_object parent=null);
super.new (parent,name);
endfunction
Be it VMM,UVM or OVM it is used everywhere ........could anyone explain this line by line and why we need to use this????