Home > Community > Forums > Custom IC Design > How to set default simulator and simulation library in IC5141?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to set default simulator and simulation library in IC5141? 

Last post Wed, Feb 13 2013 8:12 AM by Andrew Beckett. 5 replies.
Started by enzochi 17 Oct 2010 08:05 PM. Topic has 5 replies and 2571 views
Page 1 of 1 (6 items)
Sort Posts:
  • Sun, Oct 17 2010 8:05 PM

    • enzochi
    • Not Ranked
    • Joined on Tue, Jul 27 2010
    • Posts 2
    • Points 40
    How to set default simulator and simulation library in IC5141? Reply

    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?

     

    Thanks

    • Post Points: 20
  • Tue, Oct 19 2010 3:24 AM

    Re: How to set default simulator and simulation library in IC5141? Reply

    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.

    Regards,

    Andrew.  

    • Post Points: 35
  • Tue, Oct 19 2010 4:20 AM

    • enzochi
    • Not Ranked
    • Joined on Tue, Jul 27 2010
    • Posts 2
    • Points 40
    Re: How to set default simulator and simulation library in IC5141? Reply
    Hi Andrew: The simulation setup is what I need. thanks. It is the first time I use this tool. What I mean the library setup is: when I open Virtuoso Analog Design Environment, at the Setup -> Model Libraries. Where I can locate my library files. I just want it to be set as the simulator I used, without do it every time when I build a new testbench. Thanks.
    • Post Points: 20
  • Tue, Oct 19 2010 5:39 AM

    Re: How to set default simulator and simulation library in IC5141? Reply

    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.

    Regards,

    Andrew.

    • Post Points: 5
  • Wed, Feb 13 2013 7:52 AM

    • Manatee
    • Not Ranked
    • Joined on Wed, Nov 4 2009
    • Milano, Milan
    • Posts 1
    • Points 20
    Re: How to set default simulator and simulation library in IC5141? Reply

    I added the line

     asimenv.startup simulator       string  "spectre"

    to my .cdsenv, then launched icfb but when I open ADE the default simulator is still eldoD. 

    If I check from CIW

      envGetDefVal("asimenv.startup" "simulator")

    it says "spectre"

    but 

     envGetVal("asimenv.startup" "simulator")

    says "eldoD"

     

    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 

        

     

    • Post Points: 20
  • Wed, Feb 13 2013 8:12 AM

    Re: How to set default simulator and simulation library in IC5141? Reply

    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 right
    envSetVal("asimenv.startup" "simulator" 'string "spectre")

    and then create yourself an alias or wrapper script to avoid having to type the long icfb.

    Andrew.

    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by enzochi at 17 Oct 2010 08:05 PM. Topic has 5 replies.