• 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 SKILL
  3. Automatically loading some libraries into my cds.lib

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 11220
  • 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

Automatically loading some libraries into my cds.lib

mak22
mak22 over 3 years ago

Hi,

I am sure there is a file where we can do this.

When I open my virtuoso, we can obviously see the project libaries, but I want to always open a few more libraries automatically that will help my productivity.

Rather than editing my cds.lib each time, is there a file where I can append to the central libraries?

flow of library loading:

1) load all project central libraries

2) load all user specified libraries

3) create final cds.lib that combines #1 and #2.

Thank you

  • Cancel
  • AurelBuche
    AurelBuche over 3 years ago

    Hi,

    You should have a look at the following support articles:

    1. Using SKILL, how to get paths of other cds.lib files used in your cds.lib by INCLUDE/SOFTINCLUDE statement? Difference between INCLUDE/SOFTINCLUDE.

    2. How to access the libraries defined in a different cds.lib file and how to get the path of the current cds.lib file in use?

    Based on this I believe you could achieve this in your .cdsinit or whatever SKILL file is loaded at Virtuoso startup in your setup
    You should create two cds.lib, a project one and a user one and include them in a custom one which Virtuoso will load

    Here is an example snippet of what you could do (note that I haven't tested it):

    (letseq ((path (simplifyFilename "./custom.cds.lib"))
             (port (outfile path))
             )
      (fprintf port "INCLUDE %s\nINCLUDE %S\n" <path_to_project_cds.lib> <path_to_user_cds.lib>)
      (close port)
      (ddSetForcedLib path)
      (ddUpdateLibList)
      )

    Cheers,

    Aurélien

    • 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