• 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. dbCreateParamInst didn't update graphically in layout

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 1662
  • 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

dbCreateParamInst didn't update graphically in layout

WTony
WTony over 6 years ago

Hi,

I'm trying to use  dbCreateParamInst to instantiate my Pcell with the correct parameters. It instantiate the Pcell but with the default Parameters. In the property of the Pcell, it show my set of value. I think It didn't trigger the callback in the Pcell.

My question is:

how can I trigger the callback when I instantiate the first time?

if I have to manually trigger the call back then, what is the difference between  dbCreateParamInst and dbCreateInst. Both need to be trigger manually

Thanks

Tony

  • Cancel
Parents
  • mbracht
    mbracht over 6 years ago

    Hi Tony,

    I assume you talk about CDF params aren't you? These are form callback that are triggered though the 'Create Instance' and the 'Edit properties' form only.There is a solution available how to trigger the callbacks programmatically in SKILL: Article 11018344: How to call CDF callbacks procedurally from SKILL

    To place an instance of a pCell you should always use dbCreateParamInst() or dbCreateParamInstByMasterName() so as you can define the pCell params. The function dbCreateInst is for fixed cell instances only.

    regards
    Max

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • WTony
    WTony over 6 years ago in reply to mbracht

    hi Max,

    I know I can do a callback after I instantiate the pCell.

    What is the purpose to define the pCell params if it didn't instantiate with the right value. So define all the parameter during the instantiation become useless.

    Tony

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mbracht
    mbracht over 6 years ago in reply to WTony

    Hi Tony,

    The pCell params instantiate the way it is implemented it in the pcDefinePcell() function. A pCell doesn't know anything about CDF parameters! What you see in the 'Create instance' form when you place  an instance of a cell that has CDF parameters is in fact the CDF parameters and not the pcell params - it just looks like it was pcell params if the CDF's have the same names like the CDF params. As soon as you overwrite a  CDF param's default value in the 'Create Instance form' that non default value goes as a user defined property to the instance where the pcell code picks it up to compute the submaster. This is actually  the trick why implementing pcell parameters as CDF's does work. But it works only when you place the instance graphically and not in terms of a SKILL command.

    So to come back to your question - the purpose to define pcell parameters during the instantiation is to pass those values to the SKILL code that computes he pcell. A CDF callback just intercepts these values before they get attached to the instance - but again that doesn't work in SKILL.

    So you must programmatically call the CDF callbacks - no way to get around this.

    Max

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • WTony
    WTony over 6 years ago in reply to mbracht

    Thanks Max

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • WTony
    WTony over 6 years ago in reply to mbracht

    Thanks Max

    • Cancel
    • Vote Up 0 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