In reply to sharvil111:
I’m not sure what the value of this example is. I recommend my customers always to decide what they are doing, going simply with the run_phase or using the sub-phases like reset_phase etc.
You should not mix them in 1 testbench.