• 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. How to find floating metals/vias using skill code

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 4705
  • 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

How to find floating metals/vias using skill code

prasadtammana
prasadtammana over 3 years ago

Hi, 

I'm writing a script to draw a metal ring around my block, from METAL1 to METAL6. And then I'm dropping via's using auto via script. Depending on the existing metals in the layout, my script chops the metal ring to not create shorts with the existing metals. The final metal ring sometimes will have floating metals. Is it possible to find floating metals and via's that are not connected to M1 using script without writing any rule files? 

Thanks,

Prasad

  • Cancel
  • AurelBuche
    AurelBuche over 3 years ago

    You might want to have a look at this support article:

    https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000000nZh8EAE&pageName=ArticleContent

    SKILL to find and select floating, isolated wires or shapes and vias in VXL environment (which does not have net attribute) and then manually decide to delete it or not

    /************************************************************************* 
    * DISCLAIMER: The following code is provided for Cadence customers       * 
    * to use at their own risk. The code may require modification to         * 
    * satisfy the requirements of any user. The code and any modifications   * 
    * to the code may not be compatible with current or future versions of   * 
    * Cadence products. THE CODE IS PROVIDED "AS IS" AND WITH NO WARRANTIES, * 
    * INCLUDING WITHOUT LIMITATION ANY EXPRESS WARRANTIES OR IMPLIED         * 
    * WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE.         * 
    *************************************************************************/

    procedure(CCSselDanglingShp(@optional (cv geGetEditCellView()))
    let((mlist vlist)
    mlist=setof(sh cv~>shapes !sh~>net && sh~>purpose != "label")
    vlist = setof(via cv~>vias !via~>net)

    if(mlist
            then
            printf("Dangling wires found at %L\n" mlist~>bBox )
            geSelectFigs(mlist)
            else
            printf("No dangling wires found \n" )
            )
    if(vlist
            then
            printf("Dangling vias found at %L\n" vlist~>bBox)
            geSelectFigs(vlist)
            else
            printf("No dangling via found \n")
            )
    ))

    hiSetBindKey("Layout" "<Key>F10" "CCSselDanglingShp()")

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • prasadtammana
    prasadtammana over 3 years ago in reply to AurelBuche

    Thank you so much, it helped me to fix my problem. 

    • 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