• 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. Extract Choices of Dynamic Property

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 13209
  • 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

Extract Choices of Dynamic Property

KGh94
KGh94 over 7 years ago

Hello,

I have an instance in a schematic that has two parameters: p_1 and p_2. Both p_1 and p_2 are set using a drop-down menu. I extract the choices using the CDF ID of the instance:

cdf_Id = cdfGetInstCDF(inst_Id)
cdf_Id~>p_1~>choices                   => ("1" "2" "3" "4" "5")
cdf_Id~>p_2~>choices                   => ("10" "20" "30" "40" "50")

Problem: In the schematic, p_2 changes every time p_1 is changed. This change is not reflected in the CDF of the instance.
Example: For p_1 = "1", p_2 is ("30" "40" "50"), for p_1 = "2", p_2 is ("10" "20" "30"), etc.

Is there a way to get the updated change using SKILL? Any hints would be appreciated.

Best regards,
Karam

  • Cancel
Parents
  • mbracht
    mbracht over 7 years ago

    Hi Karam,

    I take it that p_2 is a derived CDF parameter that is implemented in terms of a CDF callback correct?

    The flipside of the coin of these CDF callbacks is that they are form callbacks meaning they are only triggered through the "Edit Properties" and the "Create Instance" form (when you place the instance) but not if you change p_1 in terms of a SKILL expression. So my first guess that you do not change p_2 in terms of the "Edit Properties" form do you?

    regards
    Max

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • KGh94
    KGh94 over 7 years ago in reply to mbracht

    Hello Max,

    Thank you for your reply. Turns out p_2 was a master parameter and the information I needed was in other parameters.

    Thanks Max!

    Best regards,
    Karam

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • KGh94
    KGh94 over 7 years ago in reply to mbracht

    Hello Max,

    Thank you for your reply. Turns out p_2 was a master parameter and the information I needed was in other parameters.

    Thanks Max!

    Best regards,
    Karam

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Children
No Data

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