User Guide
PSpice-equivalent parts
179
Figure 52 GMULT part example.
With this device, the output is a current is equal to the
ratio of the voltages at input pins 1 and input pins 2. If
V(%IN2+, %IN2-) = 0, the output depends upon V(%IN1+,
%IN1-) as follows:
if V(%IN1+, %IN1-) = 0, output = 0
if V(%IN1+, %IN1-) > 0, output = MAXREAL
if V(%IN1+, %IN1-) < 0, output = -MAXREAL
where MAXREAL is a PSpice internal constant
representing a very large number (on the order of 1e30). In
general, the result of evaluating an expression is limited to
MAXREAL. Note that the output of the part can also be
used as part of the controlling function.
To create this device, you would first make a new part,
GDIV, based on the GMULT part. Edit the GDIV template
to divide the two input values rather than multiply them.
Lookup tables (ETABLE and GTABLE)
The ETABLE and GTABLE parts use a transfer function
described by a table. These device models are well suited
for use with measured data.
The ETABLE and GTABLE parts are defined in part by the
following properties (default values are shown):
ETABLE
TABLE (-15, -15), (15,15)
EXPR V(%IN+, %IN-)
GTABLE
Pspug.book Page 179 Wednesday, November 11, 1998 1:14 PM