Jump to content

overriding uvm report severity


Recommended Posts

Is there a way to override PH_TIMEOUT severity from UVM_ERROR to UVM_WARNING.

 

I tried using

+uvm_set_severity=uvm_test_top.*,PH_TIMEOUT,UVM_ERROR,UVM_WARNING

 

in the cmd line, but unsuccessful.

 

The `uvm_error call is at src/base/uvm_phase.svh(1215)

Can someone help me out please.

 

Many thanks.

Link to comment
Share on other sites

A report catcher is ideal for this situation. There is an example in the UVM 1.1 reference manual.

 

Q: Did you put single quotes around the +uvm_set_severity option when passing to the tools? NOTE: If you have wrappers around your tools, this can be quite tricky as some wrappers make passing of special characters such as asterisk (*), question mark (?), etc. difficult indeed.

Link to comment
Share on other sites

hi,

 

in order to avoid shell wrappers and shells messing around with the special characters just put 

 

+uvm_set_severity=uvm_test_top.*,PH_TIMEOUT,UVM_ERROR,UVM_WARNING

 

into a somename.f file and have your simulator utilize the .f file via -f somename.f

 

/uwe

Link to comment
Share on other sites

  • 3 weeks later...

Thanks for the reply.

 

I tried it both single-quoted and .f way, still didnt work.

I also tried with different paths, like uvm_test_top.env_h.* etc.

env_h is the env where all uvm_component are instanciated under.

Is it applied to all level hierarchies down?

 

And tried _ALL_ for the current severity. None of that change anything.

 

It's uvm-1.1 under vcs v2012.09-mx.

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...