3.22 V: Independent Voltage Source
3.22.1 Syntax
Device
Vxxxxxxx n+ n– value
Vxxxxxxx n+ n– expression
Vxxxxxxx n+ n– GENERATOR scale
.vsource label n+ n– expression
Model (optional)
.model mname TABLE {args}
3.22.2 Purpose
Independent voltage source.
3.22.3 Comments
N+ and n– are the positive and negative element nodes,
respectively. Value is the voltage in Volts.
All of the SPICE time dependent functions (pulse, sin, exp, pwl, and sffm are supported. An additional
function generator emulates a laboratory type function generator, for
a more convenient signal input to the circuit.
See the chapter “Behavioral modeling” for more information.
You may specify the value in any of these forms:
- A simple value. This is the DC voltage.
- An expression, as described in the behavioral modeling chapter. The
expression can specify the voltage as a function of time.
- A model, as described in the behavioral modeling chapter. The
table model describes a table of voltage vs. time.
- The keyword generator which specifies a time dependent waveform
set by the generator command for transient analysis, or a swept
voltage for AC analysis.
3.22.4 Probes
The standard probes for all basic elements are all available. See the
print command for documentation.