Talk:NMOS 3T resistor-biased cascoded current mirror
From ICclopedia
Need to add montecarlo analysis Check the ref book for desired variation to be able to compare.
Recall in the book it mentions 4 sigma, use this for the simulations
Ok, from going over the manual for ngspice it looks like one has to define the type of distribution but also the equivalent relative variation expected for a sigma target, such that calling the agauss function returns a number following such distribution, typically this is all taken care of when handling real models (where this distribution is captured from samples from actual fabbed runs, but in this case for the educational kit, we will do it somewhat arbitrarily, and that should be ok for explanatory/educational purposes)