Problem in replacing 'define macro <text> to vlog +define+macro=<text> in Questasim
Hi
My code has the following ifdef
`ifdef SIMFILE
`include `SIMFILE
`endif
While compiling I give
vlog +define+SIMFILE="file1.sim" -f file_list.f
When I give this way file1.sim is actually not included.
Whereas it gets included only when I explicitly define as:
`define SIMFILE "test1.sim"
I learnt from questa manual and understood that +define+SIMFILE="file1.sim" along vlog is equivalent to `define SIMFILE "file1.sim"
But when I give the +define method mentioned above, the quotes are not actually taken. It either doesnt include the specified file or displays error like "missing quotes"
I find the problem with the quotes.I need to do +define+ along with vlog instead of `define
Kindly help me with this.
Thanks