The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design Languages >> Verilog-AMS >> ahdl_include filePath https://designers-guide.org/forum/YaBB.pl?num=1367833343 Message started by spinfab on May 6th, 2013, 2:42am |
Title: ahdl_include filePath Post by spinfab on May 6th, 2013, 2:42am Hello, In a spectre netlist, I would like to use ahdl_include "absolutepath/file.va" but instead using an absolute path, I would prefer to use an shell env variable. Is somone know how to proceed with virtuoso-ADE? Regards, Fab |
Title: Re: ahdl_include filePath Post by Geoffrey_Coram on May 6th, 2013, 10:44am I don't think you can do it, where absolutepath is substituted inside a quoted string; most macro replacement does not apply inside quotes strings. You might be able to ahdl_include MYFILENAME where MYFILENAME is defined somehow as "absolutepath/file.va" The other possibility might be to ahdl_include "file.va" and have the search path set by the shell env variable. Would either approach work for your situation? |
Title: Re: ahdl_include filePath Post by spinfab on May 7th, 2013, 12:52am Thanks geoffrey for your advise. nevertheless, what should be the env variable have the search path set by the shell env variable. regards, Fab |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |