Dear All,
At this moment we have created a include file which contains all sorts of Tasks. The file looks like this:
Code:task dothis;
....
endtask
task dothat;
....
endtask
If i want to include this to my project file, i will have to include the file after the module's header:
Code:module Test(in, out);
`include "/home/ijnte/Desktop/VerilogAMS/tasks.vams"
....
Within the include statement quotes, i need to fill in the absolute path to the file that needs to be included.
Is there a way to use an relative path with linux variabels (or SKILL variable) in stead of the absolute path? So something that looks like this:
Code:`include "${HOME}/tasks.vams"
Where home is specified as "/home/ijnte/Dekstop/VerilogAMS"
I would like to work with an relative path, because i can store this file within the Cadence environment, so everyone can use and acces the file.
Maybe somebody has another idea, how to make this include file available for everyone. It should be placed on a default location, but a the path to this location is not fixed (it could be /workspace/user1/technology or /workspace/user2/technology)
An other option is to attach it to each library, but this is a very time consuming job
Thank you all in advance!
Gr IJnte