function new(string name=”",vmm_object parent=null)

Status
Not open for further replies.

srish

Newbie level 6
Joined
Dec 13, 2011
Messages
14
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Visit site
Activity points
1,375
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????
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…