Jump to content

UVM Messages:: Controlling message using ID from top

Recommended Posts



 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:








Also suggest me best way to achieve this.





Link to comment
Share on other sites



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?)



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.

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