I generated a ocean script for montecarlo simulation of my circuit. However I would like to know how i can seperate the individual runs so that i could process the data in ocean and store the desired result before it starts the next run.
I have used ocean scripting in the past to sweep voltage/temp variables. For each condition (voltage/temp/process corner combination), i perform my desired analysis (tran/AC etc) and process the results and store the final required data (SNR/Gain etc for example) in an output file. Since i used FOR loop, each of the voltage/temp combination is like a seperate run and i could process the result, before its over written again.
But with montecarlo, i would like to know how i could call the individual simulations results in ocean, so that i could process the parameter for each run. Please let me know if i need to clarify my question further.
If you call a function in your monteExpr() in the OCEAN script, it is called for each point in the monte carlo, as the monte carlo runs. So I think that's what you want?
You may also find this solution useful.