Spice3f5

Independent voltage source

Instance line
Vname …
Terminals
V+, V-
Described in
Voltage and current sources
Source
src/lib/dev/vsrc/vsrc.c

Instance parameters (20)

Input and output (3)

nametypedescriptionnotes
dcrealD.C. source valueprincipal: the value given without a keyword
acmagrealA.C. Magnitudeac only; principal: the value given without a keyword
acphaserealA.C. Phaseac only; listed by show only when all parameters are asked for

Input only (8)

nametypedescriptionnotes
pulsereal vectorPulse description
sine (also sin)real vectorSinusoidal source description
expreal vectorExponential source description
pwlreal vectorPiecewise linear description
sffmreal vectorSingle freq. FM descripton
acreal vectorAC magnitude, phase vector
distof1real vectorf1 input for distortion
distof2real vectorf2 input for distortion

Output only (9)

nametypedescriptionnotes
pos_nodeintegerPositive node of sourcelisted by show only when all parameters are asked for
neg_nodeintegerNegative node of sourcelisted by show only when all parameters are asked for
functionintegerFunction of the sourcelisted by show only when all parameters are asked for
orderintegerOrder of the source functionlisted by show only when all parameters are asked for
coeffsreal vectorCoefficients for the functionlisted by show only when all parameters are asked for
acrealrealAC real partlisted by show only when all parameters are asked for
acimagrealAC imaginary partlisted by show only when all parameters are asked for
irealVoltage source current
prealInstantaneous power

Parameters are set on the instance or .model line as keyword=value, and read back with @name[keyword] or the show and showmod commands. See the device reference.