• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Library Path display issue

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 125
  • Views 16728
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Library Path display issue

wenckey
wenckey over 6 years ago

I met a problem when I define the library in cds.lib file.

If I define like below:

DEFINE    LIBA    PATHA

SOFTDEFINE    LIBA   PATHB

WHen the  PATHA and  PATHB all exist, in Library Path, it will show the PATHB without any problem.

If the  PATHA is exist and the PATHB is not exist, the Library Path will show the PATHB in red, but it will point the LIBA to the  PATHA. Then if I show the property of LIBA, it will show the PATHA.

My question is how can I make the library path to show the correct path if the SOFTDEFINE path is not exist.

Thanks

Kevin

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Kevin,

    This is a very odd setup. Why would you define the path to be two different locations? It makes no sense.

    The library path editor always shows in red any paths that don't exist. The path editor is a tool to help you construct the cds.lib - I wouldn't have thought it mattered that much what colour they are shown in.

    More importantly, Virtuoso (and other tools) will complain if both paths exist:

    *WARNING* LIB LIBA from File /export/home/myuser/support/forum/cds.lib Line 10 redefines
    LIB LIBA from the same file (defined earlier.)

    Normally you'd use UNDEFINE to undefine an earlier definition. Either way, it's really unclear what your objective is here.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • wenckey
    wenckey over 6 years ago in reply to Andrew Beckett

    Thanks for your reply.

    I will figure out why we set like this.

    Can you tell me what's the difference between DEFINE and SOFTDEFINE?

    Thanks

    Kevin

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to wenckey

    Use the Help menu?

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • wenckey
    wenckey over 6 years ago in reply to Andrew Beckett

    Hi, Andrew:

    Is there a way to set two path for a lib (since we don't know which path is valid or maybe the two paths are all valid), and cadence would choose the valid one (if all valid, choose the first setting or last setting)?

    Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to wenckey

    You could use SOFTDEFINE for both. If both exist, it will give a warning and pick the last one defined. If only one exists, it will silently pick just that one. If neither exist, it will silently not show that library in the available libraries.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to wenckey

    You could use SOFTDEFINE for both. If both exist, it will give a warning and pick the last one defined. If only one exists, it will silently pick just that one. If neither exist, it will silently not show that library in the available libraries.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Children
  • wenckey
    wenckey over 6 years ago in reply to Andrew Beckett

    Hi, Andrew:

    Thanks for your suggestion.

    I tried both with SOFTDEFINE.

    SOFTDEFINE LIBA PATHA

    SOFTDEFINE LIBA PATHB

    PATHB is not exist, the "Library Path" will show the PATHB in red (which means incorrect) but actually it will use the PATHA

    Can we use "if...then..." in cds.lib setting?

    Thanks

    Kevin 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to wenckey
    wenckey said:
    Can we use "if...then..." in cds.lib setting?

    No.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information