next up previous contents index
Next: File Menu Up: Xic Variables Previous: Side Menu Commands   Contents   Index


SPICE Interface

The following !set keywords affect the interface to the WRspice simulator, and SPICE output in general.

NoAsyncSpice
Value: boolean.
When set, the asynchronous interface to WRspice is not used during simulations initiated with the run command.

SpiceListAll
Value: boolean.
When set, all devices and subcircuits in the schematic will be included in SPICE output. Otherwise, only devices and subcircuits that are ``connected'' will be included, as explained in the deck and run command descriptions.

SpiceAlias
Value: string.
This variable is set to a string which will modify the printing of device names in SPICE output. The aliasing operates on the first token of device lines. The format of the value string is
prefix1=newprefix1 prefix2=newprefix2 ...
This will cause lines beginning with prefix to have prefix replaced with newprefix. If the ``=newprefix'' is omitted, that line will not be printed. For example, to map all devices that begin with `B' to `J', and to suppress all `G' devices, the full command is
!set SpiceAlias B=J G.
Note that there can be no space around the `='. After this command is given, the indicated mappings will be performed as SPICE text is produced.

SpiceHost
Value: host name string.
This will set the name of the host which maintains a server for remote WRspice runs. If set, this will override the value of the SPICE_HOST environment variable. The host name specified in the SPICE_HOST environment variable and the SpiceHost !set variable can have a suffix ``:portnum'', i.e., a colon followed by a port number. The port number is the port used by the wrspiced program on the specified server, which usually defaults to 3004. If the server uses a non-standard port, and the spice/tcp service has not been registered (usually in the /etc/services file) on this port, the port number must be provided.

SpiceProg
Value: program path string.
This will set the full path name of the WRspice executable. This is useful if there are multiple versions of WRspice available, or the binary has been renamed. If given, the value supersedes the values from environment variables or the !set variables described below.

SpiceExecDir
Value: directory path string.
This will set the directory to search for the WRspice executable. If given, the value overrides the
SPICE_EXEC_DIR environment variable. The default search location is ``/usr/local/bin'', or, if the XT_PREFIX environment variable has been set, its value will replace ``/usr/local''.

SpiceExecName
Value: program name string.
This will set the name of the WRspice binary. If given, the value overrides the SPICE_EXEC_NAME environment variable. The default name is ``wrspice''.

CheckSolitary
Value: boolean.
If set, warning messages will be issued when electrical netlists are generated for nodes having only one connection. This affects the run and deck commands, and the Dump Elec Netlist command in the Extract Menu.

NoSpiceTools
Value: boolean.
When running WRspice from Xic, by default the WRspice toolbar is shown, if WRspice is running on the local machine. This gives the user much greater flexibility and control over WRspice. If this variable is set, before the connection to WRspice is established, the toolbar will not be visible.


next up previous contents index
Next: File Menu Up: Xic Variables Previous: Side Menu Commands   Contents   Index
Stephen R. Whiteley 2006-10-23