# PSPICE SYNTAX & COMMAND SUMMARY

### G - Voltage-Controlled Current Source

```General Formats :

G|name| |+ node| |- node|
+       |+ control node| |- control node| |transconductance|
or
G|name| |+ node| |- node| POLY(|value|)
+       (|+ control node|, |- control node| ...)
+       |polynomial coefficient value ...|

Both formats declare a current source whose magnitude is
related to the voltage difference between nodes |+ control node|
and |- control node|.

The first form generates a linear relationship.  Thus :
Itot = |transconductance|*(|+control node|-|- control node|)
where Itot is the current thru declared device G|name|.

The second form generates a nonlinear response.  The dimension of
the polynomial is given by the |value|.  The dimension means the
number of pairs of controlling nodes. See example #3 below.

In all cases positive current flows from |+ node| through the
source and out |- node|.

Examples :

G1 1 2 3 4 10
gives I(G1) = 10 * (V(3) - V(4))

G2 5 6 POLY(1) (7,8) 10 20 30
gives I(G2) = 10 + 20 * (V(7) - V(8)) + 30 * (V(7) - V(8))^2

G3 1 2 POLY(2) (3,4) (5,6) 10 20 30
gives I(G3) = 10 + 20 * (V(3) - V(4)) + 30 * (V(5) - V(6))
```

COMPONENTS
B C D E F G H I J K L M Q R S T V W X Sources

COMMANDS
* ; + .AC .DC .END .ENDS .FOUR .IC .INC .LIB .MC .MODEL .NODESET .NOISE
.OP .OPTIONS .PLOT .PRINT .PROBE .SENS .SUBCKT .TEMP .TF .TRAN .WIDTH