• 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 19884
  • 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
  • Quek
    Quek over 15 years ago

     Hi Marbs

    A layout pin must have a terminal and net name. So it will definitely have connectivity info in its properties form. Just to clarify the question, do you mean that you would like to select isolated layout pins that are not touching any other devices/interconnect?

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • marbs
    marbs over 15 years ago

    Yes sir, thats what I mean,

    I want to select all isolated pins in the layout that are not touching any other devices,

    by using skill.

    Please help.

     

    Regards,

    Marbs

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • 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
  • marbs
    marbs over 15 years ago

    Hi Sir,

    Thank you very much for the skill code and the clear

    skill coding instruction. 

     

    Regards, 

    Marbs

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ashkumar
    ashkumar over 15 years ago

    hi,

    i have a script which modify a cell and save it as a different name in same library.

    But its unable to change the label  (text).

    Please help me with this.

     

    Thanks & regards

    ashutosh

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    ashutosh,

    Try reading your post, with the assumption that the reader has no knowledge (other than what you typed) of what your problem is. In other words, they do not have access to the knowledge of the problem that resides in your head.

    Do you think they'd be able to answer it?

    Also, it probably would have made more sense for this to be a new topic, unless it is very closely related to the original question (it's unclear since you gave no details whatsoever).

    Ask a vague question, and you'll either get a vague answer (or more likely no answer at all).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ashkumar
    ashkumar over 15 years ago

    Hi Andrew,

    Thanks for the reply.

    I will try to elaborate it. I am working on some standard cell library. Some cells has to be modified and saved with different cell name in same library. My skill script is copying the cell and after modification its saving it with different name as required.

    for eg initial cell : muxprx1   new cell: muxprstx1

    But in the modified cell(muxprstx1)  label is same as muxprx1.

    so can you suggest me how to modify the label text using skill.

     

    Regards

    ashutosh

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    Assuming you have two variables, oldCellName and newCellName and a variable cv containing the cellView id, then something like the following would do it:


    ; in case you haven't already got the cellView open
    ; cv=dbOpenCellViewByType(libName newCellName viewName "" "a")
    foreach(shape cv~>shapes
      when(shape~>objType=="label" && shape~>theLabel==oldCellName
        shape~>theLabel=newCellName
      )
    )
    dbSave(cv)

    Again, bit of a wild guess because I don't know what form the label you've got actually is.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ashkumar
    ashkumar over 15 years ago

    Thanks a lot.

    It wll be of great help.

    Regards

    ashutosh

     

    • 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