• 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 code to generate pins and label on metal by a bin...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 12010
  • 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 code to generate pins and label on metal by a bindkey

Sonalj
Sonalj over 3 years ago

Hi,

             I though of writing a code to create pins on metals just by pressing a bindkey. If a path segment is partially selected at right end then the pin should be placed on the path segment at right end with the same width and height as of pathwidth along with a label same as the name of the path segment. If the Path segment is fully selected place a pin entirely on the mental along with its label.

Is there any Ideas? and also how to access the "Route net name" of a Path Segment that we see when query path segment  is done in its connectivity tab.

Thanks.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    Isn't that exactly what the Create Pin command does with "Auto" selected? Why would you write SKILL code to do something that already exists?

    Anyway, if you have a selected shape, you can do shape~>net~>name (to get the net name that the shape is attached to). Strictly speaking if it's part of a route, then it would be shape~>route~>net~>name.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sonalj
    Sonalj over 3 years ago in reply to Andrew Beckett

    Thanks for the reply.

    Even after I select auto I have to give some inputs to the form opened.

    I want it to be done by a single bindkey without opening the form.

    I have written a code such that it takes all the inputs through script but I have to open the form atleast once for it to take the inputs from script after pressing bindkey.

    and also I have given command to close the form after taking inputs from script but the form still remains open even after I place the pin in layout it does not get closed automatically.

    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Sonalj

    There's leCreateAutoPin() which does most of the work for you, but you'd need to give it the net name (which I explained how to retrieve), and then create the label after that (but it ought to be easy enough to add a label or textDisplay to the centre of the generated pin using dbCreateLabel or dbCreateTextDisplay).

    • 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