Not sure if there is a bug but in the appendix of this paper they added a sign() close to the abs(), so maybe in file src/spicelib/devices/res/resnoise.c there should also be some SGN() close to fabs()?
Thanks for the advice and pointing us to the interesting paper. AIK our trnoise analysis is not considering white and 1/f noise contributions from devices until now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I guess this is also why
pwrs()should usepow(abs())orpwr()because it's useful for flicker noise (see 2.3.1).Thanks for the advice and pointing us to the interesting paper. AIK our trnoise analysis is not considering white and 1/f noise contributions from devices until now.
Not a bug because trnoise actually don't use device noise contributions.