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?
Charly Meyer
05/03/2023, 2:47 PM
message has been deleted
s
Stefan Schippers
05/03/2023, 3:27 PM
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
Charly Meyer
05/05/2023, 7:54 AM
To perform Monte Carlo simulations, I modified the code by adding 'MC_SWITCH*agauss(0,1.0,1).'
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.