3.7  G: Voltage Controlled Current Source

3.7.1  Syntax

Device

Gxxxxxxx n+ n– nc+ nc– value
Gxxxxxxx n+ n– nc+ nc– expression
.VCCS label n+ n– nc+ nc– expression

Model (optional)

.model mname TABLE {args}

3.7.2  Purpose

Voltage controlled current source, or transconductance block.

3.7.3  Comments

N+ and n– are the positive and negative element (output) nodes, respectively. Current flow is from the positive node, through the source, to the negative node. Nc+ and nc– are the positive and negative controlling nodes, respectively. Value is the transconductance in mhos.

The letter G can also be used to select the vccap, vcr, and vcg devices using a syntax compatible with some other simulators.

You may specify the value in any of these forms:
  1. A simple value. This is the transconductance.

  2. An expression, as described in the behavioral modeling chapter. The expression can specify the output current as a function of input voltage, or the transconductance as a function of time.

  3. A model, as described in the behavioral modeling chapter. The table model describes a table of output current vs. input voltage.

3.7.4  Probes

The standard probes for all basic elements are all available. See the print command for documentation.