my problem is related to a tcl script which automates the simulation of a design. The mentioned script has to open and store some files.
While developping this script I set a constant to the desired working directory. Execution of the script is triggered through a shell command in third party software.
Now I would like to run on relative paths to ensure portability. To achieve this, the 'pwd' command is used to build full qualified paths. I changed the shell command like that:
This does not work because VA uses it's own working path.
I searched for a shell parameter to set VA to the desired working directory, but I found none.
So I tried to let my Software create a temporary tcl, which is like this:
Even with this Method the working directory in the tcl is wrong.
What should I do?