| Author |
Message |
vivian
Guest
|
Posted:
Mon Oct 24, 2005 4:10 pm Post subject:
ocnPrint() problem in spectre |
|
|
Hi, I am trying to use ocnPrint() to print the output in text data in
spectre. But it keeps saying Syntax error in ocnPrint. I can not
figure our what is wrong.
I tried both of the following:
ocnPrint(v("7"))
and
ocnPrint(v("/7"))
Thank you..
|
|
| Back to top |
|
 |
Svenn Are Bjerkem
Guest
|
Posted:
Tue Oct 25, 2005 12:10 pm Post subject:
Re: ocnPrint() problem in spectre |
|
|
In article <1130165590.337681.259210@g49g2000cwa.googlegroups.com>,
wangllu@yahoo.com says...
| Quote: | Hi, I am trying to use ocnPrint() to print the output in text data in
spectre. But it keeps saying Syntax error in ocnPrint. I can not
figure our what is wrong.
I tried both of the following:
ocnPrint(v("7"))
and
ocnPrint(v("/7"))
|
Do you need to escape the "'s.?
ocnPrint(v(\"/7\"))
--
Svenn |
|
| Back to top |
|
 |
vivian
Guest
|
Posted:
Tue Oct 25, 2005 4:10 pm Post subject:
Re: ocnPrint() problem in spectre |
|
|
I tried it, does not work either.....
|
|
| Back to top |
|
 |
Andrew Beckett
Guest
|
Posted:
Mon Oct 31, 2005 1:10 am Post subject:
Re: ocnPrint() problem in spectre |
|
|
On 24 Oct 2005 07:53:10 -0700, "vivian" <wangllu@yahoo.com> wrote:
| Quote: | Hi, I am trying to use ocnPrint() to print the output in text data in
spectre. But it keeps saying Syntax error in ocnPrint. I can not
figure our what is wrong.
I tried both of the following:
ocnPrint(v("7"))
and
ocnPrint(v("/7"))
Thank you..
|
I'm wondering if you have a quote or bracket mismatch earlier in the code
which is causing this. There is no particular reason why these lines should
fail - certainly not with syntax errors. I just used an identical expression
in a testcase I have, and it worked perfectly, as I'd expected.
Regards,
Andrew. |
|
| Back to top |
|
 |
John O'Donovan
Guest
|
Posted:
Mon Oct 31, 2005 9:10 am Post subject:
Re: ocnPrint() problem in spectre |
|
|
vivian wrote:
| Quote: | Hi, I am trying to use ocnPrint() to print the output in text data in
spectre. But it keeps saying Syntax error in ocnPrint. I can not
figure our what is wrong.
I tried both of the following:
ocnPrint(v("7"))
and
ocnPrint(v("/7"))
Thank you..
|
Hi,
Just making sure that you are calling ocnPrint from Ocean not not
directly from the Spectre netlist...
Regards,
John |
|
| Back to top |
|
 |
vivian
Guest
|
Posted:
Mon Nov 07, 2005 9:10 pm Post subject:
Re: ocnPrint() problem in spectre |
|
|
Thank you all for your help.
Do you mean that I should start Ocean command after the spectre netlist
is
created? |
|
| Back to top |
|
 |
|
|
|
|