• 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. Loading displayPrefs File

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 3542
  • 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

Loading displayPrefs File

sgcad
sgcad over 1 year ago

Hi

By default, Virtuoso loads the library manager display preference file (icons and colors of libraries) from

cds/.cadence/libManager/displayPrefs

Is there a way to load from a different path, preferably within the .cdsinit file? I'd like to store a displayPrefs in a common location, where everyone in the team then can load it from.

Thanks very much for your response!

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    These are found via the Cadence Search File (CSF) mechanism, sometimes referred to as "setup.loc". There are a set of locations (defined by a file called "setup.loc") where various files (such as the .cadence dir) are looked for. You can find out more about this by searching in "cda" or "cdnshelp" for "Cadence Search File" or "Cadence Setup Search File". 

    Anyway, the default setup.loc looks in a directory pointed to by the env var $CDS_SITE - so you could set CDS_SITE to some location, and then have .cadence/libManager/displayPrefs under there, and then it will be found by the library manager. Other locations would be possible too - such as $CDS_PROJECT or if you customize the setup.loc, other locations too.

    Note, setting this in the .cdsinit isn't possible (and doesn't really make sense) because the library manager (libManager) and library browser (libSelect) are separate executables launched by Virtuoso, and these don't read the .cdsinit. They will however honour the CSF mechanism.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sgcad
    sgcad over 1 year ago in reply to Andrew Beckett

    Thumbsup Perfect, thanks. Setting $CDS_SITE worked.

    Just in case I'd like to touch it in the future: Where is the file setup.loc located?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago in reply to sgcad

    The setup.loc is also found using the same mechanism (which might seem a little recursive!). If you do "cdswhich setup.loc" in a terminal window, it will tell you (a common pattern is to set $CDS_SITE to override the setup.loc and then you can put other locations in it too). The default location is generally in <ICinstDir>/share/cdssetup/setup.loc

    Andrew

    • 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