• 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. Import all cells from lib to schematic

Stats

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

Import all cells from lib to schematic

zaratustra
zaratustra over 5 years ago

I am characterizing the cells of several libraries for radiation hardening. I have a script that creates the testbench of a cell automatically, but for that, I need the spectre netlist of that cell. The technology has around 400 cells in each library, so import into the schematic and generate the netlist individually is very tiresome. Is it possible to export the netlist of all cells of a library into a single netlist file? I was thinking about using skill, but I'm not sure where to begin.

Each cell is located in technology/library_name/CADENCE/CDSOA/cell_name/(schematic, symbol, layout etc)

Thank you

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    If you want to generate netlists of each, you could do:

    simulator('spectre)
    libName="CDSOA"
    lib=ddGetObj(libName)
    foreach(cell lib~>cells
      when(ddGetObj(libName cell~>name "schematic")
        design(libName cell~>name "schematic")
        ; may or may not want this - not sure what your needs are:
        envOption('setTopLevelAsSubckt t)
        createNetlist(?display nil)
      )
    )

    In each of the netlist directories, it's probably the "netlist" file you want rather than input.scs (you don't want the other analysis stuff around it).

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    If you want to generate netlists of each, you could do:

    simulator('spectre)
    libName="CDSOA"
    lib=ddGetObj(libName)
    foreach(cell lib~>cells
      when(ddGetObj(libName cell~>name "schematic")
        design(libName cell~>name "schematic")
        ; may or may not want this - not sure what your needs are:
        envOption('setTopLevelAsSubckt t)
        createNetlist(?display nil)
      )
    )

    In each of the netlist directories, it's probably the "netlist" file you want rather than input.scs (you don't want the other analysis stuff around it).

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Children
  • zaratustra
    zaratustra over 5 years ago in reply to Andrew Beckett

    Thank you, Andrew.  I appreciate your help. It worked perfectly.

    • 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