# How to distinghous between UVVM releases?

**URL:** <https://forum.uvvm.org/t/how-to-distinghous-between-uvvm-releases/87>\
**Category:** Utility Library\
**Tags:** uvvm, question\
**Created:** [August 18, 2020, 6:46am UTC](https://forum.uvvm.org/t/how-to-distinghous-between-uvvm-releases/87 "2020-08-18T06:46:02Z")\
**Posts on this page:** 7\
**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:** [August 18, 2020, 6:46am UTC](https://forum.uvvm.org/t/how-to-distinghous-between-uvvm-releases/87/1 "2020-08-18T06:46:02Z")

</div>

Hi,

Can I read in my testbench the version of the UVVM library?  
If so, how?

I want to have a check on the version in my testbench.  
Say I have delivered my code with version X in January  
In the mean time a new version of UVVM is deployed by the CAD support under the same name.  
I want to check the version and raise a warning if it isn’t the same.

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:** [August 18, 2020, 8:46am UTC](https://forum.uvvm.org/t/how-to-distinghous-between-uvvm-releases/87/2 "2020-08-18T08:46:34Z")

</div>

Hi Erick,  
There is no functionality to read the UVVM version in the testbench, so the version has to be read manually from the CHANGES.TXT file located in the UVVM root folder. Note that we use a date format for the complete UVVM release and semantic versioning for each of the UVVM modules.

Best regards,  
Marius

---

<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:** [August 21, 2020, 11:34am UTC](https://forum.uvvm.org/t/how-to-distinghous-between-uvvm-releases/87/3 "2020-08-21T11:34:41Z")

</div>

Hi Marius,

Any plans to add this to the library?

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:** [August 24, 2020, 4:48am UTC](https://forum.uvvm.org/t/how-to-distinghous-between-uvvm-releases/87/4 "2020-08-24T04:48:32Z")

</div>

Hi Erick,  
Yes, I think this was a good idea and will add this to our next release.

Br,  
Marius

---

<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:** [August 28, 2020, 5:43am UTC](https://forum.uvvm.org/t/how-to-distinghous-between-uvvm-releases/87/5 "2020-08-28T05:43:45Z")

</div>

Hi Marius,

That is good to hear.  
How will this version number be?  
I noticed that the last few version are all named as v2 with a date tag.  
So I assume there will be atleast two identifiers for the release?

Any idea about that?  
Anything you can share how you think of these “identifiers”?  
And will this be in the next release?  
And when is that schedulde?

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:** [August 28, 2020, 1:53pm UTC](https://forum.uvvm.org/t/how-to-distinghous-between-uvvm-releases/87/6 "2020-08-28T13:53:31Z")

</div>

Hi Eric,  
The constant will most probably be called C\_UVVM\_VERSION and is set in the Util methods\_pkg, and probably in the format as in CHANGES.TXT, e.g. “v2 2020.08.28” (string). It will be available in the next release, but I do not think there will be any release until September / October.

Br  
Marius

---

<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 6, 2020, 11:47am UTC](https://forum.uvvm.org/t/how-to-distinghous-between-uvvm-releases/87/7 "2020-10-06T11:47:02Z")

</div>

New release has been pushed to GitHub with the version number available in the Util methods\_pkg.
