The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jun 30th, 2024, 1:47pm
Pages: 1
Send Topic Print
how many Monte Carlo simulation run? (Read 1111 times)
chase.ng
Community Member
***
Offline



Posts: 77
penang/malaysia
how many Monte Carlo simulation run?
Mar 12th, 2007, 7:24pm
 
Hi all,

I am wondering how do you all decide how many simulation run is required in a Monte Carlo simulation so that the estimation is correct?

Thanks and Regards,
chase
Back to top
 
 

Chase
View Profile chase.ng   IP Logged
fonseca.ha
Junior Member
**
Offline



Posts: 28
UK
Re: how many Monte Carlo simulation run?
Reply #1 - Mar 13th, 2007, 3:00am
 
I would say for you to make an experiement, sweeping the number of runs, and trying and see when do the statistical parameters stop changing.

The approaches that I have seen are:
1. make 30 runs and use 4Sigma of the results as being the 3Sigma of the circuit.
2. Make 100 runs.


Back to top
 
 
View Profile   IP Logged
chase.ng
Community Member
***
Offline



Posts: 77
penang/malaysia
Re: how many Monte Carlo simulation run?
Reply #2 - Mar 14th, 2007, 7:47am
 
Hi,

Correct me if I am wrong, the parameters never stop changing when the number of run increases, their variation will just become smaller and smaller as we increase the number of run, right? . If that is the case, is there anyway we can justify mathematically that at certain number of run, we are confident enough to say that we had enough?

Thanks and Regards,
chase
Back to top
 
 

Chase
View Profile chase.ng   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: how many Monte Carlo simulation run?
Reply #3 - Mar 15th, 2007, 6:17am
 
We now have support in spectre (and in ADE-XL in IC610) for Latin Hypercube sampling in Monte Carlo (see http://en.wikipedia.org/wiki/Latin_hypercube for a description of what this is) - which is a means of making sure that you can more efficiently cover the distribution without needing quite so many samples as you do with a straight random sampling.

This is quite an amusing link too - http://www.gummy-stuff.org/latin-hypercube.htm which covers this. Another one http://mathieu.fenniak.net/latin-hypercube-sampling/.

A bit of googling should be able to give you some more specific answers to your question.

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
chase.ng
Community Member
***
Offline



Posts: 77
penang/malaysia
Re: how many Monte Carlo simulation run?
Reply #4 - Mar 15th, 2007, 6:36pm
 
Hello Andrew,

It seems like a good way to do Monte Carlo simulation with this LHS, but I guess most of us is still going to stuck with IC5141 or so due to PDK support from the foundry, any idea whether it will be available in older version of cadence?

Thanks and Regards,
chase.
Back to top
 
 

Chase
View Profile chase.ng   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: how many Monte Carlo simulation run?
Reply #5 - Mar 16th, 2007, 3:42am
 
Hi Chase,

Well, the capability is in MMSIM611 - so you could use that with IC5141. There's a parameter "sampling=lhs" which can be added to the monte carlo statement in the netlist, but the problem is that the monte carlo GUI doesn't provide support for specifying arbitrary parameters. So I guess the only option is to use Simulation->Create Input Files, edit the input.scs to add sampling=lhs, and then Simulation->Run.

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.