::SpiceGenTcl::Ltspice::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

::SpiceGenTcl::Device

Subclasses

Vac, Iac

constructor

ac create OBJNAME type ?args?
ac new type ?args?

Parameters

type:

Not documented.

B

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

BehaviouralSource

BehaviouralSource

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

::SpiceGenTcl::Device

Subclasses

B

constructor

Creates object of class BehaviouralSource that describes behavioural source.

OBJECT constructor name np nm -v value ?-ic value? ?-tripdv value -tripdt value? ?-laplace value ?-window value? ?-nfft value? ?-mtol value??
OBJECT constructor name np nm -i value ?-ic value? ?-tripdv value -tripdt value? ?-laplace value ?-window value? ?-nfft value? ?-mtol value??

Parameters

-i value:

Current expression.

-ic value:

Initial condition.

-tripdt value:

Voltage control time step rejection.

-tripdv value:

Voltage control step rejection.

-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

Bnnn n001 n002 V=<expression> [ic=<value>]
+ [tripdv=<value>] [tripdt=<value>]
+ [laplace=<expression> [window=<time>]
+ [nfft=<number>] [mtol=<number>]]
 Bnnn n001 n002 I=<expression> [ic=<value>]
+ [tripdv=<value>] [tripdt=<value>] [Rpar=<value>]
+ [laplace=<expression> [window=<time>]
+ [nfft=<number>] [mtol=<number>]]

Example of class initialization:

BehaviouralSource new 1 netp netm -v "V(a)+V(b)+pow(V(c),2)"

Cccs

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

::SpiceGenTcl::Common::Sources::Cccs

Subclasses

F

Ccvs

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

::SpiceGenTcl::Common::Sources::Ccvs

Subclasses

H

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

::SpiceGenTcl::Device

Subclasses

Vdc, Idc

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

Vcvs

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

::SpiceGenTcl::Device

Mixins

::SpiceGenTcl::Utility

Subclasses

Vexp, Iexp

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

Cccs

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

Vccs

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

Ccvs

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

ac

constructor

Creates object of class Iac that describes ac current source.

OBJECT constructor name np nm -ac value ?-dc value?

Parameters

-ac value:

AC current value.

-dc value:

DC current value, default 0.

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

Ixxx n+ n- <current> AC=<amplitude>

Example of class initialization:

Iac new 1 netp netm -ac 10

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

dc

constructor

Creates object of class Idc that describes simple constant current source.

OBJECT constructor name np nm -dc value

Parameters

-dc value:

DC 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

Ixxx n+ n- <current>

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

exp

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

Parameters

-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

Ixxx n+ n- EXP(I1 I2 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

pulse

constructor

Creates object of class Ipulse that describes pulse current source.

OBJECT constructor name np nm -low|ioff value -high|ion value -td value -tr value -tf value -pw|ton value -per|tper value ?-np|ncycles value?

Parameters

-high value:

High value, aliases: -von,-ion`

-low value:

Low value, aliases: -voff, -ioff

-npulses value:

Number of pulses, optional, alias -ncycles

-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

Ixxx n+ n- PULSE(Ioff Ion Tdelay Trise Tfall Ton Tperiod Ncycles)

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 -npulses {-eq np}

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

pwl

constructor

Creates object of class Ipwl that describes piece-wise current source.

OBJECT constructor name np nm -seq list

Parameters

-cpar value:

Parallel capacitor value, optional.

-rser value:

Series resistor 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 I.

nm:

Name of node connected to negative pin.

np:

Name of node connected to positive pin.

Description

Ixxx n+ n- PWL(t1 i1 t2 i2 t3 i3...)

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

sffm

constructor

Creates object of class Isffm that describes single-frequency FM current source.

OBJECT constructor name np nm -i0|ioff value -ia|iamp value -fc|fcar value -mdi value -fs|fsig value

Parameters

-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

Ixxx n+ n- SFFM(Ioff Iamp Fcar MDI Fsig)

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

sin

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 ?-ncycles value????

Parameters

-freq value:

Frequency of sinusoidal signal.

-ncycles value:

Number of cycles, optional, requires -td, -theta and -phase

-phase value:

Phase of signal, optional, requires -td and -theta, alias -phi

-td value:

Time delay, optional.

-theta value:

Damping factor, optional, requires -td

-v0 value:

DC shift value, aliases: -voffset, -v0, -ioffset

-va value:

Amplitude value, aliases: -vamp, -va, -iamp

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

Ixxx n+ n- SINE(Ioffset Iamp Freq Td Theta Phi Ncycles)

Example of class initialization:

Isin new 1 net1 net2 -v0 0 -va 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

::SpiceGenTcl::Device

Mixins

::SpiceGenTcl::Utility

Subclasses

Vpulse, Ipulse

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

::SpiceGenTcl::Device

Subclasses

Vpwl, Ipwl

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

::SpiceGenTcl::Device

Mixins

::SpiceGenTcl::Utility

Subclasses

Vsffm, Isffm

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

::SpiceGenTcl::Device

Mixins

::SpiceGenTcl::Utility

Subclasses

Vsin, Isin

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

ac

constructor

Creates object of class Vac that describes ac voltage source.

OBJECT constructor name np nm -ac value ?-dc value? ?-rser value? ?-cpar value?

Parameters

-ac value:

AC voltage value.

-cpar value:

Parallel capacitor value, optional.

-dc value:

DC voltage value, default 0.

-rser value:

Series resistor value, optional.

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

Vxxx n+ n- <voltage> AC=<amplitude> [Rser=<value>] [Cpar=<value>]

Example of class initialization:

Vac new 1 netp netm -ac 10 -cpar 1e-9

Vccs

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

::SpiceGenTcl::Common::Sources::Vccs

Subclasses

G

Vcvs

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

::SpiceGenTcl::Common::Sources::Vcvs

Subclasses

E

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

dc

constructor

Creates object of class Vdc that describes simple constant voltage source.

OBJECT constructor name np nm -dc value ?-rser value? ?-cpar value?

Parameters

-cpar value:

Parallel capacitor value, optional.

-dc value:

DC voltage value.

-rser value:

Series resistor value, optional.

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

Vxxx n+ n- <voltage> [Rser=<value>] [Cpar=<value>]

Example of class initialization:

Vdc new 1 netp netm -dc 10 -rser 0.001

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

exp

constructor

Creates object of class Vexp that describes exponential voltage source.

OBJECT constructor name np nm -v1 value -v2 value -td1 value -tau1 value -td2 value -tau2 value ?-rser value? ?-cpar value?

Parameters

-cpar value:

Parallel capacitor value, optional.

-rser value:

Series resistor 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

Vxxx 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

pulse

constructor

Creates object of class Vpulse that describes pulse voltage source.

OBJECT constructor name np nm -low|voff value -high|von value -td value -tr value -tf value -pw|ton value -per|tper value ?-np|ncycles value? ?-rser value? ?-cpar value?

Parameters

-cpar value:

Parallel capacitor value, optional.

-high value:

High value, aliases: -von, -ion

-low value:

Low value, aliases: -voff, -ioff

-npulses value:

Number of pulses, optional, alias -ncycles

-per value:

Period time, alias -tper

-pw value:

Width of pulse, alias -ton

-rser value:

Series resistor value, optional.

-td value:

Time delay.

-tf value:

Fall time.

-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

Vxxx n+ n- PULSE(V1 V2 Tdelay Trise Tfall Ton Tperiod Ncycles)

Example of class initialization:

Vpulse new 1 net1 net2 -low 0 -high 1 -td {-eq td} -tr 1e-9 -tf 1e-9 -pw 10e-6 -per 20e-6 -npulses {-eq np}

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

pwl

constructor

Creates object of class Vpwl that describes piece-wise voltage source.

OBJECT constructor name np nm -seq list ?-rser value? ?-cpar value?

Parameters

-cpar value:

Parallel capacitor value, optional.

-rser value:

Series resistor 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

Vxxx n+ n- PWL(t1 v1 t2 v2 t3 v3...)

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

sffm

constructor

Creates object of class Vsffm that describes single-frequency FM voltage source.

OBJECT constructor name np nm -v0|voff value -va|vamp value -fc|fcar value -mdi value -fs|fsig value ?-rser value? ?-cpar value?

Parameters

-cpar value:

Parallel capacitor value, optional.

-fc value:

Carrier frequency, alias -fcar

-fs value:

Signal frequency, alias -fsig

-mdi value:

Modulation index.

-rser value:

Series resistor value, optional.

-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

Vxxx n+ n- SFFM(Voff Vamp Fcar MDI Fsig)

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

sin

constructor

Creates object of class Vsin that describes sinusoidal voltage source.

OBJECT constructor name np nm -v0|voffset value -va|vamp value -freq value ?-td value ?-theta value ?-phase|phi value ?-ncycles value???? ?-rser value? ?-cpar value?

Parameters

-cpar value:

Parallel capacitor value, optional.

-freq value:

Frequency of sinusoidal signal.

-ncycles value:

Number of cycles, optional, requires -td, -theta and -phase

-phase value:

Phase of signal, optional, requires -td and -theta, alias -phi

-rser value:

Series resistor value, optional.

-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, -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

Vxxx n+ n- SINE(Voffset Vamp Freq Td Theta Phi Ncycles)

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