Independent current source
- Instance line
Iname …- Terminals
- I+, I-
- Described in
- Voltage and current sources
- Source
src/lib/dev/isrc/isrc.c
Instance parameters (21)
Input and output (3)
| name | type | description | notes |
|---|---|---|---|
dc | real | DC value of source | principal: the value given without a keyword |
acmag | real | AC magnitude | ac only; principal: the value given without a keyword |
acphase | real | AC phase | ac only; listed by show only when all parameters are asked for |
Input only (9)
| name | type | description | notes |
|---|---|---|---|
pulse | real vector | Pulse description | |
sine (also sin) | real vector | Sinusoidal source description | |
exp | real vector | Exponential source description | |
pwl | real vector | Piecewise linear description | |
sffm | real vector | single freq. FM description | |
ac | real vector | AC magnitude,phase vector | |
c | real | Current through current source | |
distof1 | real vector | f1 input for distortion | |
distof2 | real vector | f2 input for distortion |
Output only (9)
| name | type | description | notes |
|---|---|---|---|
neg_node | integer | Negative node of source | listed by show only when all parameters are asked for |
pos_node | integer | Positive node of source | listed by show only when all parameters are asked for |
acreal | real | AC real part | listed by show only when all parameters are asked for |
acimag | real | AC imaginary part | listed by show only when all parameters are asked for |
function | integer | Function of the source | listed by show only when all parameters are asked for |
order | integer | Order of the source function | listed by show only when all parameters are asked for |
coeffs | real vector | Coefficients of the source | listed by show only when all parameters are asked for |
v | real | Voltage across the supply | |
p | real | Power supplied by the source |
Parameters are set on the instance or .model line as keyword=value, and read back with @name[keyword] or the show and showmod commands. See the device reference.