• 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 to create/replace pins in symbol view

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 3653
  • 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 to create/replace pins in symbol view

SUBBHAREDDY
SUBBHAREDDY over 16 years ago

Hi

i had added two pins in schematic view.

At the same time i want to add those pins in symbol view also.

I used "schDrawSymbolPin" function to draw.But whatever it created is not consistency with the other pins already present.

i.e Creating somewhere else in symbol view,with different shapes.

How to get the exact list points where,it should be created.

Finally,how to create,or replace already existing symbol pins.

How to get the list points,because different cells will have different boundary box?

Could you please list the steps to be followed?

 

Thanks and regards

Subbhareddy

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 16 years ago

    I suspect you really want to be using schCreateSymbolPin - this creates a pin using a cellView as a master - which is what the create pin command in the symbol editor does.

    In the CIW, if you type:

    schSymbolPinMasters

    you'll see which cellViews are used for which master. For example, you can see that basic/actHiInp/symbol is used for actHi input.

    So you could do:

    ; coord is where you want to place the pin. cvId is the database Id of the symbol
    pinMaster=dbOpenCellViewByType("basic" "actHiInp" "symbol")
    schCreateSymbolPin(
      cvId
      pinMaster
      "myinp"
      "input"
      coord
      "R0"
    )

    Only you can know where on the symbol you wish to place the symbol. In the symbol editor, if you do Options->Display and turn on "Coordinates in status banner" so you can see where is a relevant location.

    The same would be true if using schDrawSymbolPin - this is just expecting a list of coordinates for the red blob which is the pin. You need to determine where you want them to be - I can't work that out for you.

    As for replacing an existing pin, easiest to delete it and re-add it, I guess:

    ; termName is the terminal you want to delete, cvId the cellView
    term=dbFindTermByName(cvId termName)
    foreach(pin term~>pins
      dbDeleteObject(pin~>fig)
      dbDeleteObject(pin)
    )
    dbDeleteObject(term)

    Or something like that...

    Regards,

    Andrew.

    • 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