In reply to dave_59:
In reply to naaj_ila:
You cannot comment out a
`define that has been defined earlier. You need to use
`undef UVM_REPORT_DISABLE_FILE
Also, you need to make sure you are usinguvm_info or passing
FILE and `LINE to uvm_report_info().
Hi Dave,
-
I tried with Commenting “UVM_REPORT_DISABLE_FILE” -->NOT WORKED
-
`undef “UVM_REPORT_DISABLE_FILE” → NOT WORKED
-
Added this define on the top of testcase-->NOT WORKED
define uvm_info(ID,MSG,VERBOSITY) \ begin \ if (uvm_report_enabled(VERBOSITY,UVM_INFO,ID)) \ uvm_report_info (ID, MSG, VERBOSITY,
FILE,__LINE__); \ end Replaced
uvm_file anduvm_line with
FILE and `LINE respectively -
Added this define on the top of testcase–>WORKED
define uvm_info(ID,MSG,VERBOSITY) \ begin \ if (uvm_report_enabled(VERBOSITY,UVM_INFO,ID)) \ begin\ $display(
FILE,__LINE__);\ uvm_report_info (ID, MSG, VERBOSITY,
FILE,__LINE__); \ end\ end Replaced
uvm_file anduvm_line with
FILE and `LINE respectively and added $display .Worked with $display.
I am not sure why uvm_info __FILE__ and
LINE is not working
Any guess?