Talk About Network

Google





Computer Aided Design - CAD > Cadence > Re: extracting ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 10 Topic 4184 of 4397
Post > Topic >>

Re: extracting mean/sigma from monteCarlo run, using ocean

by AG <agaurav009@[EMAIL PROTECTED] > Aug 22, 2008 at 03:53 AM

On Aug 22, 11:41 am, "S. Badel" <stephane.ba...@[EMAIL PROTECTED]
>
wrote:
> > On ocean prompt, the following syntax returns true:
>
> > ocean> monteExpr( "avgIvdd" "average(clip(IT(\"/V6/MINUS\") 1n 4n))" )
> > ocean> t
>
> > and it returns error for
>
> > ocean> monteExpr( "avgi" "average(clip(i("V6:p") 2n 4n))")
> > *Error* lineread/read: syntax error encountered in input
>
> > I still use both.
>
> There is a problem here :
> "average(clip(i("V6:p") 2n 4n))"
>
> The inner quotes (") should be escaped as \", because it is inside of a
s=
tring literal.
> "average(clip(i(\"V6:p\") 2n 4n))"
>
> conversely you can't do this :
> plot(clip(IT(\"/V6/MINUS\") 1n 4n)))
>
> you must un-escape the quotes.
>
> Think of it this way : the valid skill expression is
clip(IT("/V6/MINUS")=
 1n 4n)), and when you
> surround it with quotes (as you do in monteExpr) you must escape all the
=
existing quotes.
>
> St=E9phane




Thanks a lot Stephane.
Though I don't get any error on the ocean prompt when I write

monteExpr( "avginew" "-1.0*average(clip(i(\"V6:p\") 1n 1.3n))")

But after monteRun, I still get this error as follows:

Error found by spectre during Monte Carlo analysis `mc1'.
    ERROR (SPECTRE-8003): mc1-003_subckts: Error evaluating ocean
expression
        `avginew=3D-1.0*average(clip(i("V6:p") 1n 1.3n))'.

though I can successfully get average using

plot(-1.0*average(clip(i("V6:p") 1n 1.3n)))

Can you throw some more light on it?
 




 10 Posts in Topic:
extracting mean/sigma from monteCarlo run, using ocean
AG <agaurav009@[EMAIL   2008-08-22 01:34:04 
Re: extracting mean/sigma from monteCarlo run, using ocean
"S. Badel" <  2008-08-22 11:41:27 
Re: extracting mean/sigma from monteCarlo run, using ocean
AG <agaurav009@[EMAIL   2008-08-22 03:53:26 
Re: extracting mean/sigma from monteCarlo run, using ocean
"S. Badel" <  2008-08-22 15:11:24 
Re: extracting mean/sigma from monteCarlo run, using ocean
AG <agaurav009@[EMAIL   2008-08-22 06:34:35 
Re: extracting mean/sigma from monteCarlo run, using ocean
Riad KACED <riad.kaced  2008-08-25 16:35:20 
Re: extracting mean/sigma from monteCarlo run, using ocean
AG <agaurav009@[EMAIL   2008-08-26 00:29:27 
Re: extracting mean/sigma from monteCarlo run, using ocean
AG <agaurav009@[EMAIL   2008-08-26 04:46:00 
Re: extracting mean/sigma from monteCarlo run, using ocean
Riad KACED <riad.kaced  2008-08-26 09:46:16 
Re: extracting mean/sigma from monteCarlo run, using ocean
AG <agaurav009@[EMAIL   2008-08-27 00:32:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 13:30:06 PST 2009.