How to setup the default simulator and simulation libraryin IC5141? That I don't have to setup it any time when I create a new test bench for my new cells?
The default simulator in the Analog Design Environment (if that's what you're talking about) is set via a .cdsenv setting:
asimenv.startup simulator string "spectre"
or in your .cdsinit :
envSetVal("asimenv.startup" "simulator" 'string "spectre")
I don't know what you mean by setting the default simulation library though. You'll need to expand upon what you're trying to achieve here.
This is done with the:
spectre.envOpts modelFiles string ""
cdsenv setting. Or you can use the envSetVal() SKILL equivalent (you can guess the syntax from my previous post).
The string itself would be in this form: "/path/file1.scs /path/file2.scs /path/file3.scs;section3"
See http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:ViewSolution;solutionNumber=1839602 and http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:ViewSolution;solutionNumber=11210060 for more details.
I added the line
to my .cdsenv, then launched icfb but when I open ADE the default simulator is still eldoD.
If I check from CIW
it says "spectre"
What can I do without entering in the CIW envSetVal("asimenv.startup" "simulator" 'string "spectre")?
I wouldn't change my .cdsinit because I have read-only privileges on that file
The problem is that the .cdsenv (e.g. from your home dir) gets read before the .cdsinit - and most likely the Mentor customization loaded from your .cdsinit is changing the default simulator to eldoD. So you probably need to be able to modify the .cdsinit (maybe the readonly .cdsinit has SKILL code in it to load a user file instead?).
You could revert to "icfb -nocdsinit -restore myInit" and then have myInit contain:
load(".cdsinit") ; get the path rightenvSetVal("asimenv.startup" "simulator" 'string "spectre")
and then create yourself an alias or wrapper script to avoid having to type the long icfb.