The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 18th, 2024, 3:25pm
Pages: 1
Send Topic Print
Spectre convergence problem w/circuit that has small or zero capacitance (Read 5110 times)
cmolsen
Junior Member
**
Offline



Posts: 10
NY
Spectre convergence problem w/circuit that has small or zero capacitance
Jul 01st, 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
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: Spectre convergence problem w/circuit that has small or zero capacitance
Reply #1 - 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.)
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
cmolsen
Junior Member
**
Offline



Posts: 10
NY
Re: Spectre convergence problem w/circuit that has small or zero capacitance
Reply #2 - 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
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2386
Silicon Valley
Re: Spectre convergence problem w/circuit that has small or zero capacitance
Reply #3 - 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
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.