• 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. Where are Custom Calculator Functions stored when loaded...

Stats

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

Where are Custom Calculator Functions stored when loaded by fx button

Volker T
Volker T over 1 year ago

Dear all,

does anyone know where the code of a Custom Calculator Function gets stored when I load a SKILL file as a custom calculator function using the "fx" button in Calculator?

The problem is, that one can mess up Cadence ADE and the Calculator so badly, that it crahes (or rather freezes up) permanently, i.e. even after re-starting Virtuoso and then invoking Calculator again.

It must be somehere in the user's project home, because when restoring the whole home directoty to the state it was before, Calculator can be started again without freezing up.

However, a manual inspection does not point me to what file may cause the trouble.

Edit 1:

There is a comment by Andrew Beckett in another post, that says: "When you use the "fx" button it actually adds it into your home directory's .cadence dir, not the working directory, so it should be visible across multiple workspaces for then same user. "

community.cadence.com/.../automatic-load-user-defined-calculator-functions

Edit 2:

Andrew is right. It's in the HOME not project home.

HOME/.cadence/dfII/viva

In there, there is a file cusomFunctions.ini, and in this file, I can see the path to the SKILL file.

However, I don't understand then why restoring the project home directory solved the problem of a freezing calculator... Maybe the code goes in some sort of Cache that needs to get cleaned.

---

Apparently, the freezing up can be achieved by using string escape characters in the tooltip of a parameter in the ocnmRegGUIBuilder section, like

tooltip "Edge type 1. Either \"rising\" or \"falling\""

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    The issue with embedded quotation marks is clearly a bug - I filed a change request (CCR) 2939660 to get that fixed. There's no caching - it's the reference to the file with the builder tooltip that contains the embedded quotation marks that's the problem.

    By the way, you can put HTML tags like this:

    tooltip "Edge type 1. Either <I>rising\</I> or <b>falling</b>"

    instead if you want text to stand out (of course using italics and bold inconsistently is not what you'd do here, but this is to illustrate the point).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    The issue with embedded quotation marks is clearly a bug - I filed a change request (CCR) 2939660 to get that fixed. There's no caching - it's the reference to the file with the builder tooltip that contains the embedded quotation marks that's the problem.

    By the way, you can put HTML tags like this:

    tooltip "Edge type 1. Either <I>rising\</I> or <b>falling</b>"

    instead if you want text to stand out (of course using italics and bold inconsistently is not what you'd do here, but this is to illustrate the point).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Volker T
    Volker T over 1 year ago in reply to Andrew Beckett

    Using HTML tags is a brilliant idea, I din't know this was allowed in these strings. Thank you very muich.

    • 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