Re: [ng-spice-devel] Patches
Regarding the MOS3 model ......
The diodes were correct in 3f4.
The current is incorrect at line 450 and vicinity, but corrected
later when it is loaded (near line 1275).
Spaghetti code strikes again.
This means if you changed it, it is now incorrect.
Actually, the trick of not making the current and derivative match is
often used as a convergence enhancer. You can get sort of a
pseudo-transient effect.
1,2,3,6 all have the same diode models. BSIM1 and 2 are a little
different. They have the gmin patch, and forgot that it is fudged
later. BSIM3 is very different.
Regarding the gds, etc. changes ...... I don't know whether it is
correct as is or not, but believe that it may not be. If you change
it, it is no longer MOS3. This is a legacy model, and should be
preserved, bugs and all.
al.
Partial thread listing:
- Re: [ng-spice-devel] Patches, (continued)
Re: [ng-spice-devel] Patches
Alan Gillespie