The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> monte carlo/iip2/ocean
https://designers-guide.org/forum/YaBB.pl?num=1279228504

Message started by salty on Jul 15th, 2010, 2:15pm

Title: monte carlo/iip2/ocean
Post by salty on Jul 15th, 2010, 2:15pm

Simulator: spectre/ocean

I have tried running qpss monte carlo sims.  I would like to look at iip2 with mismatches.  However, I can't quite figure out how to access the data in ocean.  It is saving all the data from run to run, but how can I access the data from a specific run and calulate the iip2?

Title: Re: monte carlo/iip2/ocean
Post by pancho_hideboo on Jul 18th, 2010, 3:35am

Use "openResults()" and "selectResult()".

You have to set "savefamilyplots=yes" in montecarlo analysis statement.
If you set this, data with "iteration" as independent variable are saved.

Using "Results Browser", show me your data structures.



Title: Re: monte carlo/iip2/ocean
Post by salty on Jul 20th, 2010, 12:28pm

analysis('pac ?name "pac" ?sweeptype "absolute"  ?start "100.1M"  ?stop ""  ?maxsideband "3"  )

analysis('pss ?name "pss" ?fund "100M"  ?harms "5"  ?errpreset "moderate"  )

;; Define Monte Carlo run
monteCarlo( ?numIters "3" ?startIter "1"
   ?analysisVariation 'processAndMismatch ?sweptParam "None"
   ?sweptParamVals "27" ?saveData t
   ?nomRun "yes" ?append nil
   ?saveProcessParams t
)


0      -2.41910379      -0.3090832601      1.067701704      1.826176777      -0.1685257352      -0.4319062036      0.6163895371      0.06027179153      0.2159157092      0.4165311881      0.2370237454      -2.839598571      -0.06690625897      -0.1330360908      0.3674732837      0.1143423708      0.09194731515      0.5216838423      0.004004664022      -0.3139963948      -0.4351055748      -0.4674903287      -0.0892607145      0.0921801425      0.5002249218      0.1707400142      -0.05630772468      -1.281845534      -0.1718602428      
0      1.140002663      0.2818457609      -0.3715128775      0.5170954804      -0.2651480862      0.5360666028      -0.1593445124      0.1371628181      1.005583024      -1.336634955      -0.6279941156      -0.5765937551      0.2608253194      -0.08196836804      0.1323324946      0.5308181952      0.1984952034      -0.4614614652      -0.07972303747      0.1472436608      -0.1563556275      -0.05822723993      0.5171307785      0.165831579      0.5877651979      0.411854726      0.3517394563      0.6228540472      0.5357093426      
0      0.3688653866      0.6218775626      0.8805458147      -2.024383245      0.4532081174      0.6004590931      -0.05249134944      -0.09697661379      -0.296800175      -0.605173609      -1.309438672      0.4983259135      -0.3603986472      -0.2870969455      0.06142047725      0.06842420367      0.2189601318      0.04231622672      -0.1230972528      -0.1161719846      -0.08243078511      0.2980343352      -0.3683571826      -0.3880785018      0.07592628966      -0.2862654642      -0.002764599039      -0.4712424786      0.3462222281      

Title: Re: monte carlo/iip2/ocean
Post by salty on Jul 20th, 2010, 1:51pm

It looks like I can select individual runs with

selectResult( "mc1_pac-montecarlo" "1.0" )
selectResult( "mc1_pac-montecarlo" "2.0" )
etc.

Is there a way to extract which process corner it was running?

Title: Re: monte carlo/iip2/ocean
Post by pancho_hideboo on Jul 21st, 2010, 9:51am


salty wrote on Jul 20th, 2010, 1:51pm:
Is there a way to extract which process corner it was running?
Use "openResults()".

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.