# Multiple +uvm\_set\_verbosity doesn't work

**URL:** <https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032>\
**Category:** UVM\
**Tags:** UVM, uvm\_set\_severity\
**Created:** [July 13, 2016, 9:40pm UTC](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032 "2016-07-13T21:40:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JSHammond](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/j/7ab992/32.png) [@JSHammond](https://verificationacademy.com/forums/u/JSHammond)\
**Post date:** [July 13, 2016, 9:40pm UTC](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032/1 "2016-07-13T21:40:42Z")

</div>

I am using +uvm\_set\_verbosity to control which messages get printed during a simulation run.  
I have multiple settings I like to use and individually they work as I want them to.  
The problem is that if I invoke more than one I only get the first one listed.  
I have

vsim … +uvm\_set\_verbosity=_,‘Func1 Mode1’,UVM\_DEBUG,run +uvm\_set\_verbosity=_,‘Func2 Mode3’,UVM\_DEBUG,run

and I only see info messages with [Func1 Mode1] and none with [Func2 Mode3].

Suggestions?

---

<div class="post-metadata">

**Author:** ![scottj97](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/s/e79b87/32.png) [@scottj97](https://verificationacademy.com/forums/u/scottj97)\
**Post date:** [July 14, 2016, 7:20pm UTC](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032/2 "2016-07-14T19:20:04Z")

</div>

_In reply to [JSHammond](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032):_

Does it work as expected if you use only one at a time? What if you reverse the two?

---

<div class="post-metadata">

**Author:** ![JSHammond](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/j/7ab992/32.png) [@JSHammond](https://verificationacademy.com/forums/u/JSHammond)\
**Post date:** [July 14, 2016, 7:35pm UTC](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032/3 "2016-07-14T19:35:43Z")

</div>

_In reply to [scottj97](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032/2):_

If I invoke them one at a time each one works as I want.

Every time I have two, regardless of the order, the first one works and the second one does not.

---

<div class="post-metadata">

**Author:** ![scottj97](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/s/e79b87/32.png) [@scottj97](https://verificationacademy.com/forums/u/scottj97)\
**Post date:** [July 14, 2016, 9:13pm UTC](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032/4 "2016-07-14T21:13:30Z")

</div>

_In reply to [JSHammond](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032/3):_

Which version of the UVM libs are you using? I know this code changed substantially between 1.1 and 1.2.

---

<div class="post-metadata">

**Author:** ![JSHammond](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/j/7ab992/32.png) [@JSHammond](https://verificationacademy.com/forums/u/JSHammond)\
**Post date:** [July 14, 2016, 9:26pm UTC](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032/5 "2016-07-14T21:26:04Z")

</div>

_In reply to [scottj97](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032/4):_

I’m using UVM version 1.1d

---

<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 14, 2016, 9:34pm UTC](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032/6 "2016-07-14T21:34:53Z")

</div>

_In reply to [JSHammond](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032/5):_  
This might be [0004832: +uvm\_set\_verbosity implementation results in undefined behavior - Accellera Mantis](https://accellera.mantishub.io/view.php?id=4832)

---

<div class="post-metadata">

**Author:** ![scottj97](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/s/e79b87/32.png) [@scottj97](https://verificationacademy.com/forums/u/scottj97)\
**Post date:** [July 14, 2016, 9:49pm UTC](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032/7 "2016-07-14T21:49:36Z")

</div>

_In reply to [JSHammond](https://verificationacademy.com/forums/t/multiple-uvm-set-verbosity-doesnt-work/32032/6):_

Check for INVLCMDARGS warnings; having the space in the middle of the id string makes me suspicious.

Can you try changing the id strings so there’s no spaces?
