MohEllayali wrote on Sep 5th, 2010, 2:23am:in cadence also, there is an option to set the seed #
There is no simulator whose name is "cadence".
My setting example for Monte Calro is also in Cadence ADE.If you use Cadence Spectre, see netlist.
You can see setting for seed there.
Quote:mc1 montecarlo variations=process seed=1234 numruns=200 {
dcop1 dc // a child analysis
tran1 tran start=0 stop=1u // another child analysis
// expression calculations are sent to the scalardata file
export slewrate=oceanEval("slewRate(v(\"vout\"),10n,t,30n,t,10,90 )")
}
Also see results as entering "spectre -h montecalro" in unix command line.
Seed number of Cadence Spectre's Monte Calro is fixed as "1" if you run it from Cadence ADE GUI.
You can change seed number even for Cadence Spectre by either of the followings.
(1) Run Monte Calro Simulation by netlist with setting seed number.
(2) Run Monte Calro Simulation by Ocean Script with setting seed number.
The following is a Ocean function for Monte Calro.
Quote:monteCarlo(
[?numIters x_numIters] [?startIter x_startIter] [?seed x_seed]
[?analysisVariation s_analysisVariation] [?sweptParam t_sweptParam]
[?sweptParamVals l_sweptParamVals] [?saveData saveData] [?append b_append]
[?nomRun b_nomRun] )
(3) Change default seed number of Monte Calro Analysis from Cadence ADE by "envSetVal()".
The followings are general notes for you.
-
Always describe correct tool's name and vendor's name which you use as tool or simulator.- Don't do multiple posts which are same content.
- Don't request source code or behavioral model without any efforts.
- There are many simulators which have analyses called as PSS, PAC and Pnoise.
- Describe in detail with using correct terminologies.
- Warnigns are different from Errors.
- ADS is not name of simulator.
-
There is no tool which name is Cadence.- Don't use Direct Plot of Cadence ADE blindly without knowing definition.
- All gains in Direct Plot of Cadence ADE are "right", "true" and "practical" voltage gain.
- Don't mix up Simulation with Post Processing. They are completely different phase.
- MATLAB are different from Simulink.
- Learn measurements using actual instruments. Not "EDA Tool Play