Simstd Apr 2003 Hints
Simstd Apr 2003 Hints
Simstd Apr 2003 Hints
Q. How do I make my long simulation more memory to ground to these nodes to allow spice to achieve a DC
efficient ? solution .OPTIONS DEPATH =<val> .The spiceusr1.pdf in
chapter 2.12 contains options broken up into categories like
When you run a long simulation time analysis the evalu-
convergence and we welcome any customer feedback on
ated time points are normally all held in memory until
the manual information.
the end time is reached. All the data is then written out to
the output rawfile. This means a large amount of system
memory can be used up and also has to be tracked. If in Q. I kill my SmartSpice program but the license is not
the input deck the line “.OPTIONS RAWPTS=300 POST” available in Linux ?
is included then as soon as the maximum number of When you invoke SmartSpice you can run it in the Fore-
points is reached given by “RAWPTS=300” then all the ground or the background by use of the “&” character at the
vector data is saved to the raw data output file and the end of the command line. Programs run in the background
memory is free to be re-used. In this way the output raw- return the prompt straight away to the invoking window,
file is incrementally increased in size every time this limit programs run in the foreground wait for the completion
is reached. The memory required by the simulation run is of the program to return to the prompt. If the program
therefore reduced, and with less memory to manage, the is run in the foreground and then <cntrl>”C” is done the
simulation is run faster. This is particularly useful on the operating system still holds onto the process hence License
PC platform where some of the memory is required for is not available. To put a process into the background the
the operating system and RAM size is less than 1Gig. <cntrl>”Z” should be done AND then the command “bg”
to place in the background and the system will release the
Q. What is the difference between .MODIF & .ALTER process. The License is therefore available for the next ver-
for simulation run variance ? sion of SmartSpice. ( There is a License time-out feature
but this will take a while to release the License )
The .ALTER is used to globally change the circuit topol-
ogy like slotting in another sub-circuit or changing a
component. This change in the circuit is like submitting Q. I know SPICE is an Analog simulator but can I gen-
a new deck and can be incorporated in a distributed erate a digital source ?
system among a group of computers to get maximum There are 2 steps to generating a digital source, first the wave-
utilization of the resources. The .MODIF is more for form timing and second the pulse train of “0”’s and “1”.
changing parameter values associated with a model etc.
A SPICE input deck example is: