next up previous contents index
Next: The devs Button: Device Up: The Side Menu: Geometry Previous: The break Button: Cut   Contents   Index


The deck Button: Save SPICE File

\epsfbox{images/deck.eps}

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:

Note that it is possible for a subcircuit to have no connections on the .subckt line, if it contains a global node. For example, the subcircuit might consist of a decoupling capacitor to ground, from a global power supply node (e.g., ``vdd!'').

Node names will be assigned according to the node name mapping (see 7.11 currently in force.

After the new file is created, the user is given the option of viewing it in a File Browser window.

If the variable CheckSolitary is set (with the !set command) then a warning will be issued if nodes are found with only one connection.


next up previous contents index
Next: The devs Button: Device Up: The Side Menu: Geometry Previous: The break Button: Cut   Contents   Index
Stephen R. Whiteley 2024-09-29