Product Documentation
Spectre Circuit Simulator Components and Device Models Reference
Product Version 23.1, June 2023

Linear Current Controlled Current Source (cccs)

A current-controlled source senses the current with a probe device. A valid probe is a component instance in the circuit that naturally computes current. For example, probes can be voltage sources (independent or controlled), inductors, transmission lines, microstrip lines, N-ports, and transformers. If the probe device computes more than one current (such as transmission lines, microstrip lines, and N-ports), the index of the probe port through which the controlling current flows needs to be specified. Positive current exits the source node and enters the sink node of the controlled source.

This device can also model ideal digital gates.

This device is supported within altergroups.

Sample Instance Statement

vcs (pos gnd) cccs gain=2.5 probe=v1 m=1 //Note that v1 is an instance of a voltage source

Instance Syntax

Name  sink  src cccs parameter=value ...

Instance Parameters

m

1

Multiplicity factor.

probe

Device through which the current that control, flows.

mprobe

mprobe functions the same way as probe except that it devides the input current by the mfactor.

port

0

Index of the probe port through which the controlling current flows.

probes

[...]

Devices through which the current that control, flows. For multi-input digital gates only.

mprobes

[...]

mprobes function the same way as probes except that they devide the input currents by mfactor.

ports

[...]

Indices of the probe ports through which the currents that control, flow. For multi-input digital gates only.

type

cccs

Type of the source.Possible values are cccs, and, nand, or and nor.

delta

0

Smoothing parameter. This may lead to convergency problems. Its value should be in the range between 0 and 0.5, both ends included. The smaller the delta is, the sharper the corner is.

Linear source parameters

gain

0 A/A

Current gain.

td

0.0 s

Time delay.

min

(A)

Minimum output current.

max

(A)

Maximum output current.

abs

off

Output current is absolute value if abs is set to on.Possible values are off and on.

PWL source parameters

file

Name of file containing current/current pairs that define the PWL transfer function.

pwl

[...]

Vector of current/current pairs that defines the PWL transfer function. The format of the vector is [in1 out1 in2 out2 ... ].

scale

1

Scale factor for the PWL output current.

stretch

1

Scale factor for the PWL controlling current.

Temperature effects parameters

tc1

0 1/C

Linear temperature coefficient.

tc2

0 C-2

Quadratic temperature coefficient.

trise

0.0 K

Temperature rise from ambient.

The Smoothing Factor

The parameter delta is the smoothing factor. When it is nonzero, a curve is introduced to smooth the corner. The value of delta defines the position of the starting and ending points of the curve that is used to smooth the corner. The minimum value 0 means no smoothing curve is introduced. The maximum value 0.5 means the distance between the starting point of the curve and the corner point is half of the shortest distance. The shortest distance is the length of the shortest segment of the piecewise linear function. When there is no shortest segment in the controlling function, that is, only abs=on is specified, Spectre uses 1 as the shortest distance.

When abs=on, an absolute value is returned and max , min, and all temperature effct parameters work on their absolute values.

The port parameter specifies which current branch of the device specified by parameter probe is used as the controlling current flow. If the device specified by probe only has one current branch, port must be set to 0, which is also the default value. If there are multiple current branches, then the port specifies the index of the current branch of the device, starting with 0.

Output Parameters

islinear

Related Topics

Linear Current Controlled Voltage Source (ccvs)

Independent Current Source (isource)

Circuit Components


Return to top
 ⠀
X