Error in ocean script!!!

Discussion in 'Cadence' started by Samiran, Jun 8, 2010.

  1. Samiran

    Samiran Guest

    Dear all,

    I am trying to run a batch simulation through ocean script where
    dependint upon input signal frequency transient analysis simulation
    time will be fixed. For this my approach is:

    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ....
    stop_time = 1/freq ; freq is a design variable which changes in
    each iteration.
    ....
    analysis('tran ?start 0 ?stop stop_time ?errpreset "conservative" ?
    write "spectre.ic" ?writefinal "spectre.fc" ?annotate "status" ?
    finalTimeOp t ?maxiters "5" ?threshold "0.0" ?detail "node" ?sort
    "name" )
    ....

    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    But when I run the script I am getting an error:

    Error found by spectre during transient analysis `tran'.
    Stop time must follow start.
    Analysis `tran' terminated prematurely due to error.


    But when I hardcode the stop_time inside the script like I have shown
    below, it is working fine.

    stop_time = 0.2m


    Please help me!!!

    Regards
    Samiran
     
    Samiran, Jun 8, 2010
    #1
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.