::SpiceGenTcl::Common::Sources¶
Classes¶
ac¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
constructor¶
ac create OBJNAME type ?args? ac new type ?args?
Parameters
type:Not documented.
Cccs¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
F, ::SpiceGenTcl::Ngspice::Sources::Cccs, ::SpiceGenTcl::Xyce::Sources::Cccs, ::SpiceGenTcl::Ltspice::Sources::Cccs
constructor¶
Creates object of class Cccs that describes linear current-controlled current source.
OBJECT constructor name np nm -consrc value -gain value ?-m value?
Parameters
-consrc value:Name of controlling source.
-gain value:Current gain.
-m value:Parallel source multiplicator.
name:Name of the device without first-letter designator F.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
FXXXXXXX N+ N- VNAM VALUE <m=val>
Example of class initialization:
Cccs new 1 net1 0 netc 0 -consrc vc -gain 10 -m 1
Ccvs¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
H, ::SpiceGenTcl::Ngspice::Sources::Ccvs, ::SpiceGenTcl::Xyce::Sources::Ccvs, ::SpiceGenTcl::Ltspice::Sources::Ccvs
constructor¶
Creates object of class Ccvs that describes linear current-controlled current source.
OBJECT constructor name np nm -consrc value -transr value
Parameters
-consrc value:Name of controlling source.
-transr value:Transresistance.
name:Name of the device without first-letter designator H.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
HXXXXXXX N+ N- VNAM VALUE
Example of class initialization:
Ccvs new 1 net1 0 -consrc vc -transr {-eq tres}
dc¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
constructor¶
dc create OBJNAME type ?args? dc new type ?args?
Parameters
type:Not documented.
E¶
Method summary
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
exp¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Mixins
Subclasses
constructor¶
exp create OBJNAME type ?args? exp new type ?args?
Parameters
type:Not documented.
F¶
Method summary
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
G¶
Method summary
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
H¶
Method summary
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Iac¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Ngspice::Sources::Iac, ::SpiceGenTcl::Xyce::Sources::Iac
constructor¶
Creates object of class Iac that describes ac current source.
OBJECT constructor name np nm -ac value ?-acphase value?
Parameters
-acphase value:Phase of AC current.
-dc value:AC current value.
name:Name of the device without first-letter designator I.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
IYYYYYYY n+ n- <AC<ACMAG<ACPHASE>>>
Example of class initialization:
Iac new 1 netp netm -ac 10 -acphase 45
Idc¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Ngspice::Sources::Idc, ::SpiceGenTcl::Xyce::Sources::Idc
constructor¶
Creates object of class Idc that describes simple constant current source.
OBJECT constructor name np nm -dc value
Parameters
-dc value:DC voltage value.
name:Name of the device without first-letter designator I.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
IYYYYYYY n+ n- <<DC> DC/TRAN VALUE>>
Example of class initialization:
Idc new 1 netp netm -dc 10
Iexp¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Ngspice::Sources::Iexp, ::SpiceGenTcl::Xyce::Sources::Iexp
constructor¶
Creates object of class Iexp that describes exponential current source.
OBJECT constructor name np nm -i1 value -i2 value -td1 value -tau1 value -td2 value -tau2 value ?-phase|phi value???
Parameters
-ac value:AC value, optional.
-acphase value:Phase of AC signal, optional, requires
-ac-dc value:DC value, optional.
-i1 value:Initial value.
-i2 value:Pulsed value.
-tau1 value:Rise time constant.
-tau2 value:Fall time constant.
-td1 value:Rise delay time.
-td2 value:Fall delay time.
name:Name of the device without first-letter designator I.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
IYYYYYYY n+ n- EXP(V1 V2 TD1 TAU1 TD2 TAU2)
Example of class initialization:
Iexp new 1 net1 net2 -i1 0 -i2 1 -td1 1e-9 -tau1 1e-9 -td2 {-eq td2} -tau2 10e-6
Ipulse¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Xyce::Sources::Ipulse
constructor¶
Creates object of class Ipulse that describes pulse current source.
OBJECT constructor name np nm -voff|ioff|low value -von|ion|high value -td value -tr value -tf value -pw|ton value ?-phase|phi value???
Parameters
-ac value:AC value, optional.
-acphase value:Phase of AC signal, optional, requires
-ac-dc value:DC value, optional.
-high value:High value, aliases:
-von,-ion-low value:Low value, aliases:
-voff,-ioff-per value:Period time, alias
-tper-pw value:Width of pulse, alias
-ton-td value:Time delay.
-tf value:Fall time.
-tr value:Rise time.
name:Name of the device without first-letter designator I.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
IYYYYYYY n+ n- PULSE(V1 V2 TD TR TF PW PER)
Example of class initialization:
Ipulse new 1 net1 net2 -low 0 -high 1 -td {-eq td} -tr 1e-9 -tf 1e-9 -pw 10e-6 -per 20e-6
Ipwl¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Ngspice::Sources::Ipwl, ::SpiceGenTcl::Xyce::Sources::Ipwl
constructor¶
Creates object of class Ipwl that describes piece-wise current source.
OBJECT constructor name np nm -seq list ?-phase|phi value???
Parameters
-ac value:AC value, optional.
-acphase value:Phase of AC signal, optional, requires
-ac-dc value:DC value, optional.
-seq list:Sequence of pwl points in form
{t0 i0 t1 i1 t2 i2 t3 i3 ...}name:Name of the device without first-letter designator I.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
IYYYYYYY n+ n- PWL (T1 I1 <T2 I2 T3 I3 T4 I4 ...>)
Example of class initialization:
Ipwl new 1 np nm -seq {0 0 {-eq t1} 1 2 2 3 3 4 4}
Isffm¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Xyce::Sources::Isffm
constructor¶
Creates object of class Isffm that describes single-frequency FM current source.
OBJECT constructor name np nm -i0|voff|ioff|v0 value -ia|vamp|iamp|va value -fc|fcar value -mdi value -fs|fsig value ?-phi|phase value???
Parameters
-ac value:AC value, optional.
-acphase value:Phase of AC signal, optional, requires
-ac-dc value:DC value, optional.
-fc value:Carrier frequency, alias
-fcar-fs value:Signal frequency, alias
-fsig-i0 value:Initial value, aliases:
-voff,-v0,-ioff-ia value:Pulsed value, aliases:
-vamp,-va,-iamp-mdi value:Modulation index.
name:Name of the device without first-letter designator I.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
IYYYYYYY n+ n- SFFM(VO VA FC MDI FS)
Example of class initialization:
Isin new 1 net1 net2 -i0 0 -ia 1 -fc {-eq freq} -mdi 0 -fs 1e3
Isin¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Ngspice::Sources::Isin, ::SpiceGenTcl::Xyce::Sources::Isin
constructor¶
Creates object of class Isin that describes sinusoidal current source.
OBJECT constructor name np nm -i0|ioffset value -ia|iamp value -freq value ?-td value ?-theta value ?-phase|phi value???
Parameters
-ac value:AC value, optional.
-acphase value:Phase of AC signal, optional, requires
-ac-dc value:DC value, optional.
-freq value:Frequency of sinusoidal signal.
-i0 value:DC shift value, aliases:
-voffset,-v0,-ioffset-ia value:Amplitude value, aliases:
-vamp,-va,-iamp-phase value:Phase of signal, optional, requires
-tdand-phase, alias-phi-td value:Time delay, optional.
-theta value:Damping factor, optional, requires
-tdname:Name of the device without first-letter designator I.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
IYYYYYYY n+ n- SIN(VO VA FREQ TD THETA PHASE)
Example of class initialization:
Isin new 1 net1 net2 -i0 0 -ia 2 -freq {-eq freq} -td 1e-6 -theta {-eq theta}
pulse¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Mixins
Subclasses
constructor¶
pulse create OBJNAME type ?args? pulse new type ?args?
Parameters
type:Not documented.
pwl¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
constructor¶
pwl create OBJNAME type ?args? pwl new type ?args?
Parameters
type:Not documented.
sffm¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Mixins
Subclasses
constructor¶
sffm create OBJNAME type ?args? sffm new type ?args?
Parameters
type:Not documented.
sin¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Mixins
Subclasses
constructor¶
sin create OBJNAME type ?args? sin new type ?args?
Parameters
type:Not documented.
Vac¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Ngspice::Sources::Vac, ::SpiceGenTcl::Xyce::Sources::Vac
constructor¶
Creates object of class Vac that describes ac voltage source.
OBJECT constructor name np nm -ac value ?-acphase value?
Parameters
-ac value:AC voltage value.
-acphase value:Phase of AC voltage.
name:Name of the device without first-letter designator V.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
VYYYYYYY n+ n- <AC<ACMAG<ACPHASE>>>
Example of class initialization:
Vac new 1 netp netm -ac 10 -acphase 45
Vccs¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
G, ::SpiceGenTcl::Ngspice::Sources::Vccs, ::SpiceGenTcl::Xyce::Sources::Vccs, ::SpiceGenTcl::Ltspice::Sources::Vccs
constructor¶
Creates object of class Vccs that describes linear voltage-controlled current source.
OBJECT constructor name np nm ncp ncm -trcond value ?-m value?
Parameters
-m value:Multiplier factor, optional.
-trcond value:Transconductance.
name:Name of the device without first-letter designator G.
ncm:Name of node connected to negative controlling pin.
ncp:Name of node connected to positive controlling pin.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
GXXXXXXX N+ N- NC+ NC- VALUE <m=val>
Example of class initialization:
Vccs new 1 net1 0 netc 0 -trcond 10 -m 1
Vcvs¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
E, ::SpiceGenTcl::Ngspice::Sources::Vcvs, ::SpiceGenTcl::Xyce::Sources::Vcvs, ::SpiceGenTcl::Ltspice::Sources::Vcvs
constructor¶
Creates object of class Vcvs that describes linear voltage-controlled current source.
OBJECT constructor name np nm ncp ncm -gain value
Parameters
-gain value:Voltage gain.
name:Name of the device without first-letter designator E.
ncm:Name of node connected to negative controlling pin.
ncp:Name of node connected to positive controlling pin.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
EXXXXXXX N+ N- NC+ NC- VALUE
Example of class initialization:
Vcvs new 1 net1 0 netc 0 -gain 10
Vdc¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Ngspice::Sources::Vdc, ::SpiceGenTcl::Xyce::Sources::Vdc
constructor¶
Creates object of class Vdc that describes simple constant voltage source.
OBJECT constructor name np nm -dc value
Parameters
-dc value:DC voltage value.
name:Name of the device without first-letter designator V.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
VYYYYYYY n+ n- <<DC> DC/TRAN VALUE>>
Example of class initialization:
Vdc new 1 netp netm -dc 10
Vexp¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Ngspice::Sources::Vexp, ::SpiceGenTcl::Xyce::Sources::Vexp
constructor¶
Creates object of class Vexp that describes exponential voltage source.
OBJECT constructor name np nm -i1|v1 value -i2|v2 value -td1 value -tau1 value -td2 value -tau2 value ?-phi|phase value???
Parameters
-ac value:AC value, optional.
-acphase value:Phase of AC signal, optional, requires
-ac-dc value:DC value, optional.
-tau1 value:Rise time constant.
-tau2 value:Fall time constant.
-td1 value:Rise delay time.
-td2 value:Fall delay time.
-v1 value:Initial value.
-v2 value:Pulsed value.
name:Name of the device without first-letter designator V.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
VYYYYYYY n+ n- EXP(V1 V2 TD1 TAU1 TD2 TAU2)
Example of class initialization:
Vexp new 1 net1 net2 -v1 0 -v2 1 -td1 1e-9 -tau1 1e-9 -td2 {-eq td2} -tau2 10e-6
Vpulse¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Xyce::Sources::Vpulse
constructor¶
Creates object of class Vpulse that describes pulse voltage source.
OBJECT constructor name np nm -voff|ioff|low value -von|ion|high value -td value -tr value -tf value -pw|ton value ?-dc value? ?-ac value ?-acphase value??
Parameters
-ac value:AC value, optional.
-acphase value:Phase of AC signal, optional, requires
-ac-dc value:DC value, optional.
-high value:High value, aliases:
-von,-ion-low value:Low value, aliases:
-voff,-ioff-td value:Time delay.
-tf value:Fall time.
-ton value:Width of pulse, alias
-pw-tper value:Period time, alias
-per-tr value:Rise time.
name:Name of the device without first-letter designator V.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
VYYYYYYY n+ n- PULSE(V1 V2 TD TR TF PW PER)
Example of class initialization:
Vpulse new 1 net1 net2 -low 0 -high 1 -td {td -eq} -tr 1e-9 -tf 1e-9 -pw 10e-6 -per 20e-6
Vpwl¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Ngspice::Sources::Vpwl, ::SpiceGenTcl::Xyce::Sources::Vpwl
constructor¶
Creates object of class Vpwl that describes piece-wise voltage source.
OBJECT constructor name np nm -seq list ?-phase|phi value???
Parameters
-ac value:AC value, optional.
-acphase value:Phase of AC signal, optional, requires
-ac-dc value:DC value, optional.
-seq list:Sequence of pwl points in form
{t0 v0 t1 v1 t2 v2 t3 v3 ...}name:Name of the device without first-letter designator V.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
VYYYYYYY n+ n- PWL (T1 V1 <T2 V2 T3 V3 T4 V4 ...>)
Example of class initialization:
Vpwl new 1 np nm -seq {0 0 {-eq t1} 1 2 2 3 3 4 4}
Vsffm¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Xyce::Sources::Vsffm
constructor¶
Creates object of class Vsffm that describes single-frequency FM voltage source.
OBJECT constructor name np nm -i0|voff|ioff|v0 value -ia|vamp|iamp|va value -fc|fcar value -mdi value -fs|fsig ?-phi|phase value???
Parameters
-ac value:AC value, optional.
-acphase value:Phase of AC signal, optional, requires
-ac-dc value:DC value, optional.
-fc value:Carrier frequency, alias
-fcar-fs value:Signal frequency, alias
-fsig-mdi value:Modulation index.
-v0 value:Initial value, aliases:
-voff,-i0,-ioff-va value:Pulsed value, aliases:
-vamp,-ia, -iamp`name:Name of the device without first-letter designator V.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
VYYYYYYY n+ n- SFFM(VO VA FC MDI FS)
Example of class initialization:
Vsin new 1 net1 net2 -v0 0 -va 1 -fc {-eq freq} -mdi 0 -fs 1e3
Vsin¶
Method summary
- constructor
Constructor for the class.
- configure
Configure properties. See ::oo::configuresupport::configurable.
- actOnParam
Inherited from ::SpiceGenTcl::Device.
- actOnPin
Inherited from ::SpiceGenTcl::Device.
- checkFloatingPins
Inherited from ::SpiceGenTcl::Device.
- genSPICEString
Inherited from ::SpiceGenTcl::Device.
Properties
-name:Readable, writable. Inherited.
Superclasses
Subclasses
::SpiceGenTcl::Ngspice::Sources::Vsin, ::SpiceGenTcl::Xyce::Sources::Vsin
constructor¶
Creates object of class Vsin that describes sinusoidal voltage source.
OBJECT constructor name np nm -i0|voffset|ioffset|v0 value -ia|vamp|iamp|va value -freq value ?-td value ?-theta value ?-phi|phase value???
Parameters
-ac value:AC value, optional.
-acphase value:Phase of AC signal, optional, requiress
-ac-dc value:DC value, optional.
-freq value:Frequency of sinusoidal signal.
-phase value:Phase of signal, optional, requires
-tdand-phase, alias-phi-td value:Time delay, optional.
-theta value:Damping factor, optional, requires
-td-v0 value:DC shift value, aliases:
-voffset,-i0,-ioffset-va value:Amplitude value, aliases:
-vamp,-ia,-iampname:Name of the device without first-letter designator V.
nm:Name of node connected to negative pin.
np:Name of node connected to positive pin.
Description
VYYYYYYY n+ n- SIN(VO VA FREQ TD THETA PHASE)
Example of class initialization:
Vsin new 1 net1 net2 -v0 0 -va 2 -freq {-eq freq} -td 1e-6 -theta {-eq theta}
Copyright (c) George Yashin