Is phase_timeout in UVM (specified using set_global_timeout) per sub-phase of run_phase or together?

It is not clear to me from userguide/cookbook as to whether the phase_timeout is for the full run_phase?

Or is there a way to control phase_timeout per sub_phase of run_phase?

By looking at source code, it seems phase_timeout is applicable to full run phase(So basically you can’t control timeout of sub_phases of run_phase).

Kiran

In reply to kiru2006:
Thanks for reply.

What is the best way to control that once stimulus is done (main_phase), everything quiesces in a quiesce timeout? A timeout control for shutdown sub-phase would have helped.