Home > Community > Forums > Custom IC SKILL > polygon in a pcell

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 polygon in a pcell 

Last post Tue, Nov 6 2007 7:19 AM by archive. 4 replies.
Started by archive 06 Nov 2007 07:19 AM. Topic has 4 replies and 1777 views
Page 1 of 1 (5 items)
Sort Posts:
  • Tue, Nov 6 2007 7:19 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    polygon in a pcell Reply

    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
    • Post Points: 0
  • Tue, Nov 6 2007 8:08 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: polygon in a pcell Reply

    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
    • Post Points: 0
  • Wed, Nov 7 2007 3:52 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: polygon in a pcell Reply

    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
    • Post Points: 0
  • Wed, Nov 7 2007 5:19 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: polygon in a pcell Reply

    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
    • Post Points: 0
  • Wed, Nov 7 2007 8:37 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: polygon in a pcell Reply

    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
    • Post Points: 0
Page 1 of 1 (5 items)
Sort Posts:
Started by archive at 06 Nov 2007 07:19 AM. Topic has 4 replies.