# Public event in UVM

**URL:** <https://verificationacademy.com/forums/t/public-event-in-uvm/39183>\
**Category:** UVM\
**Tags:** UVM, uvm-events-synchronisation\
**Created:** [June 14, 2021, 1:10am UTC](https://verificationacademy.com/forums/t/public-event-in-uvm/39183 "2021-06-14T01:10:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![verific\_engi](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/v/c5a1d2/32.png) [@verific\_engi](https://verificationacademy.com/forums/u/verific_engi)\
**Post date:** [June 14, 2021, 1:10am UTC](https://verificationacademy.com/forums/t/public-event-in-uvm/39183/1 "2021-06-14T01:10:44Z")

</div>

Hello

I want to trigger an event in test cases and wait for it in another class. Is there a concept of public/global event declaration in SV to be used to implement this method. I have tried to go through different examples they all are focused on the same class triggers.

---

<div class="post-metadata">

**Author:** ![bdreku](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/bdreku/32/4520_2.png) [@bdreku](https://verificationacademy.com/forums/u/bdreku)\
**Post date:** [June 14, 2021, 3:51am UTC](https://verificationacademy.com/forums/t/public-event-in-uvm/39183/2 "2021-06-14T03:51:33Z")

</div>

_In reply to [verific\_engi](https://verificationacademy.com/forums/t/public-event-in-uvm/39183):_  
If you have defined an event in testcase then it’s scope is limited to testcase itself.

You have to pass this event to another class in order to wait there.

---

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [June 14, 2021, 6:11am UTC](https://verificationacademy.com/forums/t/public-event-in-uvm/39183/3 "2021-06-14T06:11:38Z")

</div>

_In reply to [verific\_engi](https://verificationacademy.com/forums/t/public-event-in-uvm/39183/2):_

Use uvm\_event\_pool [UVM\_Event\_Pool | Verification Academy](https://verificationacademy.com/forums/uvm/uvmeventpool)

---

<div class="post-metadata">

**Author:** ![verific\_engi](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/v/c5a1d2/32.png) [@verific\_engi](https://verificationacademy.com/forums/u/verific_engi)\
**Post date:** [June 14, 2021, 12:38pm UTC](https://verificationacademy.com/forums/t/public-event-in-uvm/39183/4 "2021-06-14T12:38:50Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/public-event-in-uvm/39183/3):_

Thanks, Dave for pointing out at right source.
