Hello,
I have two different questions.
- In some function passes an argument “this” or “Parent” words. What does it mean? And when we have to pass those arguments?
Below is one example:
class my_env extends uvm_env;
inp_agent my_agt;
virtual function void build_phase(uvm_phase phase);
super.build_phase(phase);
my_agt = inp_agent::type_id::create("my_agt", this);
endfunction
endclass
What is the reason to give “this” argument to create the function?
Can someone explain it with details? It will be very helpful. Also, I can give another example from verification academy video courses.
- I find out there is “set_automatic_objection()” macro. It is compatible with uvm1.1 or it only works with uvm1.2?
Thank you