# Forever loop break

**URL:** <https://verificationacademy.com/forums/t/forever-loop-break/34175>\
**Category:** UVM\
**Tags:** UVM, Forever-Loop-Break-in-UVM\
**Created:** [March 9, 2018, 3:37pm UTC](https://verificationacademy.com/forums/t/forever-loop-break/34175 "2018-03-09T15:37:12Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![rbasnet](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/r/e47c2d/32.png) [@rbasnet](https://verificationacademy.com/forums/u/rbasnet)\
**Post date:** [March 12, 2018, 1:58pm UTC](https://verificationacademy.com/forums/t/forever-loop-break/34175/9 "2018-03-12T13:58:37Z")

</div>

_In reply to [rbasnet](https://verificationacademy.com/forums/t/forever-loop-break/34175/8):_

> _In reply to [dave\_59](https://verificationacademy.com/forums/t/forever-loop-break/34175/8):_  
> The objection raising/dropping is redundant. That was my bad. Now I got rid of the objection but still the execution comes out of the forever loop. I tried with the fork\_join and fork\_join\_any to see if that makes any difference but no. I also completely got rid of the fork and tried with the forever loop only and i could see that the execution still exits the forever loop. What is going on here? Seems like I am missing something here.

From the simulation it seems that the loop executes as many times as I have items in the fifo. If there are no items in the fifo, regardless of the call to get method, the loop exits. My understanding is the execution should stuck in the call to get method as it is a blocking call even if there are no items in the fifo. What is that I am missing here?

---

_[View the full topic](https://verificationacademy.com/forums/t/forever-loop-break/34175)._
