Download Spice

Transcript
information as they would in SPICE2. The output of SPICE3 is also much less verbose than
SPICE2, in that the only data printed is that requested by the above cards.
Vector names are the same as in nutmeg, with this addition: a name such as @name[param],
where name is either the name of a device instance or model, denotes the value of the param
parameter of the device or model. See the SPICE3 User's Manual for details of what parameters
are available. The value is a vector of length 1. This function is also available with the show
command, and is available with variables for convenience for command scripts.
SPICE3 commands are as follows (these are only those commands not also available in nutmeg
consult the nutmeg manual page for more commands):
setcirc [circuit name]
Change the current circuit. The current circuit is the one that is used for the simulation
commands below. When a circuit is loaded with the source command (see below) it becomes the
current circuit.
op [.op card args]
Do an operating point analysis.
tran [.tran card args]
Do a transient analysis.
ac [.ac card args]
Do an ac analysis.
dc [.dc card args]
Do a dc transfer curve analysis.
listing [logical] [physical] [deck] [expand]
Print a listing of the current circuit. If the logical argument is given, the listing is with all
continuation lines collapsed into one line, and if the physical argument is given the lines are
printed out as they were found in the file. The default is logical. A deck listing is just like the
physical listing, except without the line numbers it recreates the input file verbatim (except that
it does not preserve case). If the word expand is present, the circuit will be printed with all
subcircuits expanded.
edit [file]
Print the current SPICE3 deck into a file, call up the editor on that file and allow the user to
modify it, and then read it back in, replacing the origonal deck. If a filename is given, then edit
that file and load it, making the circuit the current one.
resume
Resume a simulation after a stop.
show Show a device parameter.
alter Alter a device parameter.
state Print the state of the circuit. (This command is largely unimplemented.)
save [all] [output ...] or .save [all] [output ...]
Save a set of outputs, discarding the rest. If a node has been mentioned in a save command, it