• 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 command to get the netlist.cir file (IC6.1.5.500.132...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 14035
  • 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 command to get the netlist.cir file (IC6.1.5.500.132 and eldo 12.1_1)

Atul Dwivedi
Atul Dwivedi over 12 years ago

Hi there,

First of all, I want to thank people in this forum for their voluntary support and suggestion, which has helped me a lot in learning SKILL. I am still a newbie, so please bear with me, as this is my first post!

Coming to the question: I want the netlist.cir file for the current schematic which is drawn, so that I can copy it somewhere else and do some further manipulation and run similations. 

Research done till now: I have searched this forum and found the following code closest to the solution, but it has some limitations:

isession=sevSession(hiGetCurrentWindow())  

cirFilePath=car(sevNetlistFile(isession 'display))

Limitations:

-While calling the  sevNetlistFile() I am always greeted with an AMS output window showing the netlist, which is not desirable for a script running in the background.

-The sevNetlistFile() shows the circuit file path only when called with 'display switch. Hence everytime a change is done in the netlist, I will have to call sevNetlistFile(isession 'create) followed by sevNetlistFile(isession 'display), which will end up showing the AMS windows to the user twice.

So any other approach, in which I can get the updated netlist file from schematic in the background without bothering the user, will be highly appreciated.

Thanks in advance!

-Atul 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Hi Atul,

    asiSess=asiGetCurrentSession()
    cirFilePath=strcat(asiGetNetlistDir(asiSess) "/" asiGetSimInputFileName(asiSess))

    Note, this is not creating the netlist, but getting the path to the netlist.

    Alternatively, if you want to create it, you can use these OCEAN functions:

    simulator('eldoD)
    design(libName cellName viewName "r")
    cirFilePath=createNetlist(?display nil)

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Atul Dwivedi
    Atul Dwivedi over 12 years ago
    Thanks a lot Mr. Andrew. It worked as expected and required.
    • 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