The deck command, available only in electrical mode, creates a SPICE file of the current circuit hierarchy. The file name is prompted for, as is an analysis string. If an analysis string is given, it will be included in the SPICE file after prepending a `.', unless it happens to start with ``run'', in which case it is ignored. If a plot string has been created with the plot command, it will also be included as a .plot line.
Unless the variable SpiceListAll is set (with the !set command), only devices and subcircuits that are ``connected'' will be included in the SPICE file. A device or subcircuit is connected if any of the following is true:
Node numbers will be assigned internally, unless the nodmp button is active. In this case, user-specified names and the labels of ``vcc'' devices will be used as node tokens rather than the assigned integers. See 4.14.1 for information on node mapping.
If the variable CheckSolitary is set (with the !set command) then a warning will be issued if nodes are found with only one connection.