The Designer's Guide Community
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Oct 14th, 2019, 1:07pm
Pages: 1
Send Topic Print
Charge tolerance in Spectre (Read 79 times)
New Member

Posts: 9

Charge tolerance in Spectre
Jul 10th, 2019, 7:43am
In experimenting with offset cancellation using very small capacitors, I was facing an issue with the accuracy and was wondering if there's a way to change the charge tolerance in Spectre. I came across chgtol while looking for this, but wasnt able to find it in spectre.
Would be grateful if someone could help. Thanks!
Back to top
View Profile   IP Logged
Ken Kundert
Global Moderator

Posts: 2222
Silicon Valley
Re: Charge tolerance in Spectre
Reply #1 - Jul 10th, 2019, 3:15pm
The most efficient way to reduce charge conservation errors is to tighten reltol while loosing lteratio at the same time (reltol is a simulator option while lteratio is a transient option).  Tightening reltol tightens the control of both KCL errors and timesteps. But shrinking the timestep does not help with conservation errors, so you can reduce the slowdown you experience by loosening lteratio, which only affects the time steps.  If you tighten reltol and loosen lteratio by the same amount then you should get roughly the same number of time points while controlling conservation errors.

Having said that, if you are having conservation errors, you should check your capacitor models. Many nonlinear capacitor models written in Verilog-A have charge conservation problems. If you are using such model you are doomed.

Back to top
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2019 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 Consider submitting a paper or model.