The PRINT line defines the contents of a tabular listing.
.PRINT <analysis type> [output variable]* |
analysis type
Is the type of the analysis for which the specified outputs are desired. Must be OP, PZ, TF, DC, AC, TRAN, NOISE, DISTO, SENS. Only one analysis type can be specified for each .PRINT command.
output variable
Following the analysis type is a list of the output variables. The values of the output variables are printed as a table where each column corresponds to one output variable. You can specify individual vectors or complex expressions that have as their subject the vectors.
For the ac analysis, the voltages and currents can be represented as magnitude, phase, real part, imaginary part, or decibels (20*log10(magnitude)).
Output variables for the voltages:
Out Variable | Description |
V(node) VM(node) |
The voltage at the node specified relative to the ground node (GND or 0). |
V(node+,node-) VM(node+,node-) |
The voltage difference between nodes node+ and node-. |
VR(node) | The real part of the voltage at the node specified relative to the ground node (GND or 0). |
VR(node+,node-) |
The real part of the voltage difference between nodes node+ and node-. |
VI(node) | The imaginary part of the voltage at the node specified relative to the ground node (GND or 0). |
VI(node+,node-) |
The imaginary part of the voltage difference between nodes node+ and node-. |
VP(node) | The phase of the voltage at the node specified relative to the ground node (GND or 0). |
VP(node+,node-) |
The phase of the voltage difference between nodes node+ and node-. |
VDB(node) | The magnitude in decibels of the voltage at the node specified relative to the ground node (GND or 0). |
VDB(node+,node-) |
The magnitude in decibels of the voltage difference between nodes node+ and node-. |
Output variables for the current flowing in the independent voltage source. Positive current flows from the positive node, through the source, to the negative node:
Out Variable | Description |
I(vsrc) IM(vsrc) |
The current flowing in the independent voltage source vsrc. |
IR(vsrc) | The real part of the current flowing in the independent voltage source vsrc. |
II(vsrc) | The imaginary part of the current flowing in the independent voltage source vsrc. |
IP(vsrc) | The phase of the current flowing in the independent voltage source vsrc. |
IDB(vsrc) | The magnitude in decibels of the current flowing in the independent voltage source vsrc. |
Output variable for any output vector.
Out Variable | Description |
vector MAG(vector) |
The magnitude of any vector resulting from the simulation. |
RE(vector) | The real part of any vector resulting from the simulation. |
IMAG(vector) | The imaginary part of any vector resulting from the simulation. |
PH(vector) | The phase of any vector resulting from the simulation. |
DB(vector) | The magnitude in decibels of any vector resulting from the simulation. |
Expressions:
Out Variable | Description |
(expression) |
Any expression on the output vectors.
Involving the node voltages, the current flowing in the
independent voltage sources, and the output parameters. The expressions must be enclosed in parentheses. |
Output parameters are those additional parameters which are available for many types of instances for the output of operating point and debugging information. These parameters are specified as "@device[keyword]" and must be explicitly saved using the .SAVE command.
The functions and operators that operate on vectors are different from those used in the expressions of the non-linear generators. See also Expressions with vectors.
The PRINT command takes effect only when the simulation is started from a text document. The simulations started from a graphic document ignore the commands PRINT and PLOT.
.PRINT AC VP(NET2) VDB(NET1, NET2)
.PRINT DC V(NET1) @R1[i] (V(NET2)*V(NET3))
.PRINT NOISE INOISE ONOISE DB(INOISE) DB(ONOISE)