Manuals >Netlist Translator for SPICE & Spectre >Chapter 7: Translating a Device
Print version of this Book (PDF file)
prevnext

Gxxxxxxx

Linear Voltage-Controlled Current Source: This device is translated as a Symbolically Defined Device. For information on SDD's, refer to Using a Symbolically Defined Device.

Example SPICE Command Line:
g1 1 2 3 4 .1mMho
SPICE dialect and netlist syntax:

Spice2/3:

gid n1 n2 cn1 cn2 value

PSpice:

gid n1 n2 cn1 cn2 value
gid n1 n2 poly(1) cn1 cn2 value
nonlinear: gid n1 n2 poly(n)...

HSpice:

gid n1 n2 cn1 cn2 value
gid n1 n2 poly(1) cn1 cn2 value
nonlinear: gid n1 n2 poly(n)...

ADS Netlist Syntax:

SDD:gid cn1 cn2 n1 n2 I[1,0]=0 F[2,0]=_v2-(value*_v1)

ADS Schematic Symbol:

Instance Parameters:

gid

=

Source element name

n1

=

Positive Node

n2

=

Negative Node

cn1

=

Positive Controlling Node

cn2

=

Negative Controlling Node

value

=

Transconductance (in mhos).

poly()

=

Polynomial function

Comments:

The following syntax extensions are not supported by the translator. If these keywords or parameters are found, component translation will fail and a warning message will be written to the translation log file.

PSpice

TABLE, LAPLACE, FREQ, CHEBYSHEV

HSpice Keywords:

PWL, AND, NAND, OR, NOR, DELAY, VCR, VCCAP

HSpice Parameters:

MAX, MIN, SCALE, M, TC1, TC2, ABS, DELTA, SMOOTH, IC, NPDELAY


prevnext