Please! Can Someone Make UVM Easy To Use?: Rich Edelman Raghu Ardeishar Mentor Graphics
Please! Can Someone Make UVM Easy To Use?: Rich Edelman Raghu Ardeishar Mentor Graphics
Please! Can Someone Make UVM Easy To Use?: Rich Edelman Raghu Ardeishar Mentor Graphics
cV = cVN;
• Not Possible
– Will compile and load
– Will result in a run time Fatal
• cV3 and cV4 are not type compatible
• Not Possible
– Will compile and load
– Will result in a run time Fatal
• cInt and cInteger are not type compatible
cV = cVN;
p = pD; //Works!!
© Accellera Systems Initiative 9
Parameterized Classes
• Util Macros work well in non-param classes
• Use it to register with factory
• Use uvm_top.print_topology() and factory.print() to get
details
virtual function end_of_elaboration_phase(uvm_phase phase) ;
uvm_top.print_topology();
factory.print();
…..
endclass
Not type
compatible
task sequence::body;
mySeq seq; task sequence::body;
`uvm_do(seq) // AVOID mySeq seq = mySeq::type_id::create(…);
endtask seq.start(…);
endtask