• 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 use schHiCreateWireStubs() in skill procedure?

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 5204
  • 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 use schHiCreateWireStubs() in skill procedure?

qc123
qc123 over 1 year ago

I am trying to use  schHiCreateWireStubs() after instancing a symbol the schematic. 

procedure(CreateInstanceStubs(libName cellName viewName offset)

let( (cv ip instSymbol newInt)

;; Will create a schematic view

cv=dbOpenCellViewByType(libName cellName viewName "schematic" "a")

instSymbol=dbOpenCellViewByType("library" "cell" "symbol" nil)
newInt=dbCreateInst(cv dutSymbol "device_inst" list(0 0) "R0" 1)

schHiCreateWireStubs()

;..... more code after stubs are placed

))

I get error.

It seem schHiCreateWireStubs() only works if I have the schematic window open and works the same as Create > Wire Stubs and Names. I tried putting (dbReopen cv "r") but still get error. How can I "open" the schematic to place stubs. I will be adding more to the schematic in the code after.

Thanks for any help or insight

  • Cancel
  • qc123
    qc123 over 1 year ago

    So i guess there is no easy function like dbCreateWireStubs() or use geGetCellViewWindow(). But here is  How to add wire stub and a net name to the given floating instance terminal on multiple instances? that can be modified to work for any other.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago in reply to qc123

    There's no public non-Hi (i.e. not expecting a user interface) API to do this (there probably should be, but there isn't), and so something along the lines of the article you found is probably the best starting point. I've written similar code myself in the past.

    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