Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

monte carlo histogram data from ocean

Status
Not open for further replies.

JanniS

Newbie level 6
Joined
Oct 22, 2012
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,373
Hello

I am working on a ocean script for a monte carlo simulation.

I am simulating an comparator and the output is either high or low. I want to get the hisogram data from the monte carlo simulation in a vector to wrtie to a database. Everything works, but not the histogram data.


Any suggestions?

Thanks
Janni



The monte carlo part of the script looks like this:
Code:
declare( out[2])
monteCarlo( ?numIters "1" ?startIter "1" 
    ?analysisVariation 'mismatch ?sweptParam "None" 
    ?sweptParamVals "27" ?saveData t 
    ?nomRun "yes" ?append nil
    ?saveProcessParams t 
)
monteSelectResults()
monteExpr( "yy" "value(VT(\"/vout\") 1.3e-07)" )

monteRun()
out  = histogram("yy" ?numBins "2" ?density t)
 
Last edited by a moderator:

Everything works, but not the histogram data.

Code:
out  = histogram("yy" ?numBins "2" ?density t)

I've never used this myself, but may be the "out = " assignment doesn't work properly? See the OCEAN Reference, pp. 352-353 .
 

Thank you for your reply. I read the manual and tried all kind of combinations but without any results. However, I just discovered that it is possible to sweep parameters in the monte carlo GUI setup, which makes my simulations a little less dependent on me :)

Janni
 

... it is possible to sweep parameters in the monte carlo GUI setup, which makes my simulations a little less dependent on me :)

... resp. on the complex OCEAN language syntax. Right.
Good luck!
erikl
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top