Hello, I have a problem with the Monte Carlo simul...
# analog-design
c
Hello, I have a problem with the Monte Carlo simulation in Xschem. When I launch a series of simulations, approximately every two simulations, I get the same result as the previous one. For example, the third simulation gives the same result as the second, and the fifth simulation gives the same result as the fourth. This pattern continues until the end (100 times for my previous series). I don't know why. Can someone help me?
message has been deleted
s
Use the
tt_mm
corner in the .lib to enable mimatch (device to device variations) or
mc
corner for montecarlo (process variation). I really don't know the reason for the 1-2 simulation pattern. Without variation parameters the 100 sims should all be equal. May be these are numerical drifts. Try to use a smaller TSTEP in the .tran line.
c
To perform Monte Carlo simulations, I modified the code by adding 'MC_SWITCH*agauss(0,1.0,1).'