I can reference a cds_global variable in a verilogams view by using cds_globals.variableName. However, I'd like to be able to test its existence, and the to set it to a default value if it is not defined by the user. Something like the below...
if(exists cds_globals.signalName)
output=cds_globals.signalName;
else
output = 7;
Is there a way to do this? I tried "`ifdef / `elsif / `endif" and that always followed the "elsif" path.