hamed
Junior Member
Offline
Posts: 12
Athens, Greece
|
Hi Achim, Actually I preferred to try again your second comment, meaning that I made a new library file having a mismatch variable of "voffset" with gaussian distribution and pre-estimated Sigma for each comparator. This "voffset" is a common variable for all voltage sources put at input of each comparator representing the offset; and this way Monte carlo works fine, i.e. automatically varying each voltage source with the proper distrubution independently. It is instructive to share the cause of the problem I had: in fact I had done the same as above except puting different voltage sources (15 variables) outside of comparators, i.e. voffset1, voffset2, ....,voffset15. Actually the mismatch in statistic part of library file works fine if the variable is in subcircuit, so to be able to ueilize mismatch capabilities of Monte carlo, one has to be careful in using variables in right hirarchy. Note that despite the fact that all comparators share the same subckt, and so the same voltage source with the same name "voffset", the Monte carlo can manage to put different values in the input of the comparators in each run and change them properly in consequent runs.
Hamed
|