Is it possible to change the default behavior of `uvm_info

Hi,

I’m interested to know if there is anyway to change the default print behaviour of uvm_report mechanism, in particular uvm_info. I’m interested to change the trailing character of this print message.

Basically I want to customize the print in some cases as below.

Assume I’ve a array to represent byte enable like ‘reg be[16]’ as one of the transaction class items. If I try to print using uvm_info each of the enables are printed in the table format and the output looks weird. Rather I would like to print them continuously as it becomes more readable in this case.
Ways to do this are - use either $write or use %m. Among this $write looks much better.

But I would like to know if I can change the `uvm_info behaviour in a way not to print the \n as the trailing character. With this I’ll be able to print all the byte enables continuously.

Can someone help me on this?

Thanks,
Somasekhar

In reply to Somasekhar M:

You want to look at adding the convert2string() function to your sequence_item. This will allow you to format printing of your sequence_item to something more readable.

It is explained in the UVM Cookbook.