Quantcast
Channel: UVM Forums RSS Feed
Viewing all articles
Browse latest Browse all 756

UVM_VERBOSITY does not affect "[NEWCOMP] Creating" message

$
0
0

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 ",
      (parent==top?"uvm_top":parent.get_full_name()),".",name},UVM_MEDIUM+1)

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); \
   end

Viewing all articles
Browse latest Browse all 756

Trending Articles