• 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. how to load skill script in the icrp without .cdsinit

Stats

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

how to load skill script in the icrp without .cdsinit

YiWang
YiWang over 6 years ago

Hi Everyone

I am end up with such a situation:

On one hand, I'd like to skip loading the .cdsinit into icrp in ADEXL, as the in-house wrapper significantly slow down the launching process.

This can be done by setting the environment variable by the command:

envSetVal("adexl.icrpStartup" "binaryName" 'string "virtuoso -nocdsinit")

But on the other hand, my expression in the adexl relies on a custom-defined function, which is used to be loaded via the my .cdsinit.custom.

I notice that the custom-defined function needs to be loaded by icrp, otherwise I will get "eval error".

Thus I cannot disable loading the .cdsinit for icrp.

Then I have such a paradox now.

I'd like to ask, is there way to load a particular skill script for icrp without loading .cdsinit.

Many thanks in advance.

Best Regards

Yi

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

    Hi Yi,

    If it's a custom calculator function, what I'd suggest is using the "fx" button in the calculator function panel (or in the ADE Explorer/Assembler Expression Builder) to register your function with the calculator. This then allows for a form to be created, but importantly it will get automatically loaded in the ICRP too without you needing to load the code from the .cdsinit.

    An alternative (worse) solution would be to change the cdsenv command above to be "virtuoso -nocdsinit -restore loadMyCode.il". 

    Another (good) solution would be to put code in the .cdsinit to omit the stuff that's not needed - using axlIsICRPProcess() to check whether you're in the ICRP or not.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Hi Yi,

    If it's a custom calculator function, what I'd suggest is using the "fx" button in the calculator function panel (or in the ADE Explorer/Assembler Expression Builder) to register your function with the calculator. This then allows for a form to be created, but importantly it will get automatically loaded in the ICRP too without you needing to load the code from the .cdsinit.

    An alternative (worse) solution would be to change the cdsenv command above to be "virtuoso -nocdsinit -restore loadMyCode.il". 

    Another (good) solution would be to put code in the .cdsinit to omit the stuff that's not needed - using axlIsICRPProcess() to check whether you're in the ICRP or not.

    Regards,

    Andrew.

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

    Hi Andrew

    Thanks for the quick reply.

    For my existing custom calculator functions, I have already have the code for the GUI and registration, as they were developed before the "Expression Builder".

    I will spend some time to separate the code of GUI, and use the "expression builder" to register the function without cdsinit.

    And I will forward your good solution to the our CAD team to improve the company cdsinit file.

    Best Regards

    Yi

    • 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