• 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. How to copy iopin in schematic view

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 13228
  • 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

How to copy iopin in schematic view

San
San over 9 years ago

Hi ,

I have a schematic view in which I just have one InputOutput pin celled "gate" 

I just want to make a copy of that pin and place it little farther.

I  used following code but it did not copy it properly.

schId = geGetEditCellView()

geSelectAll()

foreach(fig selectedSet()

  dbCopyFig(fig schId list(0:4 "R0" 1))

)

I will appreciate your help on this.

Thanks

Sanket

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Two problems - first there's a textDisplay you don't really want to copy, and secondly, dbCopyFig will just copy the pin instance, and not make the new object a pin. Simplest solution is:

    schId = geGetEditCellView()
    geSelectAll()
    foreach(fig selectedSet()
      unless(fig~>objType=="textDisplay"
        schCopy(fig schId list(0:4 "R0" 1))
      )
    )

    Hope that helps. The schCopy is a bit of a higher level function, so understands that it's a pin. Avoided reinventing the wheel yourself...

    Regards,

    Andrew. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • San
    San over 9 years ago
    This is exactly what I was looking for. It worked like charm.
    Thanks a lot Andrew.

    Regards,
    Sanket
    • 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