Question about Ocean command

Discussion in 'Cadence' started by vivian, Nov 7, 2005.

  1. vivian

    vivian Guest

    When I run the simulation in Ocean, the command "run" always gives
    error:

    Syntax error in "input.scs".

    I checked "input.scs", this is a file created when doing the
    simulation. And the error is in the last line.
    But there is only "// " in last line. what is wrong with it?

    The procedure of my simulation:
    created psf in spectre.
    Then open the ocean command line.
    ->ocean simulator('spectre)
    ->ocean design("/.../..../netlist")
    ->ocean analysis('tran ?stop 100n)
    ->ocean run

    Then the error comes..
     
    vivian, Nov 7, 2005
    #1
  2. My experience from other file-input simulators is that there must be a
    linefeed at the end of the file. Some programs (I think emacs) do not
    explicitly insert a linefeed at the end of the file and then the input
    routine of the simulator is failing.

    I would try to insert an extra push of the enter key at the end of the
    file and resimulate.
     
    Svenn Are Bjerkem, Nov 8, 2005
    #2
  3. vivian

    vivian Guest

    Thank you for your information.
    The netlist is created by system, not me. How can I control what will
    be input into the file?
     
    vivian, Nov 8, 2005
    #3
  4. vivian

    S. Badel Guest

    If there's an error on the last line, it might be that something was
    expected to happen but was not found before the end of the file.

    I expect that there's a real error in your netlist, and if you find
    this error you'll be able to trace it to its source.

    I notice that you are giving the netlist, the error might well be in your
    netlist. input.scs is a file created which includes the netlist you provide
    as well as analysis statements, includes, etc that you tell ocean to insert.

    I can not say anymore with the data you provided,

    Stéphane
     
    S. Badel, Nov 8, 2005
    #4
  5. I was going to make a similar comment to Stephane - you don't give the precise
    error message - nor the affected segment of the netlist. Without seeing this,
    there's little chance of debugging the error. Perhaps it's the last real line
    before the end of the input.scs which has the error - perhaps the command is
    incomplete?

    Can you:

    a) post the actual error message given
    b) post the last few lines from the input.scs - i.e. from the analysis
    statements to the end of file.

    This will probably help us figure out what's wrong.

    Regards,

    Andrew.
     
    Andrew Beckett, Nov 9, 2005
    #5
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.