ocean: reset analysis() values

Discussion in 'Cadence' started by danmc, Jun 6, 2006.

  1. danmc

    danmc Guest

    It appears that when you use something like the following in ocean:

    analysis('tran ?stop 1n)

    it is saying "set the stop time in transient analysis to 1n but don't
    change any other transient parameters". In other words:

    analysis('tran ?start 1n ?stop 10n)
    run('tran)

    analysis('tran ?stop 5n)
    run('tran)

    will run the 2nd transient from 1ns to 5ns. So is there a way to
    restore all of the parameters to their defults so you could do
    something like

    analysis('tran ?start 1n ?stop 10n)
    run('tran)

    reset('tran) ;; restore all the simulation parameters to the defaults
    analysis('tran ?stop 5n)
    run('tran)


    Thanks
    -Dan
     
    danmc, Jun 6, 2006
    #1
  2. The delete() function can be used for this:

    delete('analysis 'tran)

    It doesn't reset, but then when you add another transient analysis, it
    will start from default values.

    Andrew.
     
    Andrew Beckett, Jun 7, 2006
    #2
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.