• 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. polygon in a pcell

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 142
  • Views 14735
  • 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

polygon in a pcell

archive
archive over 17 years ago

Hi,

I need a pcell with a parameterized polygon in it.
Are there any pcell - safe functions that can be used to create an orthogonal polygon?

Thank you!

mims


Originally posted in cdnusers.org by mims
  • Cancel
  • archive
    archive over 17 years ago

    Not sure I really understand. You can use dbCreatePolygon in a pcell with no trouble - and the points can be derived from whatever parameters you define for the pcell.

    Regards,

    Andrew.


    Originally posted in cdnusers.org by adbeckett
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    I am using rodCreatePolygon which can produce a non-orthogonal polygon, just as dbCreatePolygon.

    The pcell parameter that I use to define the polygon is _coords. I add an additional point to it in case that the shape would become non-orthogonal. The drawn polygon is orthogonal. Afterwords I define stretch handles on it (with a user function which alters the corresponding x or y coordinates of the two points affected by the stretch). In the case of an additional point added the results of the stretch were unexpected. In the user stretch function I printed the properties of the instance and the value of the _coords was the original value that is supllied to the pcell before the check for orthogonality.

    I don't know if this makes any sense. On draw the pcell uses the correct value of _coords and on stretch it uses the original unmodified value supplied by the user during the pcell instantiation.

    I was wondering if I am missing an obvious solution.

    Regards,

    mims


    Originally posted in cdnusers.org by mims
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    Perhaps you could post the code? That would make it much easier to figure out what's wrong. From what you've described, there are lots of opportunities to make a mistake...

    Regards,

    Andrew.


    Originally posted in cdnusers.org by adbeckett
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 17 years ago

    Here is the code... It did get messy and more complex that it is needed.. The other way that I was thinking of to implement stretching was to create the cell dynamically, but this seemed simpler.

    Regards,

    mims


    Originally posted in cdnusers.org by mims
    polygon.il
    • 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