• 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. Is it possible to make pCell parameters have radio-button...

Stats

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

Is it possible to make pCell parameters have radio-button or check-box or drop-down menu?

richardyuan
richardyuan over 11 years ago

Sometimes pCell parameter is just a kind of choice. Is it possible for the user to choose the needed value from radio-button, check-box, or drop-down menu? Programmer use list as the parameters, and users just select from the list.

And, for all kind of parameters, how to do data validation? If the user type a wrong type data, can it raise a hint and terminate the program?

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    You can change the types that appear on the form by using CDF (Component Description Format). This allows cyclic, radio, boolean types. If you have the CDF parameter name corresponding to your pcell parameter name, then the CDF parameter will set the value on the instance. So you wouldn't define it as a cyclic or radio in the pcell itself, but do so in the CDF.

    As for validation of data - a couple of approaches. One is to write a CDF callback to validate the field. The other is to put checks inside the pcell code itself. I wouldn't make it error out, but you might want to draw a marker using dbCreateMarker so that there is some information flagged back to the user. If you make the code error out, you'll get a "PCell Eval Failed" type marker over the pcell, which is often not very helpful to the end user. With a marker, you can have a message (displayable with the annotation browser) to tell the user what to do.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 11 years ago

    Hi Richard,

    You may also like to view Solution Article 11130422 for discussion about the datatypes for the CDF and PCell parameters.

    Best regards,

    Lawrence.

    • 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