how to generate spice netlist without some subckt, as following:
the default netlist as following:
R1 net1 net2 10k
Xnosubckt in1 in2 out1 opamp
.sunckt opamp in1 in2 out
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
thanks a lot
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" viewb. In ciw, go to "File->Export->CDL"c. Fill in the fields accordingly and press OK buttonYou 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 -Wunix>icfb -Wunix>spectre -WBest regardsQuek
In reply to Quek:
My systerm info. as following:
icfb : 188.8.131.52
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.
In reply to hanlei1975:
Hi HanleiI 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" viewb. 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 defintionf. Netlist using hspiceS. It should work nowBy the way, perhaps it is time to upgrade to the latest IC614 or IC5141. Your version of spectre is also very out-dated. : )Best regardsQuek
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
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.
In reply to Andrew Beckett:
Hi AndrewThanks. : ) All the best for 2010. Best regardsQuek
Hi Andrew, Quke
Problem was solved by your help.
thanks a lot
Happy new year! :)