Ocean Question

T

ttnh

Guest
I am doing corners analysis using an ocean script I created. Half way
through the 400 iterations my script goes through I have a convergence
problem. So the math I perform at each cormer, ie ymax(IS("nodename"))
fails due to the fact that ymax can't evaluate nil, the "value" of
IS("nodename")) after a convergence failure. What I want to do is ignore
this one corner as I go through, I will address the bad convergence corners
later. I can't find a way to work around this and I was hoping you all
might be of help.

Thanks
Tim
 
You can use the errset() SKILL function to trap errors. See the documentation
on how to use it (essentially you surround the expression with errset, and the
return value of errset is either nil (if it was an error), or a list of the
result if OK).

i.e.

when(errset(max=ymax(i("/inst/term" ?result "dc")))
printf("all OK\n")
)

Note, IS() isn't an OCEAN function - you may encounter problems with
this in certain situations, so I'd advise using i() or v().

Andrew.

On Tue, 16 Sep 2003 15:39:31 -0400, "ttnh" <tombrady32000@yahoo.com> wrote:

I am doing corners analysis using an ocean script I created. Half way
through the 400 iterations my script goes through I have a convergence
problem. So the math I perform at each cormer, ie ymax(IS("nodename"))
fails due to the fact that ymax can't evaluate nil, the "value" of
IS("nodename")) after a convergence failure. What I want to do is ignore
this one corner as I go through, I will address the bad convergence corners
later. I can't find a way to work around this and I was hoping you all
might be of help.

Thanks
Tim
--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 

Welcome to EDABoard.com

Sponsor

Back
Top