In reply to dave_59:
Reviving this thread.
I tried to do this:
virtual task main_phase(uvm_phase phase);
uvm_env::main_phase(phase);
endtask
This is the error message, which I get:
Scoped reference to the non-static class task/function
‘uvm_component::main_phase’ is not allowed.
Does the message make sense?