• 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 Design
  3. Positioning the instances in Layout editor by using SKI...

Stats

  • Locked Locked
  • Replies 34
  • Subscribers 126
  • Views 31991
  • 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

Positioning the instances in Layout editor by using SKILL

RFStuff
RFStuff over 12 years ago

 Dear All,

I am trying to place copies of an instance/object ( say a simple via ) with 'x' distance separation in X-direction.

Is there any in-built feature already available in IC5141 ?

Otherwise, is there any solution ( SKILL script) already posted in the forum ? I searched but couldn't find so.

The code needs three functions:

1) Find the cordianate of the OBJECT/INSTANCE ( this I have already found in the Forum)

2) Copy the object. For this what is the SKILL function ?

3) Paste the desired distance separation ( For palcing wht is the simple SKILL function)

Couls anybody please tell regarding this.

Kind Regards,

 

 

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    To copy to an absolute coordinate, you need to produce a concatenated transformation which moves back to the origin, then to the location you want. So for example, if you want to copy the lowerLeft of your object to a location xy, you'd do:

    dbCopyFig(instId cvId dbConcatTransform(list(-xCoord(lowerLeft(instId~>bBox)):-yCoord(lowerLeft(instId~>bBox)) "R0" 1) list(xy "R0" 1)))

    I don't really understand your second question, since a relative movement doesn't matter which coordinate it is with respect to - all coordinates in the bBox will move by the same relative amount.  Maybe you're talking about an absolute move - in which case something like my suggestion above would make sense - you just compute the first transformation using a different coordinate on the shape (such as the upperRight rather than the lowerLeft).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    To copy to an absolute coordinate, you need to produce a concatenated transformation which moves back to the origin, then to the location you want. So for example, if you want to copy the lowerLeft of your object to a location xy, you'd do:

    dbCopyFig(instId cvId dbConcatTransform(list(-xCoord(lowerLeft(instId~>bBox)):-yCoord(lowerLeft(instId~>bBox)) "R0" 1) list(xy "R0" 1)))

    I don't really understand your second question, since a relative movement doesn't matter which coordinate it is with respect to - all coordinates in the bBox will move by the same relative amount.  Maybe you're talking about an absolute move - in which case something like my suggestion above would make sense - you just compute the first transformation using a different coordinate on the shape (such as the upperRight rather than the lowerLeft).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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