Home > Community > Forums > Custom IC SKILL > How to modify the x1,y1 and x2,y2 coordinates of a rectangle in cadence layout using skill script:

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: *

 How to modify the x1,y1 and x2,y2 coordinates of a rectangle in cadence layout using skill script: 

Last post Thu, Mar 31 2011 12:48 AM by Slayer. 1 replies.
Started by soman 30 Mar 2011 04:15 AM. Topic has 1 replies and 957 views
Page 1 of 1 (2 items)
Sort Posts:
  • Wed, Mar 30 2011 4:15 AM

    • soman
    • Not Ranked
    • Joined on Wed, Mar 30 2011
    • Posts 1
    • Points 20
    How to modify the x1,y1 and x2,y2 coordinates of a rectangle in cadence layout using skill script: Reply

    How to modify the x1,y1 and x2,y2 coordinates of a  rectangle in cadence layout using skill script:
    Say, in the layout below, I need to push upward the N well boundary and the bottom of P active and top of N active, by a certain small value.

    I need all other polygons and layers intact in the layout.

            

                                 PR boundary
              ---------------------------
                 |   ______________   |

                 |  |                        |  |
                 |  |    P active       |  |  Nwell
                 |  |                        |  |
                 |  |______________|  |
                 |                              |
                 |--------------------------|  Nwell Boundary
                 |   ______________   |
                 |  |                        |  |
                 |  |                        |  |
                 |  |   N active        |  |
                 |  |______________|  |
                 |                              |
                  ---------------------------

     

    • Post Points: 20
  • Thu, Mar 31 2011 12:48 AM

    • Slayer
    • Top 500 Contributor
    • Joined on Thu, Jan 13 2011
    • Posts 29
    • Points 310
    Re: How to modify the x1,y1 and x2,y2 coordinates of a rectangle in cadence layout using skill script: Reply

     If I correctly understand you question, you need simple modify the bbox of shap. For example, take all shapes which were created in active drawing layer and change bbox:

    foreach(shape setof(i geGetEditCellView()->shapes car(i->lpp)=="OD") shape~>bBox = list(car(shape~>bBox) caadr(shape~>bBox)+5:cadadr(shape~>bBox)+5))

     And as result for all shapes upperRight coordinate will be increased on 5udr

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by soman at 30 Mar 2011 04:15 AM. Topic has 1 replies.