• 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 32016
  • 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

    I suspect it didn't work for you because your shapes are not symmetrical, and so when it flipped around the centre, whichever point you are measuring to moved relative to the centre of the objects being flipped around.

    I took the shapes in the picture below, and did this:

    existingObjs=geGetSelSet()
    geDeselectAll()
    shiftTransform=list(60:0 "R0" 1)
    destCv=geGetEditCellView()
    foreach(obj existingObjs
      newObj=dbCopyFig(obj destCv shiftTransform)
      when(newObj geSelectFig(newObj))
    )
    CCSflip()

    And I get a nice symmetrical layout - but what the "pitch" means is rather dubious.

    Essentially I think you want to compute some point that  you want to be the symmetry line, and then use that as the reference point - either using the ?relativeTo 'refPoint approach, or a similar computation in your own code. If you look in CCSflip, you'll see it computes the overall transform relative to some "origin" - i.e the point about which you want to flip or rotate - by doing:

             ;-----------------------------------------------------------
             ; Combine the transform to do a shift to the origin,
             ; rotate/flip, and then shift back again
             ;-----------------------------------------------------------
             (setq transform
               (dbConcatTransform
                (dbConcatTransform
                 (list (mapcar 'minus origin) "R0")
                 (list 0:0 orient)
                 )
                (list origin "R0")
                ))

    Regards,

    Andrew.

    • halflayout.png
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    I suspect it didn't work for you because your shapes are not symmetrical, and so when it flipped around the centre, whichever point you are measuring to moved relative to the centre of the objects being flipped around.

    I took the shapes in the picture below, and did this:

    existingObjs=geGetSelSet()
    geDeselectAll()
    shiftTransform=list(60:0 "R0" 1)
    destCv=geGetEditCellView()
    foreach(obj existingObjs
      newObj=dbCopyFig(obj destCv shiftTransform)
      when(newObj geSelectFig(newObj))
    )
    CCSflip()

    And I get a nice symmetrical layout - but what the "pitch" means is rather dubious.

    Essentially I think you want to compute some point that  you want to be the symmetry line, and then use that as the reference point - either using the ?relativeTo 'refPoint approach, or a similar computation in your own code. If you look in CCSflip, you'll see it computes the overall transform relative to some "origin" - i.e the point about which you want to flip or rotate - by doing:

             ;-----------------------------------------------------------
             ; Combine the transform to do a shift to the origin,
             ; rotate/flip, and then shift back again
             ;-----------------------------------------------------------
             (setq transform
               (dbConcatTransform
                (dbConcatTransform
                 (list (mapcar 'minus origin) "R0")
                 (list 0:0 orient)
                 )
                (list origin "R0")
                ))

    Regards,

    Andrew.

    • halflayout.png
    • View
    • Hide
    • 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