which lib.defs is used, search order

Discussion in 'Cadence' started by Marcel Preda, Nov 16, 2009.

  1. Marcel Preda

    Marcel Preda Guest

    Hi all,

    How can I find from skill which lib.defs file is used ?

    Let's assume that I'm inside of virtuoso schematic (or layout) editor,
    I want to run some external command and I want to be sure that bot
    applications (virtuoso and external cmd) are using same lib.defs file.

    Can I get it directly from SKILL ?
    Or is there some search order ($PWD, $HOME, etc, etc)?

    IC version 6.1.3


    Thank you,
    Marcel
     
    Marcel Preda, Nov 16, 2009
    #1
  2. Marcel Preda wrote, on 11/16/09 14:00:
    Hi Marcel,

    The lib.defs is searched for:

    Current working dir
    Login Dir $HOME/lib.defs
    data dir in your installation <instdir>/data/lib.defs (and this is the
    installation directory for OpenAccess, determined by the location of the OA
    shared libraries used by the current tools). (this comes from the Cadence
    Application Infrastructure Guide manual).

    In IC614, we are shipping a "cds.lib" plugin for OA, which will allow any
    OpenAccess application to read a cds.lib file. lib.defs only supports a subset
    of the capabilities of cds.lib, so we decided this was a better solution rather
    than the headache of trying to maintain and synchronize two files.

    For example, cds.lib supports SOFTINCLUDE, SOFTDEFINE, UNDEFINE and a few other
    things (ASSIGN TMP) which are used by Cadence tools, but these are not supported
    by lib.defs .

    The cds.lib is definitely found using the CSF (Cadence Search File) (aka
    "setup.loc" mechanism), as described in the Cadence Application Infrastructure
    Guide (and cdswhich searches for that).

    Regards,

    Andrew.
     
    Andrew Beckett, Nov 23, 2009
    #2
  3. Marcel Preda

    Marcel Preda Guest

    Thank you for your answer.

    A new question in this case: is there any documentation available
    regarding cds.lib OA plugin ?

    Why I need this: I want to run from icfb an exe, it is using OA C++
    API .
    From what I've read until now the OA C++ API is able to read only
    lib.defs, and not cds.lib .

    BR,
    Marcel
     
    Marcel Preda, Dec 4, 2009
    #3
  4. Marcel Preda wrote, on 12/04/09 09:20:
    Hi Marcel,

    This is documented in the Virtuoso Design Environment Migration Guide in IC614.
    You can also see it on Cadence Online Support at:

    http://support.cadence.com/wps/PA_D...e/cicMigGuide6.1.4/613to614.html#cdslibPlugin

    If you have an OA application, written using the C++ API, you can still use this
    plugin - the documentation describes how to use it.

    Regards,

    Andrew.
     
    Andrew Beckett, Dec 4, 2009
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.