How to configure macros

Hi,

Every TB Consists of macros such ovm_info,ovm_error,…so on macro.

I want configure this macros with some name,Can we do it,If so what should be done.

Exactly what i want is “ovm_info” should be “new_macro_info”

i think we can do it by `define but iam not able to write that,If someone knows how to change macros please help me.

Thanks
Bharath

It would help to show what you tried and what error you got.

If you want to redefine a macro name with arguments, you need to pass along those arguments.

`define a(x,y) $display(`"x: %h y: %h`",x,y)

`define new_a(i,j) `a(i,j)