• 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 pins in layout

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 15412
  • 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 pins in layout

acom
acom over 7 years ago

Hello ,

We would like to find float pins in layout.For example, there is 2 pins which are both named as "testpin" in the layout.

But one is connected to metal , another is floating which means it doesn't connect to anything.

How can i find the pin which is not connected to anything else by using skill?

  • Cancel
Parents
  • Marben
    Marben over 7 years ago

    Hi acom,

    Check this out, originally created by Quek.

    Hope this help.

    Best regards,

    Marben

    procedure( CCSfindPins()
             let( (cv allPins count overlapShapes)
                cv=geGetWindowCellView()
                allPins=setof(x cv~>shapes x~>pin
                count=0
                foreach( pin allPins
                   overlapShapes=dbGetOverlaps(cv pin~>bBox pin~>lpp 0:32)
                   unless( length(overlapShapes)>1
                      geSelectFig(pin)
                      count++
                      printf("Isolated %L pin with net %s found at %L\n"
                           pin~>lpp pin~>net~>name centerBox(pin~>bBox))
                   ) ;unless
                ) ;foreach
                printf("%n isolated pin(s) selected in cell %s\n"
                                                         count cv~>cellName)

             ) ;let
          ) ;procedure
          hiSetBindKey("Layout" "F10" "CCSfindPins()")

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • LakshmanQual
    LakshmanQual over 7 years ago in reply to Marben

    Hi Marben, Its showing all the pins even though they are connected to nets.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • LakshmanQual
    LakshmanQual over 7 years ago in reply to Marben

    Hi Marben, Its showing all the pins even though they are connected to nets.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Marben
    Marben over 7 years ago in reply to LakshmanQual

    Hi LakshmanQual,

    Check this out.

    Hope this help.

    /*
    Purpose : Find floating pins in the layout by its connectivity.
    How to run : 1. load "/home/eda/SKILL_VXL/float_pins_check.il"
                           2. fc()
    Date created : June 2, 2018
    Author : Marben F. Orallo

    */

    ; load "/home/eda/SKILL_VXL/float_pins_check.il"
    procedure(fc()
     ; pin_name = "Ch1"
     cv = geGetEditCellView()
     pins = cv~>terminals~>pins
     pins_flatten = CCSflattenList(pins)
     pin_id = setof(x pins_flatten x~>name)
     incomplete_nets = lceGetIncompleteNets(cv)~>name
     foreach( pin_id pin_id
      netname = pin_id~>net~>name
      exist = member( netname incomplete_nets )
      if( exist != nil then
       ; printf("\n exist me = %L", exist)
       loc = centerBox(pin_id~>fig~>bBox)
       printf("\n Connection found, connection is not yet finish. %L %L" pin_id~>name loc)
     ) ;if

     ) ;for

     
     
     
     

    ) ;proc




    procedure(CCSflattenList(l)
      if(listp(l) mapcan('CCSflattenList l) list(l))
    )

    • 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