• 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 generate netlist without some subckt

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 144
  • Views 16878
  • 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 generate netlist without some subckt

hanlei1975
hanlei1975 over 15 years ago

Dear master

how to generate spice netlist without some subckt, as following:

the default netlist as following:

**********test ckt**************

R1 net1 net2 10k

Xnosubckt in1 in2 out1 opamp

.sunckt opamp in1 in2 out

.....

..ends

.end

 

But I need no subckt netlist, as following, How can I get this? I set property like "nlAction" ,in subckt, actually there is nothing ,but I also need there is no ".sunckt......" How Can I get this ?

I need something  like this

**********test ckt**************

R1 net1 net2 10k

Xnosubckt in1 in2 out1 opamp

......

.....

.end

thanks  a lot

  • Cancel
  • Quek
    Quek over 15 years ago

    Hi Hanlei

    I am not very clear on the question so there is some guessing here. Please correct me if I am wrong. I think you would like to have a spice (or maybe spice-like) netlist with only the instance lines and not the subckt definitions.You can do this with cdlout as follows:

    a. In the library manager, copy the symbol view of cell "opamp" as "auCdl" view
    b. In ciw, go to "File->Export->CDL"
    c. Fill in the fields accordingly and press OK button

    You will only get the instance line for cell opamp and not the subckt definition. Hope that this is what you need. : )  By the way, when posting a question, it would be great if you can provide the version info so that we can come up with the best solution for you.

    E.g.
    unix>virtuoso -W
    unix>icfb -W
    unix>spectre -W


    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • hanlei1975
    hanlei1975 over 15 years ago

    Hi Quek

    My systerm info. as following:

    icfb : 5.10.41.169

    spectre 5.10.41.052404

    Thank you for your solution at first. My systerm is IC 5.1.41, I tried you solution , it works. but I need netlist format is HspiceS format, and I generate netlist from Analog Design Environment, so does there is any other options? I had used "nlAction" 4 years ago, but this time it does not works, maybe the version has difference.

     

    kind regards!

    Hanlei

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Quek
    Quek over 15 years ago

    Hi Hanlei

    I am a little confused. I think adding "nlAction=ignore" on an instance will prevent it from appearing in the netlist, not even the instance line. This should not be what you are looking for. I have found an obsolete solution #1835032 which might be what you need. Here is what you have to do:

    a. Copy the symbol view of your opamp as "hspiceS" view
    b. Edit the cdf property of opamp cell to include a string parameter named "macro"
    c. Enter the name of the subckt as the macro value, e.g. "opamp"
    d. In simInfo section for hspiceS, enter "macro" for "otherParameters"
    e. In "Setup->Environment" of ADE, enter the path to the file containing the subckt defintion
    f. Netlist using hspiceS. It should work now

    By the way, perhaps it is time to upgrade to the latest IC614 or IC5141. Your version of spectre is also very out-dated. : )


    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • hanlei1975
    hanlei1975 over 15 years ago

    Hi Quek

    you are right, I got it. Thank you very much!

    one more question, I had done as you wrote a~f , but the netlist like:

    ..................................

    XI0 net1 net2 out opamp_opamp_G36

    .................................

    actually, my subckt named opamp, so when I do simulation use netlist, the simulation does not work. I need to modify the netlist,change "opamp_opamp_G36"  to "opamp, the simulation can work, so can wen generate the netlist like:

    XI0 net1 net2 out opamp

     

    Best regards!

    Hanlei

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Quek
    Quek over 15 years ago
    Hi Hanlei

    I am afraid that it is not possible to get the exact subckt name. At the very minimum, you will get cellname_G123. The underscore part is unavoidable. It is actually a feature of socketed netlister such as spectreS and hspiceS to avoid name collision. This means that you will either have to manually edit the names or use hspiceD (hspice Direct). : )  If you really have to use hspiceS, I think perhaps it would be good to use a perlscript to do the name corrections.

    Best regards
    Quek
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    Hi Hanlei, Quek,

    Actually it is possible to do this.

    Add a CDF parameter called "macroArgumentStyle" with value "include" (anything other than "default" or "USE") and then the call should not get mapped - and it will also not complain about not being able to find the file macro.s (where macro is the name of the macro parameter).

    Again, this was in an old (now obsolete) solution. hspiceS (and all socket simulator interfaces) are long obsolete, and as such much of the information about how to customize the netlister has gone. hspiceS is no more after IC5141.

    Regards,

    Andrew.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Quek
    Quek over 15 years ago

    Hi Andrew

    Thanks. : )  All the best for 2010.


    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • hanlei1975
    hanlei1975 over 15 years ago

    Hi Andrew, Quke

    Problem was solved by your help.

    thanks a lot

    Happy new year! :)

    Kind regards!

    Han

    • 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