• 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 32007
  • 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
  • RFStuff
    RFStuff over 12 years ago

     Dear Andew,

    Thanks a lot for your reply.

    I treied to achieve the following:-

    I had an instance in another celview ( it is opened in another window). I want to position a copy of same object exactly with the same orientation in another cellview ( where I am currently editing).

    The instance property is as below.

     \i obj~>??
    \t (db:234826472 cellView db:234210348 objType "inst"
    \t     prop nil bBox
    \t     ((3267.184 621.047)
    \t     (3296.135 744.882)
    \t     ) children
    \t     nil groupMembers nil isAnyInst t
    \t     isShape nil matchPoints nil net
    \t     nil parent nil physConns nil
    \t     pin nil purpose "cell" textDisplays
    \t     nil assocTextDisplays nil baseName "I4"
    \t     cellName "SCAN_CHAIN_8b" instHeader db:234827644 instTerms
    \t     nil libName "SCAN_CHAIN_MANAS" master db:280855596
    \t     name "I4" numInst 1 viewName
    \t     "layout" conns nil mag 1.0
    \t     orient "MYR90" status "firm" transform
    \t     ((3293.85 742.03) "MYR90" 1.0) xy
    \t     (3293.85 742.03)
    \t )

     

    My code is as below:-

    procedure( position( libName cellName orient refpoint )
        cvId = geGetEditCellView()
        viaId = dbOpenCellViewByType(libName  cellName "layout" "maskLayout" "a")
                printf(" cell %s\n" ,  viaId~>cellName)        
                          schinst=dbCreateInst(cvId viaId nil list(0 0) "R0" 1)                
                         

        dbMoveFig(schinst cvId dbConcatTransform(list(-xCoord(lowerLeft(schinst~>bBox)):-yCoord(lowerLeft(schinst~>bBox)) "R0" 1) list(refpoint orient 1)))

    )
    ;load("~/SKILL/object_position.il")

     

    In CIW I typed the following :

     

     position( libName cellName "MYR90" b )

    Where,

    b= (3267.184 621.047) .

     

    This above did NOT work.

    Kidn Regards,

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • RFStuff
    RFStuff over 12 years ago

     Dear Andew,

    Thanks a lot for your reply.

    I treied to achieve the following:-

    I had an instance in another celview ( it is opened in another window). I want to position a copy of same object exactly with the same orientation in another cellview ( where I am currently editing).

    The instance property is as below.

     \i obj~>??
    \t (db:234826472 cellView db:234210348 objType "inst"
    \t     prop nil bBox
    \t     ((3267.184 621.047)
    \t     (3296.135 744.882)
    \t     ) children
    \t     nil groupMembers nil isAnyInst t
    \t     isShape nil matchPoints nil net
    \t     nil parent nil physConns nil
    \t     pin nil purpose "cell" textDisplays
    \t     nil assocTextDisplays nil baseName "I4"
    \t     cellName "SCAN_CHAIN_8b" instHeader db:234827644 instTerms
    \t     nil libName "SCAN_CHAIN_MANAS" master db:280855596
    \t     name "I4" numInst 1 viewName
    \t     "layout" conns nil mag 1.0
    \t     orient "MYR90" status "firm" transform
    \t     ((3293.85 742.03) "MYR90" 1.0) xy
    \t     (3293.85 742.03)
    \t )

     

    My code is as below:-

    procedure( position( libName cellName orient refpoint )
        cvId = geGetEditCellView()
        viaId = dbOpenCellViewByType(libName  cellName "layout" "maskLayout" "a")
                printf(" cell %s\n" ,  viaId~>cellName)        
                          schinst=dbCreateInst(cvId viaId nil list(0 0) "R0" 1)                
                         

        dbMoveFig(schinst cvId dbConcatTransform(list(-xCoord(lowerLeft(schinst~>bBox)):-yCoord(lowerLeft(schinst~>bBox)) "R0" 1) list(refpoint orient 1)))

    )
    ;load("~/SKILL/object_position.il")

     

    In CIW I typed the following :

     

     position( libName cellName "MYR90" b )

    Where,

    b= (3267.184 621.047) .

     

    This above did NOT work.

    Kidn Regards,

     

     

    • 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