The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> AMS Simulators >> Spectre convergence problem w/circuit that has small or zero capacitance
https://designers-guide.org/forum/YaBB.pl?num=1278003906

Message started by cmolsen on Jul 1st, 2010, 10:05am

Title: Spectre convergence problem w/circuit that has small or zero capacitance
Post by cmolsen on Jul 1st, 2010, 10:05am

I'm running a transient simulation, using spectre MMSIM72, on a circuit with several CMOS inverters in a chained configuration.  Input is isolated from output.

The compact model for the FETs is the VerilogA PSP 102.3 model which I have modified to significantly reduce the capacitance contributions.  There's no other components in the circuit.

As the length of the inverter chain increases, the total current consumption as well as the output voltage waveform become increasingly unstable.

For example, when completely removing all capacitance so that I have a purely resistive circuit, the transient simulation will produce anticipated results for 2 inverters. At 3 inverters logic levels start to become unrealistic. At 10 inverters, the simulation fails due to convergence problem.

Generally speaking, the trend is that the smaller the capacitance is, the smaller a circuit the simulator can handle before failing due to convergence problem.

I see the same trend in Hspice. I also observe this with other compact FET models.

Is this is a simulator problem?

If so, would it make more sense to run SpectreAMS or Spectre APS on a purely, or very near, resistive type of circuit where I'm mainly interested in determining the logic states and current consumption in the various [stabilized] logic states?

I'm running on a Linux RedHat system.

---Michael Olsen

Title: Re: Spectre convergence problem w/circuit that has small or zero capacitance
Post by Geoffrey_Coram on Jul 2nd, 2010, 5:52am

Capacitance in Spice simulations (meaning all spice-like simulators) is very effective at smoothing out nonlinearities.  So, I guess the problem is a "simulator problem" in that you are now asking your simulator to solve a problem that it is ill-suited to solve.

Spectre APS surely won't solve your problem, since it's still spice-like.

If you re-wrote your inverter cells as gate-level models, you might get something (logic states) out of a mixed-signal simulator, but I'm not sure you'd be able to get accurate currents.

Have you considered a dc sweep instead of transient?  (Note that some simulators use a pseudo-transient analysis to solve "hard" dc problems by using the capacitance to smooth out strong nonlinearities, so you'll want to leave that in the FET models.)

Title: Re: Spectre convergence problem w/circuit that has small or zero capacitance
Post by cmolsen on Jul 7th, 2010, 11:39am

Thanks for the answer.

Fyi, the aim of my project is to accurately estimate DC currents of large complex circuits as fast as possible using various VerilogA FET models.

What you're saying about AMS simulators, I've heard from others as well.  AMS sim is fast but not accurate in terms of current prediction. But maybe I could use this to at least get the coarse logic levels and currents and which I subsequently might use as input to a DC analysis. Can this be done?

Wrt DC sweep, will this work with multiple sweep "stimuli" which would mimic the toggling of a circuit's logic states in the same fashion that a transient analysis would?  


---Michael

Title: Re: Spectre convergence problem w/circuit that has small or zero capacitance
Post by Ken Kundert on Jul 7th, 2010, 4:16pm

The statement that "AMS simulation is fast but inaccurate" is a meaningless generalization. AMS simulators allow you to write the models. You can write the models so that the resulting simulation is fast but inaccurate. But you can also write them so that they are slow but very accurate, or slow and inaccurate, or fast and accurate. Given the same models as used in a circuit simulator, they will provide similar levels of accuracy and speed.

-Ken

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.