Jump to content

UVM_VERBOSITY does not affect "[NEWCOMP] Creating" message

Recommended Posts

In the new function of uvm_component.svh, there is a message "[NEWCOMP] Creating" which gets printed while creating components.

if(uvm_report_enabled(UVM_MEDIUM+1, UVM_INFO, "NEWCOMP"))
    `uvm_info("NEWCOMP", {"Creating ",

With UVM_VERBOSITY=FULL, I am unable to print the above message. Please help to enable the printing of above message.


Also, `uvm_info already contains uvm_report_enabled, so is there a reason to again check for uvm_report_enabled.

`define uvm_info(ID,MSG,VERBOSITY) \
   begin \
     if (uvm_report_enabled(VERBOSITY,UVM_INFO,ID)) \
       uvm_report_info (ID, MSG, VERBOSITY, `uvm_file, `uvm_line); \
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...