Enable UVM display File Path names

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 using uvm_info or passing FILE and `LINE to uvm_report_info().

Hi Dave,

  1. I tried with Commenting “UVM_REPORT_DISABLE_FILE” -->NOT WORKED

  2. `undef “UVM_REPORT_DISABLE_FILE” → NOT WORKED

  3. 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 and uvm_line with FILE and `LINE respectively

  4. 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 and uvm_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?