• 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 change the direction of pin,and symbol of...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 144
  • Views 3429
  • 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 change the direction of pin,and symbol of that pin also

SUBBHAREDDY
SUBBHAREDDY over 16 years ago

Hi

 I want to change the direction of pin from input to inout pin,and at the same time i want to change the symbol

of that pin also in schematic view.

Pls write a sample code for the above requirement.

 Thanks and regards

Subbhareddy 

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 16 years ago
    term=dbFindTermByName(cvId "termName")
    term~>direction="inputOutput"
    master=dbOpenCellViewByType("basic" "iopin" "symbol")
    foreach(pin term~>pins
    pin~>fig~>master=master
    )

    Note that in OA versions potentially you might need to update pin~>figs (rather than fig) but I don't think the schematic editor makes use of multiple pin figures yet.

    Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Jack777
    Jack777 over 8 years ago
    Hi Andrew,

    I'd like to the same thing here, but on symbol pin. I followed your code, but stuck at "pin~>fig~>master=master", since there is not master properties. The code works fine on schematic.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    For symbol pins, these are not normally instances - they're just a shape. So it would be sufficient to do:

    term=dbFindTermByName(cvId "termName")
    term~>direction="inputOutput"

    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