The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> MonteExpr and Histogram in Ocean
https://designers-guide.org/forum/YaBB.pl?num=1243938929

Message started by Leila on Jun 2nd, 2009, 3:35am

Title: MonteExpr and Histogram in Ocean
Post by Leila on Jun 2nd, 2009, 3:35am

Hi all,
I have tried to plot a histogram  for delay in a simple inverter after running the monte carlo trans in scs file, I  start running my  script in ocean to view the histogram results by using:

MonteExpr("delay" 'delay(?wf1 in ?value1 0.6 ?nth1 5 ?edge1 'rising ?wf2 out ?value2 0.6 ?nth2 5 ?edge2 'falling))

histogram("delay" ?numBins 100 ?density t)

but apparently something is wrong and I can not see the histogram, let me tell you about the warning messages

Monte carlo results has not been selected or invalid.

Please advice to help me to sort this issue. :-/

Thanks
Leila

Title: Re: MonteExpr and Histogram in Ocean
Post by Mohammed Omar on Jun 13th, 2009, 1:04pm

Hi Leila,

I guess you need to add the following line before evaluating the expressions

monteSelectResults()

Regards,
Mohammed Omar

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