How can I use "+" operator from command line

I want to define a macro from command line.
i.e : +define+ADD=1+2

Using this macro the “+” (1+2) is not recognised as addition operator, but as keyword for the command (the command is expecting another macro).

Any idea how we can do that ?

Thank you

In reply to jamalelhaitout:

You might have to evaluate the expression in your shell first

sum=`echo 1+2|bc`
vlog +define+ADD=$sum ...

Otherwise, you will have to put the define in a file, then include the file.

In reply to dave_59:

Many thanks Dave!