ocnPrint() problem in spectre

Discussion in 'Cadence' started by vivian, Oct 24, 2005.

  1. vivian

    vivian Guest

    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..
     
    vivian, Oct 24, 2005
    #1
  2. Do you need to escape the "'s.?

    ocnPrint(v(\"/7\"))
     
    Svenn Are Bjerkem, Oct 25, 2005
    #2
  3. vivian

    vivian Guest

    I tried it, does not work either.....
     
    vivian, Oct 25, 2005
    #3
  4. 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.
     
    Andrew Beckett, Oct 30, 2005
    #4
  5. Hi,

    Just making sure that you are calling ocnPrint from Ocean not not
    directly from the Spectre netlist...

    Regards,
    John
     
    John O'Donovan, Oct 31, 2005
    #5
  6. vivian

    vivian Guest

    Thank you all for your help.
    Do you mean that I should start Ocean command after the spectre netlist
    is
    created?
     
    vivian, Nov 7, 2005
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.