• 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. Is there any way to prevent my definition for model library...

Stats

  • Replies 2
  • Subscribers 125
  • Views 347
  • Members are here 0

Is there any way to prevent my definition for model library from being overwritten by libInit.il of PDK while virtuoso starts up correctly?

zuiying
zuiying 11 days ago

Hello! I want to change the defaut model library in ADE L of spectre. Then, I used load("home/IC/my.il").  The my.il is wriiten by me and imports the needed model library. load("home/IC/my.il") indeed works.

Then, I added load("home/IC/my.il") to the end of .cdsinit so that the wanted model library can be imported at the startup of virtuoso. The my.il was loaded successfully at the startup of virtuoso.

My project is based on tsmc PDK. When I open my schematic which uses devices from tsmc, the libInit.il from tsmc pdk will be load automatically. Then, the model library defined in libInit.il will overwrite my definition in my.il.

I have tried ddGetObj() like this:

--------------------------------------------------------

ddGetObj("TSMC28nm")

 load("home/IC/my.il") 

--------------------------------------------------------

These codes are added at the end of .cdsinit.The process library is forced to initialize. The libInit.il from tsmc pdk loaded before my.il successfully. However, the file, tool, and option disappears in CIW, which may mean virtuoso starts up incorrectly.

Is there any way to prevent my.il from being overwritten by libInit.il while virtuoso starts up correctly?

Thank you!

  • Cancel
  • Sign in to reply
Parents
  • Andrew Beckett
    Andrew Beckett 11 days ago

    Call ciwMenuInit() before the ddGetObj(...) - this should cause the CIW menus to initialise before the libInit.il gets invoked. That is the easiest solution to ensure that your model path customization doesn't get overwritten by the PDK.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett 11 days ago

    Call ciwMenuInit() before the ddGetObj(...) - this should cause the CIW menus to initialise before the libInit.il gets invoked. That is the easiest solution to ensure that your model path customization doesn't get overwritten by the PDK.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • zuiying
    zuiying 11 days ago in reply to Andrew Beckett

    It works! Really thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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