UVM phases

In reply to jeyanthis:

You cannot use run_phase and main_phase in the same component. Even in a UVM environment you should follow clear rules and do not mix main_phase and run_phase.
The recommendation is to avoid the sub-phases of the run_phase, i.e. reset_phase, config_phase etc.