• 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. Whether virtuoso only loads the first .cdsinit file it ...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 8431
  • 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

Whether virtuoso only loads the first .cdsinit file it finds

lightyear
lightyear over 2 years ago

I read the post   https://community.cadence.com/cadence_technology_forums/f/custom-ic-skill/37048/when-is-cdsinit-local-loaded

It tells me that the .cdsinit load order is:

  1. <ICinstDir>/tools/dfII/local/.cdsinit
  2. ./.cdsinit
  3. ~/.cdsinit

and

  " whichever file is found first in the search sequence is the only one loaded (by virtuoso). It does not load any later files in the sequence (unless that has been coded into the first .cdsinit file it loads)."

Is there a way to load later files ?

for example, our team put a public .cdsinit in <ICinstDir>/tools/dfII/local/.cdsinit,

everyone can load this file without any configurations

also allows users to have their own .cdsinit file in the work directory or $HOME

and while launch the virtuoso, it will load  <ICinstDir>/tools/dfII/local/.cdsinit  at first, then load .cdsinit in the work directory.

Thanks

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    The central .cdsinit (in tools/dfII/local/.cdsinit - or found via the setup.loc/Cadence Search File mechanism if that's been enabled) would have code something like:

    when(isFile("./.cdsinit") && isReadable("./.cdsinit")
      loadi("./.cdsinit")
    )

    This could also look for similar files elsewhere (e.g. in your home directory), as you see fit.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • lightyear
    lightyear over 2 years ago in reply to Andrew Beckett

    Thank you, Andrew, good idea, this does implement the method of loading cdsinit documents sequentially.

    • 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