W
Whisker
Guest
Hi,
I'm having problems figuring out how to do the following:
Instead of just using fixed defaults for saveDir and projectDir (such
as ./artist_states and ./simulation respectively - and I don't care
how these were set - either by .cdsenv entry or use of envSetVal) , I
would like to have projectDir and saveDir follow the library of the
schematic being simulated.
In other words, if I opened MyLib->MyCell->schematic and then invoked
Analog Artist, I would like the projectDir to already be defaulted to
../simulation/MyLib and I would like the saveDir to already be
defaulted to ./simulation/MyLib/artist_states. Similarly, if I then
opened YourLib->YourCell->schematic and invoked Analog Artist or just
chose YourLib->YourCell->schematic from the Setup - Design form , I
would want these two values to automatically be changed to
../simulation/YourLib and ./simulation/YourLib/artist_states
respectively.
I've thought about adding skill to run after a trigger event, but I am
not sure which trigger is appropriate. Also, I haven't found a
foolproof method of grabbing the library name which works under all
the different ways to switch what will be simulated. Additionally, it
would be awesome if whatever solution would also work for Ocean as
well.
Any and all help/ideas would be great. Thanks.
Whisker
I'm having problems figuring out how to do the following:
Instead of just using fixed defaults for saveDir and projectDir (such
as ./artist_states and ./simulation respectively - and I don't care
how these were set - either by .cdsenv entry or use of envSetVal) , I
would like to have projectDir and saveDir follow the library of the
schematic being simulated.
In other words, if I opened MyLib->MyCell->schematic and then invoked
Analog Artist, I would like the projectDir to already be defaulted to
../simulation/MyLib and I would like the saveDir to already be
defaulted to ./simulation/MyLib/artist_states. Similarly, if I then
opened YourLib->YourCell->schematic and invoked Analog Artist or just
chose YourLib->YourCell->schematic from the Setup - Design form , I
would want these two values to automatically be changed to
../simulation/YourLib and ./simulation/YourLib/artist_states
respectively.
I've thought about adding skill to run after a trigger event, but I am
not sure which trigger is appropriate. Also, I haven't found a
foolproof method of grabbing the library name which works under all
the different ways to switch what will be simulated. Additionally, it
would be awesome if whatever solution would also work for Ocean as
well.
Any and all help/ideas would be great. Thanks.
Whisker