[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: Icarus Verilog command file



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


_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev