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 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.