• 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 program to fix off grid pin in symbol

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 14178
  • 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 program to fix off grid pin in symbol

Nhumai
Nhumai over 6 years ago

HI All,

I have a symbol below. The top pin vpb on the left is off grid. I would like to to move it to the left . I run the program "CCSComposerGridSnap.il" down load from cadence but "CCSComposerGridSnap.il" only move a wire to the right and not moving the pin of the symbol. Do you know if there is any enhanced scripts of "CCSComposerGridSnap.il" to meet my need ? 

thanks 

Nhumai 

  • Cancel
  • drdanmc
    drdanmc over 6 years ago

    You could do something like the following (you'll need to fill in some of the details)

    ;; open the symbol cellView, cv = the cellView ID

    ;; iterate over all shapes which are pins

    foreach(fig setof(X cv~>shapes X~>pin)

      cond(

         ( member(fig~>objType list("rect" "ellipse))

            xy = centerBox(fig~>bBox)

        )

        ( ;; code to deal with other shapes

        )

       (t

         error("Unable to handle %L" fig~>objType)

      )

      ) ; ** cond **

      ;; now check that xCoord(xy) and yCoord(xy) are both on-grid and if not, put them on-grid

      ;; and update the figure location.  For a "rect", just find the bounding box width/height and

      ;; compute a new bounding box with the same width/height whose center is on-grid and then

      fig~>bBox = new_box

      ;; for other shapes you may need some other bits of code.

    )

      

    • 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