|
From: Stefan J. <ste...@mu...> - 2003-07-15 12:13:54
|
On Mon, 2003-07-14 at 20:54, Paolo Nenzi wrote: > - Compatibility: to be compatible with xspice, i think that both options > should be implemented, adding an option like "shuntopt": > > shuntopt = 0 (default) -> Alan's scheme (ngspice default) > shuntopt = 1 -> xspice r-shunt scheme > > Doing this we can test (tcl/ng)spice against xspice known results. Ok, should be easy to do. I already have a patch which removes the xspice rshunt scheme. I guess the next step would be to add the extra option and the if statement to the current GMIN routine and modify the xspice bit to look for the flag. I will do this shortly ( today or tomorrow) and send the patch. > - Sparse library can calculate the condition number of the circuit > matrix. I think that this can be printed on the stdout to see how a > simulation evolves. I will check but, if my memory is not failing, > the condition number can be used to estimate the number of correct > digits. Why not print this info too ? I see the function in sputils.c I will leave this to you if that's ok. Stefan -- Stefan Jones <ste...@mu...> Multigig Ltd |