• 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. instTerms

Stats

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

instTerms

AM202410081932
AM202410081932 10 months ago

Hi to all,

I am trying to write an SKILL code to create a schematic. In my code I use "instTerms" to obtain the terminals of an instantiated cell (Let's imagine it is a simple NMOS which is given as a predesigned cell), and then I will connect a wire to each of the terminals. When I run the whole code by command line, the returned terminals by "instTerms" are empty(nil) but when I try to debug it line by line it works properly. As more information, I call it for the instantiated cell, and I should say the cell is instantiated without any problem. This is just the problem of finding its terminals. 

Does anybody have any idea?

Thank you very much in advance.

Amir

  • Cancel
  • Andrew Beckett
    Andrew Beckett 10 months ago

    Amir,

    This is because just creating an instance using dbCreateInst() will not create the instTerms on the device. When you have the schematic editor open though, the incremental extractor will cause the instTerms to be created - which is why you see it working when evaluating line by line. You either need to create them yourself using dbCreateInstTerm, or you could call schExtractConn to do an initial connectivity extraction (you'll get checker warnings about floating pins though) - that would construct the instTerms too. Or use the terminals on the master instead to find the information you need.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AM202410081932
    AM202410081932 10 months ago in reply to Andrew Beckett

    Hi Andrew,

    Thank you for your reply.

    I called dbSave after the dbCreateInst and it worked. But I will try schExtractConn as well.

    Thanks,

    Amir

    • 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