gEDA-dev: Icarus Verilog command file
Stephen Williams
steve at icarus.com
Wed Sep 12 19:16:06 EDT 2007
Alan M. Feldstein wrote:
> In a command file (the argument to the -c flag) I have
>
> /home/alan/Sun/OpenSPARCT2.1.0beta/design/sys/iop/cpu/rtl/cpu.v
> $DV_ROOT/design/sys/iop/ccx/rtl/ccx.v
> ...
>
> The value of the DV_ROOT environment variable is
> /home/alan/Sun/OpenSPARCT2.1.0beta
>
> iverilog doesn't complain about the first Verilog source file, but for
> the second one it reports
> $DV_ROOT/design/sys/iop/ccx/rtl/ccx.v: No such file or directory
>
> ccx.v does, in fact, exist.
>
> The iverilog man page claims that "Variables are substitued in file
> names." Therefore, $DV_ROOT should have been understood, right? Isn't
> that what that means?
Look more closely at the syntax for a variable. You mean $(DV_ROOT)...?
The parentheses are important
--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
More information about the geda-dev
mailing list