• 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 SKILL
  3. SKILL code to replace various IO Pads based on the center...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 144
  • Views 825
  • 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

SKILL code to replace various IO Pads based on the center coordinates of MKR;wb layer on each pad

AbhishekVST
AbhishekVST over 11 years ago

Hello,

 I have an IO pad ring in which various IO pads are placed from an older library. Now I have to replace all IO pads with a New IO library where all new IO pads have reduced dimensions.

I have to place the new IO pads in such a way that the centre of MKR;wb layer remains same as in the older pads because this centre has to be used for probing purposes. 

 I have a SKILL code using which I can place the instance at X-Y coordinates and rotation defined in a separate text file, but how can I get the center coordinates of MKR;wb layer present in each pad into a separate file?

Please help.

  • Cancel
  • tweeks
    tweeks over 11 years ago

    AbhishekVST said:
    I have a SKILL code using which I can place the instance at X-Y coordinates and rotation defined in a separate text file, but how can I get the center coordinates of MKR;wb layer present in each pad into a separate file?

    Bah, don't bother with files!

    I would use this strategy:

    Foreach IO in the ring,

    1. Find current bondpad center.

    2. Replace (leReplaceAnyInstMaster)

    3. Find new bondpad center.

    4. Move bondpad by dx,dy so the centers line up.

     

    You could also edit the origins of the new IO cells so that the bondpad centers fall at the same location as the old IOs when placed at the same XY. :)  Of course, not everyone has permission to do that in their company....

    AbhishekVST said:

    how can I get the center coordinates of MKR;wb layer present in each pad

    overlap = car(dbProduceOverlap(cv pad->bBox 32 '("MKR" "wb")))
    
    shape = car(last(artFlattenList(overlap)))
    
    bBox = dbTransformBBox(shape->bBox dbGetHierPathTransform(overlap))
    
    center = centerBox(bBox)
    

    This assumes there is only one MKR;wb shape. 

     

    You could also name the MKR;wb shape with rodNameShape(), and then use the rod functions to get its centerCenter automatically transformed up the hierarchy, which are simpler than the db interface, but you need to have edit access to the IO cell with the MKR;wb shape in it.  You also need to know the hierarchy of the IO so you can give the correct path to rodTransformPoint(), but that is not necessary using the db technique above: dbProduceOverlap() will find the shape wherever it is hiding in the IO hierarchy.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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