Jump to content

Is there way to mask a message type in UVM


Recommended Posts

I am looking for the following:

a) Is there a way to mask out, from command line, all UVM_WARNINGs or other UVM_<TYPE>. (not based on message ID, mind you, I am looking for a sledgehammer that would whack a message type, if there is one. ( I know the dangers of a sledgehammer)

B) If a) is true, then what's the method I can call, to get the current message types that are masked?

thanks,

Ninad

VerifySys

Link to comment
Share on other sites

This is not a language question.

See +uvm_set_action in the reference manual

+uvm_set_action=uvm_test_top.*,_ALL_,UVM_WARNING,UVM_NO_ACTION

There is no way to get a list of message types that have been masked other than querying the severity-id pairs individually. I would not recommend this approach as you would now be using the report handler as a configuration mechanism. Instead, use the configuration mechanism to drive the report settings.

Link to comment
Share on other sites

This is not a language question.

See +uvm_set_action in the reference manual

+uvm_set_action=uvm_test_top.*,_ALL_,UVM_WARNING,UVM_NO_ACTION

There is no way to get a list of message types that have been masked other than querying the severity-id pairs individually. I would not recommend this approach as you would now be using the report handler as a configuration mechanism. Instead, use the configuration mechanism to drive the report settings.

Thanks for the response. I will try it out.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...