which lib.defs is used, search order

M

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 wrote, on 11/16/09 14:00:
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
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.
 
On Nov 23, 6:39 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Marcel Preda wrote, on 11/16/09 14:00:



Hi all,

How can I find from skill whichlib.defsfile 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 samelib.defsfile.

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

Hi Marcel,

Thelib.defsis 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.defsonly 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
bylib.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.
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 wrote, on 12/04/09 09:20:
On Nov 23, 6:39 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm
wrote:
Marcel Preda wrote, on 11/16/09 14:00:



Hi all,
How can I find from skill whichlib.defsfile 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 samelib.defsfile.
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
Hi Marcel,

Thelib.defsis 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.defsonly 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
bylib.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.

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
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_DocumentViewer/pubs/cicMigGuide/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
Senior Solution Architect - Cadence Design Systems Ltd (UK)
 

Welcome to EDABoard.com

Sponsor

Back
Top