• 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. How to use skill to change PCell parameter like using Edit...

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 144
  • Views 18988
  • 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

How to use skill to change PCell parameter like using Edit Instance Properties to change parameter ?

Charley Chen
Charley Chen over 14 years ago

Hi All,

When using Pcell , press  q to use "Edit Instance Properties" to change parameter (e.g.  length) ,

in cdf  , it has callback ,  everything is right according to callback function . Different length has it different result in Pcell.

Now I have many Pcells needs to changed  parameter - length (from 2um to 4um) by  "Edit Instance Properties" ,

Is there any approach to do that ? (Not manual use "Edit Instance Properties" to change each Pcell's parameter ?

After changing parameter - length , its result should same as using "Edit Instance Properties" .

 

Thank you.

Charley

  • Cancel
Parents
  • Austin CAD Guy
    Austin CAD Guy over 14 years ago

    CDF callbacks are only executed during the interactive editing of the parameters through the Edit Property form or the Edit Property Assistant (IC6.1). If you are changing them programmatically, you have to execute the callback. Here is a way to do it:

    ;; Get the instance
    inst = car(selectedSet())
    ;; Instance CDF
    cdfgData = cdfGetInstCDF(inst)
    inst->length = newLength
    param = cdfFindParamByName( cdfgData "length")
    when(param->callback
      evalstring(param->callback)
    )

    Ted (this line is not part of the code)

     

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • Austin CAD Guy
    Austin CAD Guy over 14 years ago

    CDF callbacks are only executed during the interactive editing of the parameters through the Edit Property form or the Edit Property Assistant (IC6.1). If you are changing them programmatically, you have to execute the callback. Here is a way to do it:

    ;; Get the instance
    inst = car(selectedSet())
    ;; Instance CDF
    cdfgData = cdfGetInstCDF(inst)
    inst->length = newLength
    param = cdfFindParamByName( cdfgData "length")
    when(param->callback
      evalstring(param->callback)
    )

    Ted (this line is not part of the code)

     

    • 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