# What are clocking blocks?

**URL:** <https://verificationacademy.com/forums/t/what-are-clocking-blocks/40479>\
**Category:** SystemVerilog\
**Tags:** clockingblock, SystemVerilog\
**Created:** [June 2, 2022, 1:36pm UTC](https://verificationacademy.com/forums/t/what-are-clocking-blocks/40479 "2022-06-02T13:36:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichaelP](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@MichaelP](https://verificationacademy.com/forums/u/MichaelP)\
**Post date:** [June 2, 2022, 1:36pm UTC](https://verificationacademy.com/forums/t/what-are-clocking-blocks/40479/1 "2022-06-02T13:36:10Z")

</div>

Hey VA,

I would like to learn what are clocking blocks (cb)?  
And why do we need them?  
All the time keep seeing it in code I am using, never did a proper course explaining this construct and it’s purpose.  
And never wrote one of my own.

Any leads to good material or videos to understand what it is? How to use it? And why do we need it?

Thanks,  
Michael

---

<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 2, 2022, 8:50pm UTC](https://verificationacademy.com/forums/t/what-are-clocking-blocks/40479/2 "2022-06-02T20:50:07Z")

</div>

_In reply to [Michael54](https://verificationacademy.com/forums/t/what-are-clocking-blocks/40479):_

Clocking blocks are certainly optional. There are more useful in poorly written RTL that do not properly use non-blocking assignments in sequential logic, or in gate-level simulations with inaccurate delays.

My DVCon paper “[The missing link: the testbench to DUT connection](https://verificationacademy.com/resources/technical-papers/the-missing-link-the-testbench-to-dut-connection)” has a brief mention of them.

---

<div class="post-metadata">

**Author:** ![MichaelP](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@MichaelP](https://verificationacademy.com/forums/u/MichaelP)\
**Post date:** [July 13, 2022, 5:45am UTC](https://verificationacademy.com/forums/t/what-are-clocking-blocks/40479/3 "2022-07-13T05:45:49Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/what-are-clocking-blocks/40479/2):_

> _In reply to [Michael54](https://verificationacademy.com/forums/t/what-are-clocking-blocks/40479/2):_  
> Clocking blocks are certainly optional. There are more useful in poorly written RTL that do not properly use non-blocking assignments in sequential logic, or in gate-level simulations with inaccurate delays.  
> My DVCon paper “[The missing link: the testbench to DUT connection](https://verificationacademy.com/resources/technical-papers/the-missing-link-the-testbench-to-dut-connection)” has a brief mention of them.

Hello Dave,  
Thanks for your answer as always!

I am trying to understand the code provided in the paper of the probe\_pkg, and have a few questions:

1. May I use it to retrieve/monitor values of internal RTL signals?
2. Are the signals monitored by this mechanism considered as asynchronous ones (did not see any clocking events/blocks involved)?
3. May I use this “probe” mechanism to monitor Black-Box output single asynchronous signals/buses from my RTL DUT (for example: interrupt/trap signals?)

Thanks in advance!  
Michael

---

<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:** [July 13, 2022, 9:46pm UTC](https://verificationacademy.com/forums/t/what-are-clocking-blocks/40479/4 "2022-07-13T21:46:49Z")

</div>

_In reply to [Michael54](https://verificationacademy.com/forums/t/what-are-clocking-blocks/40479/3):_

The motivation behind using **bind** is monitoring values of internal DUT signals. The can be used for assertions or any other kind of checkers.

This methodology does not care if the signals are asynchronous or synchronous.
