next up previous contents index
Next: Unused Option Variables Up: Variables Previous: Syntax Control Variables   Contents   Index


Batch Mode Option Variables

The following variables are mostly familiar from Berkeley SPICE2, and are used by WRspice when running in batch mode. Generally, these would be included in a .options line in the SPICE input file. They have no effect when running WRspice interactively.

acct
When WRspice is run in batch mode, print out resource usage information at the end of the run, similar in format to the output of the rusage all command. This boolean variable has meaning only when set in the input file in a .options line.

dev
This option variable is unique to WRspice. When given, a listing of all device instances and parameters is printed in the batch output, in a format similar to the output of the ``show -d *'' command. This boolean variable has meaning only when set in the input file in a .options line.

list
When WRspice is run in batch mode, print a circuit listing before running the simulation. This boolean variable has meaning only when set in a .options line of the input file.

mod
This option variable is unique to WRspice. Logically, it is the inversion of the SPICE2 nomod option, if given a listing of device models and parameters is added to batch output. The format is similar to the output of the ``show -m *'' command. This boolean variable has meaning only when set in a .options line of the input file.

node
The SPICE2 variable to print a node summary. When given, a list of the node voltages and branch currents after dc operating point analysis is printed. The values are printed whether or not operating point analysis succeeds. This boolean variable has meaning only when set in the .options line of the input file.

opts
When WRspice is run in batch mode, print out all the variables set and their values. This boolean variable has meaning only when set in the .options line of the input file.

post
This option variable is similar to the post option of HSPICE. It must be set to one of the following literal keywords.

post=csdf
In batch mode, if no rawfile (-r option) was specified on the WRspice command line, a CSDF file will be produced for the batch run. The name of the file will be that of the input file suffixed with ``.csdf'' if the input file name is known, or ``unknown.csdf'' if the input file name can't be determined.

post=raw
In batch mode, if no rawfile (-r option) was specified on the WRspice command line, a rawfile will be produced for the batch run. The name of the file will be that of the input file suffixed with ``.raw'' if the input file name is known, or ``unknown.raw'' if the input file name can't be determined.


next up previous contents index
Next: Unused Option Variables Up: Variables Previous: Syntax Control Variables   Contents   Index
Stephen R. Whiteley 2022-09-18