• 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 Design
  3. Generate netlist with subckt statement for top level

Stats

  • Locked Locked
  • Replies 12
  • Subscribers 127
  • Views 18980
  • 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

Generate netlist with subckt statement for top level

Octavian
Octavian over 11 years ago

I'm generating a netlist from CIW using:

simulator('spectre)
design("libName" "cellName" "viewName")
createNetlist()

This works fine but I would like to enclose the top level cell in .subckt/ends statements, similar to other cells in the hierarchy. Is that possible using the skill/ocean interface?

 

Thanks,

--Tavi

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

    Don't nest all the code inside Netlist_TopLevel_SubCkt(). The procedures won't be local (unless you're using SKILL++ and have a .ils suffix), and even then some of it will be evaluated at the wrong time. There's no need to do it that way. Load the code I gave you, and define your function like this:

    procedure( Netlist_TopLevel_SubCkt()
    let( ( sch )
        abRegisterSpectreTopCVFormatter()
        sch=geGetEditCellView()
        design( sch~>libName sch~>cellName sch~>viewName )
        createNetlist()
        asiSetNetlistFormatterClass(asiGetTool('spectre) 'spectreFormatter)
    ))

    (Note, I didn't test the above code).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Don't nest all the code inside Netlist_TopLevel_SubCkt(). The procedures won't be local (unless you're using SKILL++ and have a .ils suffix), and even then some of it will be evaluated at the wrong time. There's no need to do it that way. Load the code I gave you, and define your function like this:

    procedure( Netlist_TopLevel_SubCkt()
    let( ( sch )
        abRegisterSpectreTopCVFormatter()
        sch=geGetEditCellView()
        design( sch~>libName sch~>cellName sch~>viewName )
        createNetlist()
        asiSetNetlistFormatterClass(asiGetTool('spectre) 'spectreFormatter)
    ))

    (Note, I didn't test the above code).

    Regards,

    Andrew.

    • 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