On Aug 26, 1:35 am, Riad KACED <riad.ka...@[EMAIL PROTECTED]
> wrote:
> Dear AG,
>
> I do agree with St=E9phane, you should escape the " with an \ when your
> stings are within the monteExpr command.
> So the following syntax:
> monteExpr( "avgIvdd" "average(clip(IT(\"/V6/MINUS\") 1n 4n))" )
> should be fine. I don't see any problem with the IT command as well.
>
> I was checking one of my oceans just now, and did successfully run a
> script containing:
> monteExpr( "avgCurrent" "average(clip(IT(\"/V1/PLUS\") 2e-07
> 3e-07))" )
> My MC get at the end with no troubles at all.
> If I dare trying the unescaped syntax as St=E9phane mentioned above,
> then my ocean yells at me:
> ;
> ocean> load("/tmp/monteCarlo.ocn")
> monteExpr( "avgCurrent" "average(clip(IT("/V1/PLUS") 2e-07
> 3e-07))" )
> ^
> SYNTAX ERROR found at line 19 column 67 of file /tmp/monteCarlo.ocn
> *Error* lineread/read: syntax error encountered in input
> *Error* load: error while loading file - "/tmp/monteCarlo.ocn"
> ;
>
> Well it did work very fine in my case but you don't care, don't you ?
> I'm suspecting a spectre/ocean bug so far.
> You seem you can get access to the cds SourceLink, so why don't you
> give a look at the SR11297882 to check out your cadence version
> against a similar problem re****ted in that ticket. Contacting your
> cadence customer sup****t would be the best thing in this case.
>
> Cheers,
> Riad.
Hi Riad,
Thanks for your reply.
I'll recheck things and get back to you.
Regards,
Anand


|