# Uvvm clock generator not working as documented

**URL:** <https://forum.uvvm.org/t/uvvm-clock-generator-not-working-as-documented/114>\
**Category:** Bitvis VIP Clock Generator\
**Created:** [October 29, 2020, 7:03am UTC](https://forum.uvvm.org/t/uvvm-clock-generator-not-working-as-documented/114 "2020-10-29T07:03:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@Eric](https://forum.uvvm.org/u/Eric)\
**Post date:** [October 29, 2020, 7:03am UTC](https://forum.uvvm.org/t/uvvm-clock-generator-not-working-as-documented/114/1 "2020-10-29T07:03:58Z")

</div>

Hi,

We discovered that the uvvm clock generator is not working as documented  
When using methods to set a new period, the document says: “This procedure adds a set\_clock\_period command to the CLOCK GENERATOR VVCs executor queue, which will run as soon as all preceding commands have completed.”

So far so good.

“When the set\_clock\_period command is scheduled to run, the executor will change the clock period instantly.” This is not true in all cases; when the clock is started with a high period and high time (say 1ms range) the update is only applied after a clock cycle. Additionally when changing the period the high time should be adjusted too, this is not clear from the documentation.

Rgds,  
Eric

---

<div class="post-metadata">

**Author:** ![Marius](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.uvvm.org/marius/32/43_2.png) [@Marius](https://forum.uvvm.org/u/Marius)\
**Post date:** [October 30, 2020, 9:03am UTC](https://forum.uvvm.org/t/uvvm-clock-generator-not-working-as-documented/114/2 "2020-10-30T09:03:02Z")

</div>

Hei Erick,  
Thank you for pointing out the flaw. We will correct this in our next release.

Best regards,  
Marius
