• 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 automatically connect power pins in schem...

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 142
  • Views 18649
  • 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 automatically connect power pins in schematic

Nhumai
Nhumai over 7 years ago

HI All,

I need to drop a piece of wire and correct power name on the pins of all the symbol in my schematic. Which mean I need to connect power automatically. 

I don't know who to start since I am a beginner of skill. Can someone help to let me know how to start ? 

thanks 

Nhumai 

  • Cancel
Parents
  • skillUser
    skillUser over 7 years ago

    Hi Nhumai,

    Try pressing the Space Bar which should invoke the schHiCreateWireStubs() function - for one or more instance(s) it can create wire stubs at all or specified terminals; you can 'register' certain terminals so that only those will have connections made for them, rather than all instance terminals.

    Hopefully this will help you.

    Best regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Nhumai
    Nhumai over 7 years ago in reply to skillUser

    Hi Lawrence,

    I tried it and it is working but I do have couple questions about it 

    1/ how can I register terminal ? 

    2/ how can I control the length and the direction of the piece of wire schHiCreateWireStubs() drop on the terminal ? The reason is  we have a legacy data base and all the power pins is very close to each other if the wire is  a little long or not in the correct direction then they short together 

    thanks 

    Nhumai 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to Nhumai

    Glad to see my original suggestion in your other post worked for you ;-)

    You can register terminals interactively by hitting the "..." button next to the line with "registered terminals only" on the create instance form, or using the Options->Register Net Name per Terminal menu (you then have to select the pin on an instance and give it the net name to use).

    Probably easier is to use SKILL:

    ciRegisterDevice("MyBlocks" list(list("opamp090" nil nil)))
    ciRegisterDefaultNetName("MyBlocks" "VDD" "AVDD")
    ciRegisterDefaultNetName("MyBlocks" "VSS" "AVSS")

    If you want it to be for all libraries, then the first line can be:

    ciRegisterDevice("MyBlocks" list(list(nil nil nil)))

    The stub length can be controlled using:

    envSetVal("schematic" "stubLength" 'int 1)

    (the default is 2). Search in the Help menu (in the box at the top) for stubLength for more details.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Nhumai
    Nhumai over 7 years ago in reply to Andrew Beckett

    Hi Andrew,

    thanks a lot for you suggestion. Let me try them now and I might have more questions :-) 

    thanks again 

    Nhumai 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Nhumai
    Nhumai over 7 years ago in reply to Andrew Beckett

    Hi Andrew,

    thanks a lot for you suggestion. Let me try them now and I might have more questions :-) 

    thanks again 

    Nhumai 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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