The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Mar 29th, 2024, 1:58am
Pages: 1
Send Topic Print
Spectre DC Analysis Default for maxiters and maxsteps? (Read 1660 times)
lukeS
New Member
*
Offline



Posts: 5
Silicon Valley
Spectre DC Analysis Default for maxiters and maxsteps?
Aug 22nd, 2017, 6:42pm
 
1 - What are the default values for maxiters and maxsteps in the DC analysis convergence options for Spectre?

If I understand them correctly, maxiters is the maximum number of iterations of newton's method in solving for convergence. maxsteps is the maximum number of homotopic transformation steps in solving the problem.

2 - Will Spectre always take maxiters and maxsteps before reaching convergence? In other words, if the DC analysis does not converge, we are confident in saying the simulator has taken exactly maxiters steps in attempt to solve KCL using newton's method? Same idea for maxsteps...?

3 - Does the spectre simulator take a maximum of maxiters steps at each of the homotopic levels. For instance, doing 'source' homotopy, does the simulator take maxiters steps at each increment of the source voltages/currents? Can we say the simulator takes a maximum of maxiters*maxsteps calculation steps in solving the system? Or is this too naive to say..

Hope this makes sense, I appreciate any help!  :D
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: Spectre DC Analysis Default for maxiters and maxsteps?
Reply #1 - Aug 24th, 2017, 10:57am
 
lukeS wrote on Aug 22nd, 2017, 6:42pm:
2 - Will Spectre always take maxiters and maxsteps before reaching convergence? In other words, if the DC analysis does not converge, we are confident in saying the simulator has taken exactly maxiters steps in attempt to solve KCL using newton's method?


I don't know specifically for Spectre, but I believe that a Newton solver that encounters a math error will terminate on an earlier iteration and not do exactly maxiters.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Spectre DC Analysis Default for maxiters and maxsteps?
Reply #2 - Sep 9th, 2017, 12:23am
 
1. The default values can be seen from the output of "spectre -h dc".

2. I believe there are a number of reasons why the convergence algorithm would stop early - e.g. if it's clearly diverging - there will be points at which there is no point continuing. The precise details are something that are down to the implementation within the simulator (and are proprietary) and will have had many years of optimisation.

3. That's too naive.

I'm not sure why it matters to you?

Andrew.
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.