# \#query

**URL:** https://verificationacademy.com/forums/tag/query/5405.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [Is there a query function for an uvm\_component class to know which sub-phase (of run) is executing currently?](https://verificationacademy.com/forums/t/is-there-a-query-function-for-an-uvm-component-class-to-know-which-sub-phase-of-run-is-executing-currently/31112)

<div class="topic-metadata">

**Author:** [@rmozhiku](https://verificationacademy.com/forums/u/rmozhiku)\
**Replies:** 1\
**Last updated:** [October 14, 2015, 8:07am UTC](https://verificationacademy.com/forums/t/is-there-a-query-function-for-an-uvm-component-class-to-know-which-sub-phase-of-run-is-executing-currently/31112 "2015-10-14T08:07:24Z")

</div>

From a uvm\_component class::run\_phase, I want to know which sub-phase is currently executing? Is there any global query function available? cant find any in docs.
