• 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. User defined Special Functions for calculator in algebraic...

Stats

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

User defined Special Functions for calculator in algebraic mode.

nirmal21
nirmal21 over 14 years ago

Hi,

I wonder if anyone is able to point me in the right direction.

I have written a special function for use with the calculator following the instructions in the user guide. I am able to return my expression to the calculator using the calSpecialFunctionInput in a callback after filling in a form, and this works perfectly well when using the calculator in RPN mode.

However when switching to the algebraic mode of the calculator, the form does not seem to return anything to the calculator. I then created a form specially for the algebraic mode and used the calCalcInput function to return back the expression. However this overrides the expression already present in the buffer of the calculator rather than appending to it. I would like to replicate the same behaviour as existing special functions (say the eyeDiagram function) when returning expression to the calculator in algebraic mode.

I am using ICFB 5.10.41 and the calculator in AWD mode. Any help or examples would be useful.

Thanks.

Regards

Nirmal

 

  • Cancel
  • nirmal21
    nirmal21 over 14 years ago

    For anyone interested,

    I solved this by using "calSpecialFunctionInput" in the callback and ensuring that the field in the algebraic forn that I used to load the first argument from was called "sfbuf". I wish that this was actually documented somewhere.

     I also found the other undocumented function "calGetCalcMode" to be useful when deciding which of the two forms to call. (alegebraic or rpn)

    Regards

    Nirmal

    • 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