::SpiceGenTcl::Xyce::SourcesTop, Main, Index
ClassesTop, Main, Index
B [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
BehaviouralSource [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
| Constructor for the class. | |
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
Subclasses
constructor [::SpiceGenTcl::Xyce::Sources::BehaviouralSource]BehaviouralSource, Top, Main, Index
Creates object of class BehaviouralSource that describes behavioural source.
OBJECT constructor name np nm -i value
OBJECT constructor name np nm -v value ?-smoothbsrc? ?-rcconst value?
OBJECT constructor name np nm -v value ?-smoothbsrc? ?-rcconst value?
Parameters
-i value | Current expression. |
-rcconst value | Rc constant of the RC network, optional, require -v |
-smoothbsrc | Enables the smooth transitions, optional, require -v |
-v value | Voltage expression. |
name | Name of the device without first-letter designator B. |
nm | Name of node connected to negative pin. |
np | Name of node connected to positive pin. |
Description
B<name> <(+) node> <(-) node> V={expression} [device parameters]
B<name> <(+) node> <(-) node> I={expression}
Example of class initialization:
BehaviouralSource new 1 netp netm -v "V(a)+V(b)+pow(V(c),2)"
method constructor {args} {
# Creates object of class `BehaviouralSource` that describes behavioural source.
# name - name of the device without first-letter designator B
# np - name of node connected to positive pin
# nm - name of node connected to negative pin
# -i value - current expression
# -v value - voltage expression
# -smoothbsrc - enables the smooth transitions, optional, require `-v`
# -rcconst value - rc constant of the RC network, optional, require `-v`
# ```
# B<name> <(+) node> <(-) node> V={expression} [device parameters]
# B<name> <(+) node> <(-) node> I={expression}
# ```
# Example of class initialization:
# ```
# BehaviouralSource new 1 netp netm -v "V(a)+V(b)+pow(V(c),2)"
# ```
# Synopsis: name np nm -i value
# Synopsis: name np nm -v value ?-smoothbsrc? ?-rcconst value?
set arguments [argparse -inline -pfirst -help {Creates object of class 'BehaviouralSource' that describes behavioural source} {
{-i= -forbid {v} -help {Current expression}}
{-v= -forbid {i} -help {Voltage expression}}
{-smoothbsrc -require {v} -help {Enables the smooth transitions}}
{-rcconst= -require {v} -help {RC constant of the RC network}}
{name -help {Name of the device without first-letter designator}}
{np -help {Name of node connected to positive pin}}
{nm -help {Name of node connected to negative pin}}
}]
if {[dexist $arguments i]} {
lappend params [list -eq i [dget $arguments i]]
} elseif {[dexist $arguments v]} {
lappend params [list -eq v [dget $arguments v]]
} else {
return -code error "Equation must be specified as argument to -i or -v"
}
if {[dexist $arguments smoothbsrc]} {
lappend params {smoothbsrc 1}
}
if {[dexist $arguments rcconst]} {
lappend params [list rcconst [dget $arguments rcconst]]
}
next b[dget $arguments name] [list [list np [dget $arguments np]] [list nm [dget $arguments nm]]] $params
}Cccs [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Cccs
Subclasses
Ccvs [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Ccvs
Subclasses
E [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
F [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
G [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
H [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
Iac [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Iac
Idc [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Idc
Iexp [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Iexp
Ipulse [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Ipulse
Ipwl [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Ipwl
Isffm [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Isffm
Isin [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Isin
Vac [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Vac
Vccs [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Vccs
Subclasses
Vcvs [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Vcvs
Subclasses
Vdc [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Vdc
Vexp [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Vexp
Vpulse [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Vpulse
Vpwl [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Vpwl
Vsffm [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |
Superclasses
::SpiceGenTcl::Common::Sources::Vsffm
Vsin [::SpiceGenTcl::Xyce::Sources]Top, Main, Index
Method summary
actOnParam | See ::SpiceGenTcl::Device.actOnParam |
actOnPin | See ::SpiceGenTcl::Device.actOnPin |
checkFloatingPins | See ::SpiceGenTcl::Device.checkFloatingPins |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Device.genSPICEString |
Properties
-name | Readable, writable. |