# \#disable

**URL:** https://verificationacademy.com/forums/tag/disable/6195.md

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

---

## [Difference between break and disable (disable within a loop)](https://verificationacademy.com/forums/t/difference-between-break-and-disable-disable-within-a-loop/42458)

<div class="topic-metadata">

**Author:** [@s.madhan.mobiveil.co.in](https://verificationacademy.com/forums/u/s.madhan.mobiveil.co.in)\
**Replies:** 1\
**Last updated:** [September 25, 2023, 8:02pm UTC](https://verificationacademy.com/forums/t/difference-between-break-and-disable-disable-within-a-loop/42458 "2023-09-25T20:02:05Z")

</div>

break statement can end a loop. disable can be used to disable a named block. If i use a disable statement to end a loop (named block) then how is it different from break statement.

---

## [Disabling processes from within a function](https://verificationacademy.com/forums/t/disabling-processes-from-within-a-function/35567)

<div class="topic-metadata">

**Author:** [@agstod](https://verificationacademy.com/forums/u/agstod)\
**Replies:** 8\
**Last updated:** [January 21, 2019, 7:24am UTC](https://verificationacademy.com/forums/t/disabling-processes-from-within-a-function/35567 "2019-01-21T07:24:50Z")

</div>

event an\_event; initial begin myfunction(); #5ns; -\>an\_event; #100ns; end function void myfunction(); fork begin : THREAD\_1 #10ns; $display("Ending Thread 1"); end : THRE…

---

## [How to check if certain assertions are enabled?](https://verificationacademy.com/forums/t/how-to-check-if-certain-assertions-are-enabled/33301)

<div class="topic-metadata">

**Author:** [@Reuben](https://verificationacademy.com/forums/u/Reuben)\
**Replies:** 2\
**Last updated:** [July 14, 2017, 2:52am UTC](https://verificationacademy.com/forums/t/how-to-check-if-certain-assertions-are-enabled/33301 "2017-07-14T02:52:30Z")

</div>

I want to check if some of my assertions are enabled or disabled. Is there a way to do that? If I use a waveform viewer, are assertions supposed to be present on the hierarchy if they are enabled?
