• 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. Hide text fields I don't need in parameters section

Stats

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

Hide text fields I don't need in parameters section

Jorge Rdz
Jorge Rdz over 7 years ago

Good day to everyone,

I'm new in this funny world of Skill and I have a problem at the moment of display/hide parameters of a Pcell.

I have a power grid Pcell that has 7 metals (from M4 to M10) and I'm able to select differents parameters like power grid domains (VDD, VSS, VDDREG), width, pitch etc.

To select the top and bottom metal, I have two cyclic, so I can have a power grid connected from M4 to M10, and with text field to write the width, pitch and power domain of every "finger" in each metal. My problem is that I can't hide the text field that I don't need. For example, in case my power grid is from M8 to M10, I just need to display the text fields of M8, M9 and M10 and nothing else. 

Do I need a callback to make this? 

Can I use a list of my main procedure in the CDF file? How Can I use it?

Thanks for the help and your time, 

Jorge

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Hi Jorge,

    You probably need to specify a display callback in the CDF for the parameters you wish to display some of the time and not others. This could be something like:

    cdfgData->topMetal->value=="M10"

    This would be in the display callback for the M10 field, and dependent upon whatever the topMetal parameter is called.

    I don't know what you mean by "Can I use a list of my main procedure in the CDF file?"

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Jorge Rdz
    Jorge Rdz over 7 years ago in reply to Andrew Beckett

    Hi Andrew, 

    Thank you for answering.

    Sorry with the last part. I will explain myself better.

    I have 3 files:

    • One where I have the main program, in which I make the calculations of width, pitch, number of vias, etc.
    • The second is the CDF file where I have defined the objects I will need.
    • The third is where I put the default value of my parameters.

    So, in my first file, I have a condition that check the topMetal and BotMetal, select the metals that are between those two "limits" and then it include them in a list, these are the metals that I will use. My plan is to use that list in the CDF file to compare if the text field of each metal is in the list and then display it or not.

    In fact I can compare only with one limit, the top or the bottom metal. 

    Can you give me an example of how to trigger the callback? 

    Thanks,

    Jorge

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