Linear
Hxxx n+ n- <CCVS> vn1 transresistance <MAX=val> <MIN=val>
+ <SCALE=val> <TC1=val> <TC2=val> <ABS=1> <IC=val>
Polynomial
Hxxx n+ n- <CCVS> POLY(ndim) vn1 <... vnndim> <MAX=val>MIN=val>
+ <TC1=val> <TC2=val> <SCALE=val> <ABS=1> p0 <p1...> <IC=vals>
Piecewise Linear
Hxxx n+ n- <CCVS> PWL(1) vn1 <DELTA=val> <SCALE=val> <TC1=val>
+ <TC2=val> x1,y1 ... x100,y100 <IC=val>
Multi-Input Gates
Hxxx n+ n- gatetype(k) vn1, ... vnk <DELTA=val> <SCALE=val> <TC1=val>
+ <TC2=val> x1,y1 ... x100,y100 <IC=val>
Delay Element
Hxxx n+ n- <CCVS> DELAY vn1 TD=val <SCALE=val> <TC1=val> <TC2=val>
+ <NPDELAY=val>
DELAY Keyword for the delay element. The delay element is the same as a current controlled voltage source except it is associated by a propagation delay TD.This element facilitates the adjustment of propagation delay in the subcircuit model process. DELAY is a Star-Hspice keyword and should not be used as a node name.
DELTA Used to control the curvature of the piecewise linear corners. Defaults to 1/4 of the smallest of the distances between breakpoints. The maximum is 1/2 of the smallest of the distances between breakpoints.
gatetype(k) May be AND, NAND, OR, or NOR. The value of k is the number of inputs of the gate. The x and y terms represent the piecewise linear variation of output as a function of input. In the multi-input gates only one input determines the state of the output.
Hxxx Current controlled voltage source element name. Must begin with "H", which may be followed by up to 15 alphanumeric characters.
IC Initial condition. This is the initial estimate of the value(s) of the controlling current(s) in amps. Default=0.0.
MAX Maximum voltage value. The default is undefined, which sets no maximum value.
MIN Minimum voltage value. The default is undefined, which sets no minimum value.
n+/- Positive or negative controlled source connecting nodes.
NPDELAY Sets the number of data points to be used in delay simulations. The default value is the larger of 10 or the smaller of TD/tstep and tstop/tstep. That is,
The values of tstep and tstop are specified in the .TRAN statement.
p0, p1 . . . The polynomial coefficients. When one coefficient is specified, Star-Hspice assumes it to be p1, with p0=0.0, and the element is linear. When more than one polynomial coefficient is specified by p0, p1, p2, ..., the element is nonlinear. See Polynomial Functions.
POLY Polynomial dimension. If POLY(ndim) is not specified, a one-dimensional polynomial is assumed. Ndim must be a positive number.
PWL Piecewise linear function keyword.
SCALE Element value multiplier.
TC1, TC2 First and second order temperature coefficients. The SCALE is updated by temperature:
vn1... Names of voltage sources through which the controlling current flows. One name must be specified for each dimension.
x1,... Controlling current through vn1 source. The x values must be in increasing order.
y1,... Corresponding output voltage values of x.
HX 20 10 VCUR MAX=+10 MIN=-10 1000
The example above selects a linear current controlled voltage source. The controlling current flows through the dependent voltage source called VCUR. The defining equation of the CCVS is:
The defining equation states that the voltage output of HX is 1000 times the value of current flowing through CUR. If the equation produces a value of HX greater than +10V or less than -10V, HX, because of the MAX= and MIN= parameters, would be set to either 10V or -10V, respectively. CUR is the name of the independent voltage source that the controlling current flows through. If the controlling current does not flow through an independent voltage source, a dummy independent voltage source must be inserted.
.PARAM CT=1000
HX 20 10 VCUR MAX=+10 MIN=-10 CT
HXY 13 20 POLY(2) VIN1 VIN2 0 0 0 0 1 IC=0.5, 1.3
The example above describes a dependent voltage source with the value:
This two-dimensional polynomial equation specifies FA1=VIN1, FA2=VIN2, P0=0, P1=0, P2=0, P3=0, and P4=1. The controlling current for flowing through VIN1 is initialized at.5mA. For VIN2, the initial current is 1.3mA.
The direction of positive controlling current flow is from the positive node, through the source, to the negative node of vnam (linear). The polynomial (nonlinear) specifies the source voltage as a function of the controlling current(s).
Star-Hspice Manual - Release 2001.2 - June 2001