# How to configure macros

**URL:** <https://verificationacademy.com/forums/t/how-to-configure-macros/29185>\
**Category:** OVM\
**Tags:** OVM, ovm-uvm\
**Created:** [February 20, 2014, 9:58am UTC](https://verificationacademy.com/forums/t/how-to-configure-macros/29185 "2014-02-20T09:58:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bharath123](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/b/258eb7/32.png) [@bharath123](https://verificationacademy.com/forums/u/bharath123)\
**Post date:** [February 20, 2014, 9:58am UTC](https://verificationacademy.com/forums/t/how-to-configure-macros/29185/1 "2014-02-20T09:58:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [February 20, 2014, 4:09pm UTC](https://verificationacademy.com/forums/t/how-to-configure-macros/29185/2 "2014-02-20T16:09:02Z")

</div>

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.

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

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

```
