• 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. Get Instance Terminal Coordinates in Schematic

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 16529
  • 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

Get Instance Terminal Coordinates in Schematic

KGh94
KGh94 over 7 years ago

Hello,

I have added a MOSFET into a schematic and would like to locate the device terminals of the instance using SKILL code

geGetSelSet()~>instTerms~>term~>(coordinates?)

The only thing that shows any similarity to the coordinates is the bBox, but then the numbers in the bBox list don't reflect the actual coordinates of the terminals

Any hints would be appreciated.

Best regards,
Karam

  • Cancel
  • mbracht
    mbracht over 7 years ago

    HI Karam,

    geGetSelSet()~>instTerms~>term returns the terminals database objects in that instance's master cell - which is a cell view of type schematicSymbol.

    Other than that a terminal is a "logical thing" and nothing with a bounding box. Assuming that there is just one pin on the terminal and one pin figure on  that pin (which I think is a save assumption in a symbol) To get at the "selectable" pin you need to go like this...

    (caar term~>pins~>figs)~>bBox

    to get at the bounding box (with those corordinates being relative to the master cellview). So you'd still need to transform them with geTransformUserBBox(..) to make them realtive to your schematic

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mbracht
    mbracht over 7 years ago

    the below code returns the bBox coordinates you are looking for:

    inst=(car geGetSelSet())

    (foreach mapcar term inst~>instTerms~>term
       (geTransformUserBBox  
          (caar term~>pins~>figs)~>bBox
          inst~>transform
       )
    )

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • KGh94
    KGh94 over 7 years ago in reply to mbracht

    Thanks a lot mbracht. Now I can derive the terminal coordinates with the help of your code! Slight smile

    • 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