Home > Community > Forums > Custom IC Design > How do I automatically load bindkeys every time I open Virtuoso?

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 do I automatically load bindkeys every time I open Virtuoso? 

Last post Fri, Jun 3 2011 6:58 AM by Deepon Saha. 6 replies.
Started by Unicode787Plus 25 Feb 2009 10:39 PM. Topic has 6 replies and 10218 views
Page 1 of 1 (7 items)
Sort Posts:
  • Wed, Feb 25 2009 10:39 PM

    How do I automatically load bindkeys every time I open Virtuoso? Reply

    For some reason, whenever I open Virtuoso in my school's UNIX/Linux account, bindkeys are not automatically enabled (except Esc to cancel a command). My only manual workaround is by typing the following on the CIW:

    load(prependInstallPath("samples/local/leBindKeys.il"))

    How do I set up my account to automatically load bindkeys?

    Filed under:
    • Post Points: 35
  • Thu, Feb 26 2009 2:31 AM

    • oojah
    • Top 500 Contributor
    • Joined on Thu, Feb 26 2009
    • Posts 17
    • Points 210
    Re: How do I automatically load bindkeys every time I open Virtuoso? Reply

    You can set commands to run automatically by creating a .cdsinit file, as described in <install_dir>/doc/dfIIconfig/dfIIconfig.pdf

    Essentially, just add the line to .cdsinit in your home directory or the current directory.

    Cheers,

     Roger

    • Post Points: 5
  • Thu, Feb 26 2009 6:05 AM

    • stuso
    • Top 100 Contributor
    • Joined on Mon, Nov 3 2008
    • Posts 77
    • Points 1,315
    Re: How do I automatically load bindkeys every time I open Virtuoso? Reply

    Hi there,

    Are you using the sample cdsinit file from cadence? If you open your the equivalent of this file:

     ...../IC06.13.507/tools.lnx86/dfII/samples/local/cdsinit and search for bindKey you will find it should be referenced.

    If i remember correctly the first place cadence will look for a .cdsinit will be:

     IC06.13.507/tools.lnx86/dfII/local

    Do you have such a directory, i suspect you do not or it is empty? I had to create mine and then copy the sample cdsinit to .cdsinit, for example:

    cd  /IC06.13.507/tools/dfII

    mkdir local

    cd local

    cp  /IC06.13.507/tools.lnx86/dfII/samples/local/cdsinit .cdsinit

    Note that you can still have your own .cdsinit & .cdsenv in your working area to setup your own particular preferences.

    Hope this helps

    Stu

     

     

     

     

     

     

     

     

     

     

     

    • Post Points: 20
  • Thu, Feb 26 2009 7:20 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,604
    • Points 16,180
    Re: How do I automatically load bindkeys every time I open Virtuoso? Reply

     Hi,

     I will add to what Stu has said. The first .cdsinit file found by the search mechanism causes that file to be loaded and the search stops, so no more .cdsinit files would be automatically loaded.  However, the samples/local/.cdsinit file could contain SKILL code to load further .cdsinit files, if present. For example:

      when(isFile("~/.cdsinit")
        load("~/.cdsinit")
      )
    

     The .cdsenv files follow a slightly different search methodology in that any files found on the search path will be loaded.  Additionally the environment variable CDS_LOAD_ENV can help to control which, if any, .cdsenv files are loaded, with values like addCWD, CSF, CWD, False, and CWDElseHome. The CSF setting instructs to use the Cadence Search File mechanism.

     I hope that this helps you to set up your environment!

    Regards,

    Lawrence.

    • Post Points: 20
  • Fri, Jun 3 2011 5:53 AM

    • Deepon Saha
    • Not Ranked
    • Joined on Wed, Mar 16 2011
    • Bangalore, Karnataka
    • Posts 6
    • Points 90
    Re: How do I automatically load bindkeys every time I open Virtuoso? Reply

     

    Thanks Austin,

     

    That reply of yours solved lot of my queries. Helped me a lot in designing a shell script..:)

    • Post Points: 20
  • Fri, Jun 3 2011 5:59 AM

    Re: How do I automatically load bindkeys every time I open Virtuoso? Reply

    Kolkata,

    Austin is where "skillUser" is located. Not his name ;-)

    I've seen a few people making this mistake (as I did intentionally in this reply).

    Andrew (I'm called Andrew, not Bracknell)

    • Post Points: 20
  • Fri, Jun 3 2011 6:58 AM

    • Deepon Saha
    • Not Ranked
    • Joined on Wed, Mar 16 2011
    • Bangalore, Karnataka
    • Posts 6
    • Points 90
    Re: How do I automatically load bindkeys every time I open Virtuoso? Reply

    Bracknel,

    Thanks for pointing it out.. ;)

    • Post Points: 5
Page 1 of 1 (7 items)
Sort Posts:
Started by Unicode787Plus at 25 Feb 2009 10:39 PM. Topic has 6 replies.