Home > Community > Forums > Custom IC SKILL > Automatic loading of SKILL code into Composer or 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: *

 Automatic loading of SKILL code into Composer or Virtuoso 

Last post Wed, Jun 17 2009 2:55 PM by 1960CadGuy. 3 replies.
Started by 1960CadGuy 17 Jun 2009 12:13 PM. Topic has 3 replies and 3200 views
Page 1 of 1 (4 items)
Sort Posts:
  • Wed, Jun 17 2009 12:13 PM

    • 1960CadGuy
    • Not Ranked
    • Joined on Wed, Jun 17 2009
    • Posts 4
    • Points 50
    Automatic loading of SKILL code into Composer or Virtuoso Reply

    I am a new Cadence user who is very (probably too) familiar with the Mentor tool set and the way in which AMPLE code gets automatically loaded into Mentor's schematic or layout windows.  Now that I am transitioning to Cadence 6.1.X and SKILL, I am trying to familiarize myself with how SKILL gets loaded into the various windows.  Although I do have SKILL class in my future, I am trying to jumpstart things by learning various aspects of SKILL in advance of such a class.  I am trying to go through the Cadence documentation to discern the mechanism by which userware is automatically loaded for the tool in which it is intended. In Mentor-land, for example, userware locations are defined by the AMPLE_PATH environemental variable and files are loaded into the appropriate tool by filename, for example $AMPLE_PATH/da_ic/schematic.ample when a schematic window is opened.  Is there a Cadence equivalent? 

    Filed under:
    • Post Points: 35
  • Wed, Jun 17 2009 12:23 PM

    • aplumb
    • Top 75 Contributor
    • Joined on Thu, Jul 17 2008
    • Ottawa, Ontario
    • Posts 80
    • Points 1,230
    Re: Automatic loading of SKILL code into Composer or Virtuoso Reply
    A good place to start is read up on how $CDS_SITE works, the various places the '.cdsinit' file can be located, and how libInit.il files work.

    Andrew
    • Post Points: 5
  • Wed, Jun 17 2009 2:21 PM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,576
    • Points 15,725
    Re: Automatic loading of SKILL code into Composer or Virtuoso Reply

    Hi,

    As Andrew pointed out, the main user customization SKILL syntax file that is automatically loaded is the .cdsinit file which typically can reside in your current, home or <cds_install_dir>/tools/dfII/local directory - the latter location does not exist by default, but if the .cdsinit file is found there then the search mechanism stops (although the .cdsinit file itself can load other SKILL syntax files, including $HOME/.cdsinit or from the current directory). There is a Cadence Search File mechanism (CSF) which is worth reading about in the documentation, the search mentioned above is a default, but the CSF can be customized to search in a different order or in different locations.  In addition to this, if a file named libInit.il exists in a library, when the library is first accessed this file will be automatically loaded. Typically this is used as part of a PDK, e.g. the library initialization may load PCell SKILL code etc.

    For doing something specific to a schematic window, the easiest way to do this is to define a SKILL trigger such that when a schematic view is opened, the code specified by the trigger is loaded. For example:

    deRegUserTriggers("schematic" nil nil 'CADCustomizationFunction)

    If you just want to modify the menus in the schematic, then another way to do this is to use the menus files mechanism. Here are a few solutions related to the menus file approach:
    Solution 11182358

    Solution 11208974

    Solution 11536610

    Hope this helps you!

    Regards,

    Lawrence.

    • Post Points: 20
  • Wed, Jun 17 2009 2:55 PM

    • 1960CadGuy
    • Not Ranked
    • Joined on Wed, Jun 17 2009
    • Posts 4
    • Points 50
    Re: Automatic loading of SKILL code into Composer or Virtuoso Reply

    Thank you Andrew and Lawrence for your help on this -- given the nearly 27 years I have had my mind in Mentor Graphics-mode, I suppose I could be forgiven a bit of denseness (or mental-inertia if you want to be nice) on my part.  It appears that Cadence chose to implement all this in what seems to be a far simpler scheme than Mentor does things.  Thank you once again.

     Regards,

     Paul

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by 1960CadGuy at 17 Jun 2009 12:13 PM. Topic has 3 replies.