# SystemVerilog reason of not putting always in program block

**URL:** <https://verificationacademy.com/forums/t/systemverilog-reason-of-not-putting-always-in-program-block/51415>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog\
**Created:** [October 15, 2025, 3:14pm UTC](https://verificationacademy.com/forums/t/systemverilog-reason-of-not-putting-always-in-program-block/51415 "2025-10-15T15:14:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjog\_garva](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/s/e495f1/32.png) [@sanjog\_garva](https://verificationacademy.com/forums/u/sanjog_garva)\
**Post date:** [October 15, 2025, 3:14pm UTC](https://verificationacademy.com/forums/t/systemverilog-reason-of-not-putting-always-in-program-block/51415/1 "2025-10-15T15:14:57Z")

</div>

@dave_59 Hi dave according to LRM we don’t put always block in program block because always are intended to run indefinitely but we can put initial with forever why ?

Reason i think of is always generate synthesisable rtl code that behaves like hardware but initial is not and we want to program to terminate after the test is completed that is one reason i got that we not put indefinitely running loop and i also know it came from vera but why initial forever allowed when we don’t want indefinitely running loop

---

<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:** [October 15, 2025, 4:00pm UTC](https://verificationacademy.com/forums/t/systemverilog-reason-of-not-putting-always-in-program-block/51415/2 "2025-10-15T16:00:34Z")

</div>

> [@Why system verilog does not allow always block in program scope?](https://verificationacademy.com/forums/t/why-system-verilog-does-not-allow-always-block-in-program-scope/28384/2):
>
> The program block came from the Vera verification language that was donated to SystemVerilog. In Vera, a program was a single procedure that represented the “test”. Your test was started at time 0 and when the test terminated, the program terminated the simulation. If you needed multiple test threads, you either had to use the fork statement to start it, or use multiple programs. When the last program terminated, the simulation terminated. As part of the integration with SystemVerilog, the prog…

---

<div class="post-metadata">

**Author:** ![Tobias187](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/t/82dd89/32.png) [@Tobias187](https://verificationacademy.com/forums/u/Tobias187)\
**Post date:** [September 11, 2026, 11:07am UTC](https://verificationacademy.com/forums/t/systemverilog-reason-of-not-putting-always-in-program-block/51415/3 "2026-09-11T11:07:24Z")

</div>

Hi Dave, at the end of your [blog](https://blogs.sw.siemens.com/verificationhorizons/2009/05/07/programblocks/), you have mentioned virtual interfaces, can you share the link here. becoz I can’t find it. Thanks in advance

---

<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:** [September 11, 2026, 5:28pm UTC](https://verificationacademy.com/forums/t/systemverilog-reason-of-not-putting-always-in-program-block/51415/4 "2026-09-11T17:28:58Z")

</div>

[https://share.google/aimode/LAkBXQdccog3x86kJ](https://share.google/aimode/LAkBXQdccog3x86kJ)

> **[🧠 Abstract-Concrete class pair method in UVM—An Alternative to Virtual...](https://www.linkedin.com/pulse/abstract-concrete-class-pair-method-uvman-alternative-vikas-kumar-wagqf/)**
>
> In most UVM testbenches, we commonly use virtual interfaces to connect DUT signals with components like the driver. It's effective—but as our environment scales, virtual interfaces can introduce tight coupling between components and DUT signal names.

---

<div class="post-metadata">

**Author:** ![Tobias187](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/t/82dd89/32.png) [@Tobias187](https://verificationacademy.com/forums/u/Tobias187)\
**Post date:** [September 22, 2026, 4:39pm UTC](https://verificationacademy.com/forums/t/systemverilog-reason-of-not-putting-always-in-program-block/51415/5 "2026-09-22T16:39:40Z")

</div>

Hi Dave, this concrete class approach amazes me who is just a newbie to the DV area. But at the end of the day we are going to verify a design. so why does one approach concerns another is a question I wanna make clear to myself. can I expect your insight on this?
