Where is file link and time generated in uvm_info?

Hello everyone,

Is there any source which provides information how and where the output of uvm_info is built?

I’d like to know where the link to the file and line is generated, which is printed in the console?!

Where does uvm_info gets the time printed to the console?

It would be helpful for me to understand the Background of uvm_info so I can work with the output!

Thanks a lot in advance and kind regards,
René

In reply to RenéPi:

The code for the UVM is Open Source, so you can look at the definition of the
`uvm_info
macro, which happens to be located in src/macros/uvm_message_defines.svh. You will see that the macro is a simple wrapper around
uvm_report_info
. Type any of these API names in to search page and you will get a link to the source.

In reply to dave_59:

Thanks a lot for the Information, Dave!

But I still don’t understand how these hyperlinks are built internally. Is there any description available?

Is it possible to use SystemVerilog’s $display() function to generate a hyperlink in the output of Cadence SimVision console?

In reply to RenéPi:
This is a Mentor forum for methodology, not tool specific support.

In reply to dave_59:

Thank you, Dave! So, do you at least know where I can get this kind of support?

In reply to RenéPi:

For CDN specific queries try: http://community.cadence.com/cadence_technology_forums/f/30

Since UVM is opensource you can pick up the version of your choice (See: http://www.go2uvm.org/2016/05/free-download-of-different-uvm-class-library-versions/) and look at the code yourself to understand.

Specifically in your question you have asked:
Time → $time
FILE → __FILE__ LINE --> LINE

The above 2 macros are part of IEEE 1800-2009 SV standard, hence you can use them in your $display if you wish to. However using UVM messaging is lot better.

HTH
Srini
www.verifworks.com

Dear Srini,

many thanks for your help and all the Information!

I’ve tested it and now it’s showing me time, file and line!

Have also already downloaded the class library and let’s see if I find more information there!

Just one final question, as I am pretty new to this topic and don’t know so much about the details, maybe you can help me one last time?

I’d like to get this `FILE clickable in the simulator output. Is there any trick to get this?

Just want to understand how this UVM messaging works!

Greetings,
René

In reply to RenéPi:

Dear Srini,
Just one final question, as I am pretty new to this topic and don’t know so much about the details, maybe you can help me one last time?
I’d like to get this `FILE clickable in the simulator output. Is there any trick to get this?
Greetings,
René

That is usually called “Smart Log” by EDA tools. Unfortunately I don’t have the information ready in hand for CDN tool on this one. Please ask CDN support staff (and if you find the answer, consider sharing it too!)

Warm Regards
Srini
www.verifworks.com