ocean: reset analysis() values

D

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
 
On 6 Jun 2006 12:54:54 -0700, "danmc" <spam@mcmahill.net> wrote:

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
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
Principal European Technology Leader
Cadence Design Systems, UK.
 

Welcome to EDABoard.com

Sponsor

Back
Top