• 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. CDF: Modifying the cyclic type cdf choices for a specific...

Stats

  • Replies 2
  • Subscribers 143
  • Views 1585
  • Members are here 0

CDF: Modifying the cyclic type cdf choices for a specific instance of the PCell changes the choices for all the instances

Naveen002
Naveen002 4 months ago

Hi Team,

I am creating a PCell, which has a cyclic type cdf. There's a requirement based on some other cdf parameter, I need to modify the cyclic cdf choice dynamically. I have written a call-back for that. But the problem is, when I change the choice in one instance, it gets updated in rest of the instances of the PCell.

I read a similar discussion in the forum (sorry for creating a duplicate), but the post discussed only on the work around rather than why it actually happens.

Usually, when the choices can be changed dynamically, the change must be applied only to a particular instance (for which the cdf is changed) and not to other instances of the same PCell.

If we take the case of changing the cdf values, it's being changed only to the particular instance (not all). Likewise, it should happen with cyclic cdf choices, but it didn't. Could any one please let me know why it's not happening?

Thanks,

Naveen

  • Cancel
  • Sign in to reply
  • Andrew Beckett
    Andrew Beckett 4 months ago

    Naveen,

    When you update the CDF, you're actually updating the effective cell CDF. This is shared amongst all instances using that cell - and as you perform edit properties or create instance it updates the effective cell CDF with the current instance's values. If you are updating the choices only in the callback, then that will be retained too.

    The general way to solve this is to also update the choices in the formInitProc for the CDF. That way as each instance is edited, the choices are updated for the settings on that instance (you'd need to also do it in the callbacks so that the choices change as you edit the values on the form). Doing this in the formInitProc means that the choices are updated per instance in the same way that the values are updated in the cell CDF per instance too (that's done by the system).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Naveen002
    Naveen002 4 months ago in reply to Andrew Beckett

    Andrew,

    Thanks a lot for your time in responding.

    Got the point from what you said. It worked with a call back function in formInitProc.

    - Naveen

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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