Length limitation on Ocean sentence?

T

Tao Chen

Guest
Hi,

In my Ocean scripts I put lots of sentences into "if" like this:
if( (t) then
...
(lots of sentences)
...
)

It seems that the scripts cannot run correctly when the number of
sentences is quite big (over 100). Is the length limitation the right
reason?

Thanks!
 
Hi Tao !

What does 'Lots of sentences' mean ?
What is/are the error message(s)
What it is your spectre version (spectre -V , spectre -W)
More sentences to explain your problem could be helpful ;-)

Enjoy yourself !

Riad.
 
On Apr 9, 3:30 pm, Riad KACED <riad.ka...@gmail.com> wrote:
Hi Tao !

What does 'Lots of sentences' mean ?
What is/are the error message(s)
What it is your spectre version (spectre -V , spectre -W)
More sentences to explain your problem could be helpful ;-)

Enjoy yourself !

Riad.
Hi, Riad,

Thanks for the reply. Sorry for my English. What I mean is "a lot of
statements". It seems that I cannot put more than 100 statements
inside the "if" statement. There is no error messages. The ocean
scripts inside the "if" statement are simply ignored. I tried to
delete some statements inside "if", then it works well.
$ spectre -V
@(#)$CDS: spectre version 6.1.1 09/07/2007 06:37 (usimlx111) $
$ spectre -W
sub-version 6.1.1.487

My current solution is to put all the statements into a procedure, and
invoke the procedure inside the "if" statement.

Regards,
Tao
 
Tao Chen wrote, on 04/10/08 22:11:
On Apr 9, 3:30 pm, Riad KACED <riad.ka...@gmail.com> wrote:
Hi Tao !

What does 'Lots of sentences' mean ?
What is/are the error message(s)
What it is your spectre version (spectre -V , spectre -W)
More sentences to explain your problem could be helpful ;-)

Enjoy yourself !

Riad.

Hi, Riad,

Thanks for the reply. Sorry for my English. What I mean is "a lot of
statements". It seems that I cannot put more than 100 statements
inside the "if" statement. There is no error messages. The ocean
scripts inside the "if" statement are simply ignored. I tried to
delete some statements inside "if", then it works well.
$ spectre -V
@(#)$CDS: spectre version 6.1.1 09/07/2007 06:37 (usimlx111) $
$ spectre -W
sub-version 6.1.1.487

My current solution is to put all the statements into a procedure, and
invoke the procedure inside the "if" statement.

Regards,
Tao
The spectre subversion won't make a difference here - it's the IC version (if
anything).

In general I wouldn't expect a limit (there is actually a limit on the size of
the code vector, but it should be MUCH larger, and that will give an error about
the code vector size being exceeded). What you should do is report this to
customer support, with your OCEAN script, so that it can be investigated.

Regards,

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top