J
Jason Zheng
Guest
This is a specific question regarding cadence ncverilog. I tried to
define a string macro (e.g. a file name "abc.log") from the command line
options of ncverilog, which is a launcher for the verilog compiler
ncvlog. ncvlog has a command option -DEFINE, and ncverilog has an option
+ncvlogargs+"..." for passing ncvlog options. The issue I seem to be
having is that I can't seem to define string macros this way:
ncverilog +ncvlogargs+'-DEFINE NAME="abc.log"'
The preprocessor seems to strip away the inner quotation automatically.
I doubt this is a shell issue, but I'm using tcsh. Does anyone have a clue?
Here's the test program that I used:
`timescale 1ns / 100ps
module test;
initial
$display (`NAME);
endmodule // test
Thanks in advance.
define a string macro (e.g. a file name "abc.log") from the command line
options of ncverilog, which is a launcher for the verilog compiler
ncvlog. ncvlog has a command option -DEFINE, and ncverilog has an option
+ncvlogargs+"..." for passing ncvlog options. The issue I seem to be
having is that I can't seem to define string macros this way:
ncverilog +ncvlogargs+'-DEFINE NAME="abc.log"'
The preprocessor seems to strip away the inner quotation automatically.
I doubt this is a shell issue, but I'm using tcsh. Does anyone have a clue?
Here's the test program that I used:
`timescale 1ns / 100ps
module test;
initial
$display (`NAME);
endmodule // test
Thanks in advance.