SUBCKT Declarations in LTspice?

Oct 21, 2010 5 Replies

Sent also directly to Helmut Sennewald...



I have a whole chip design, relatively simple, simulates in 75 seconds in PSpice, that my customer would like made into a subcircuit for LTspice.



Needless to say, this contains lots of CMOS, poly resistors and capacitors, and PNP's; from X-FAB process XC-06.



Will LTspice accept .MODEL statements within .SUBCKT declarations?



If so, it should be a relatively simple netlist manipulation.



Thanks! ...Jim Thompson


| James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.

Absolutamente will it. I do this all the time. Many RF transistor sims are done that way. You use a subcircuit to describe all the parasitic stuff of the package and then inside this subcircuit is the .MODEL for da trainsistah itself.

Regards, Joerg http://www.analogconsultants.com/ "gmail" domain blocked because of excessive spam. Use another domain or send PM.

Great! The customer will be happy, and I won't have to spend too much "support" time for a past project ;-) ...Jim Thompson

| James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I can see November from my house :-)

We are doing an IC for an X-Fab process right now. The client engineer said he ran a few chip things on LTSpice and to his surprise it crunched it without signs of indigestion.

Probably doesn't make Cadence too happy, because LTSpice is surprisingly compatible. Mathcad, different story, those guys seem to hang on to proprietary methods so one has to fork over big bux. I am going to have to now. Hurumph! ... grumble ...

Regards, Joerg http://www.analogconsultants.com/ "gmail" domain blocked because of excessive spam. Use another domain or send PM.

Mike made LTspice pretty much PSpice conversant.

If the GUI (particularly post-processing) was better I'd switch, but it's pretty lousy/unfriendly right now. ...Jim Thompson

| James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I can see November from my house :-)

Yes.

LTSpice will usually digest PSpice lib files no problem.

"For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." (Richard Feynman)

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required