• 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. various calSpecialFunction* questions

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 143
  • Views 12689
  • 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

various calSpecialFunction* questions

danmc91
danmc91 over 9 years ago

Hello,


I have a small handful of questions related to user defined waveform calculator functions.  I've written a number and only registered a few and was going to go back and register a bunch to make them easier to find.  Some of the questions I have are:

1) When I make a change to the form creation code, and reload my skill file and access the form again I find that the new code didn't get run.  I have to keep changing the name of the form in calCreateSpecialFunctionsForm() and calCreateSpecialFunction().  Makes debug slow.  Maybe there is a way to flush/delete/purge the old form to force recreating it?

2) Experimentally I found that ahiCreateBooleanButton and ahiCreateCyclicField exist but they do not seem to be documented anywhere.

3) My form pops up as a standalone window while forms for builtin functions appear in a window docked in the calculator.  Is there a flag maybe to calCreateSpecialFunctionsForm() which would make mine be docked too?

4) Is there a way to have the calSpecialFunctionInput() procedure work with functions that use @key?  For example, I'd like to be able to call myFn(?sig1 STACK ?sig2 STACK ?someOpt t ?someOtherOpt 3.2 ?andAnother "foo") or some such thing.  Is there maybe a more powerful/capable way of interfacing to the calculator than the simple example given in the manual?  If I had to I could go back an rewrite some of the underlying functions to use arguments by order instead of @key but I do prefer @key.  Also the (undocumented) ahiCreateBooleanButton seems to not interact well with calSpecialFunctionInput when the box is unchecked (passes a value of nil).

Thanks

-Dan

  • 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