The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 18th, 2024, 2:24am
Pages: 1
Send Topic Print
ahdl_include filePath (Read 2774 times)
spinfab
Junior Member
**
Offline



Posts: 10

ahdl_include filePath
May 06th, 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      
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: ahdl_include filePath
Reply #1 - 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?
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
spinfab
Junior Member
**
Offline



Posts: 10

Re: ahdl_include filePath
Reply #2 - 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
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.