Jump to content

UVM Messages:: Controlling message using ID from top


Recommended Posts

Hi,

 

 I want to enable/disable specific of messages from Environment. Instead of setting it at every component level by using set_report_id_verbosity . Is there anyway from UVM_TOP can I control same and also using wildcard for setting report_id?

 

For example:

 

 UVM_TOP.set_report_id_verbosity("AXI_DRIVER_MESSAGES",UVM_LOW);

 

(or)

 

 UVM_TOP.set_report_id_verbosity("AXI_*,UVM_LOW);

 

Also suggest me best way to achieve this.

 

Regards,

Santosh

 

Link to comment
Share on other sites

hi,

 

you cannot use wildcards in the set_report_* functions (all act on specific values). but you can use a catcher to match the id once the message is emitted. if this is feasible depends upon your exact scenario  (do you want to remove or enable that particular message?)

 

/uwe

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