The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> AMS Simulators >> Running the AMS simulator with an OCEAN Script
https://designers-guide.org/forum/YaBB.pl?num=1193819073

Message started by Rob on Oct 31st, 2007, 1:24am

Title: Running the AMS simulator with an OCEAN Script
Post by Rob on Oct 31st, 2007, 1:24am

Hi all,

I am trying to run the AMS simulator with an OCEAN Script.  My simulation is quite large, so I only want to save the voltages of the analog nets that I am interested in.  When I save the desired voltages with the command,
>save( 'v "/net1" "/net2" ),
all other analog voltage nets in the simulation are saved as well.  I tried explicitly setting the save mode to selected with the command,
>saveOption( 'save "selected"),
with no change in results.  I also tried changing the save mode by including a simulation file that includes the command,
>Name options save=selected,
which also yielded no change in the result.  Although, when I set this last option to save=none, I get no saved data, as expected.  So it seems I can save all or none of my analog nets.  Does anyone have any suggestions how I can save only the nets I want.

Thanks,

Rob

Title: Re: Running the AMS simulator with an OCEAN Script
Post by jbdavid on May 2nd, 2008, 1:39am

using ocean to probe the signals, leaves an extra layer between the simulator and the commands..
I finally started writing tcl scripts to setup the signals to save and plot..
and discovered that its also allows me to control/modify the simulation itself, change values, run tasks etc..
now this only works for AMS, but it works quite well and gives you access to all simulation signals & variables not just schematic nets.

 

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.