Ken Kundert
|
Simulation time is proportional to the product of the number of equations being solved and the number of time points used. If things are slowing down dramatically, one of those two things must have increased significantly. You should figure out which. Then you should try to understand why it is changed. The addition of the inverters may result in trapezoidal rule ringing, which could result in many more time points. In this case the solution is simply to switch the transient option 'method=gear2only'. Or it may be that you have placed the inverters on the most active nodes, and the simulator requires more time points to accurately render the transitions (by adding inverters you are adding capacitors, and simulators try to control error on capacitors in order to compute the capacitive currents accurately). To help understand the time points, it is helpful to set the waveform tool to show you the actual time points used.
Oh, and most of these kinds of problems are caused by people setting simulator settings inappropriately. I have noticed and increasing tendency for designers to use ridiculously tight tolerances. So the first thing you should do is unset any accuracy related setting you set (reltol, abstols, errpreset, etc.) Just leave them all blank. Then, only tighten tolerances when there is a demonstrated need to. Do not do it prophylacticly.
-Ken
|