Geoffrey_Coram wrote on Feb 6th, 2007, 6:46am:I'veseen an HSpice example that has
Gdio 5 0 CUR='1e-15*V(5)'
which would be a 2-port device.
So Counld you tell me what's it means?
Quote: HSPICE/SPICE™ Interface and SPICE™
2G.6 Reference Manual
Product Version 5.1.41
June 2004
Page 85:
Voltage-Controlled Current Sources
General form:
GXXXXXXX N+ N- <POLY(ND)>NC1+NC1- ... P0 <P1 ...> <IC=. .>
Examples:
G1 1 0 5 3 0 0.1M
GR 17 3 17 3 0 1M 1.5M IC=2V
GMLT 23 17 POLY(2) 3 5 1 2 0 1M 17M 3.5U IC=2.5,1.3
N+ and N- are the positive and negative nodes, respectively. Current flow is from the positive
node, through the source, to the negative node. POLY(ND) only has to be specified if the
source is multi-dimensional (one-dimensional is the default). If specified, ND is the number of
dimensions, which must be positive. NC1+, NC1-,. . . are the positive and negative controlling
nodes, respectively. One pair of nodes must be specified for each dimension. P0, P1, P2, . .
., Pn are the polynomial coefficients. The (optional) initial condition is the initial guess at the
value(s) of the controlling voltage(s). If not specified, 0.0 is assumed. The polynomial
specifies the source current as a function of the controlling voltage(s). The second example
above describes a current source with value
I = 1E-3*V(17,3)+1.5E-3*V(17,3)**2)