• 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. Select pins and pin label by SKILL.

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 145
  • Views 19912
  • 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

Select pins and pin label by SKILL.

marbs
marbs over 15 years ago

Hello All,

How can I select all pins and pin label in the layout

having no connectivity  by using SKILL  ?.   Because i find it

difficult to select all the pins in my layout that have no connectivity,

if I select it oned by one.  

Any help are appreciated.

Thanks in advance,

 Marbs 

 

 

 

 

 

  • Cancel
Parents
  • Quek
    Quek over 15 years ago

    Hi Marbs

    You can find the pins using the skillscript below. Save it as "findpins.il" in your working directory and load it in ciw using:

    load "findpins.il"

    Press F10 in a layout and note the output messages in ciw.

    In general, you can start coding such a script using the following steps:
    a. Identify the target. In this case, it is a pin
    b. Identify unique properties on the target through ~> operator:
    - Select the target in layout/schematic
    - Enter a=car(geGetSelSet()) in ciw to get a handle to the target
    - Use a~>? to know more about the target
    c. After you have some idea on its properties, do some looping to get it
    d. Make some guesses on the type of skill functions needed. E.g. we need to select the pins so we will need some selection functions
    e. Refer to the appropriate manuals for the skill functions. E.g. for layout, look in sklayoutref.pdf
    f. $CDSHOME/doc/skdfref/skdfref.pdf and $CDSHOME/doc/sklayoutref/sklayoutref.pdf are very useful manuals

    Best regards
    Quek

    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()")

    findpins.il
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Quek
    Quek over 15 years ago

    Hi Marbs

    You can find the pins using the skillscript below. Save it as "findpins.il" in your working directory and load it in ciw using:

    load "findpins.il"

    Press F10 in a layout and note the output messages in ciw.

    In general, you can start coding such a script using the following steps:
    a. Identify the target. In this case, it is a pin
    b. Identify unique properties on the target through ~> operator:
    - Select the target in layout/schematic
    - Enter a=car(geGetSelSet()) in ciw to get a handle to the target
    - Use a~>? to know more about the target
    c. After you have some idea on its properties, do some looping to get it
    d. Make some guesses on the type of skill functions needed. E.g. we need to select the pins so we will need some selection functions
    e. Refer to the appropriate manuals for the skill functions. E.g. for layout, look in sklayoutref.pdf
    f. $CDSHOME/doc/skdfref/skdfref.pdf and $CDSHOME/doc/sklayoutref/sklayoutref.pdf are very useful manuals

    Best regards
    Quek

    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()")

    findpins.il
    • 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