::SpiceGenTcl::Ngspice::Sources

Classes

am

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

Vam, Iam

constructor

am create OBJNAME type ?args?
am 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 -i value ?-tc1 value? ?-tc2 value? ?-noisy 0|1? ?-temp value|-dtemp value?
OBJECT constructor name np nm -v value ?-tc1 value? ?-tc2 value? ?-noisy 0|1? ?-temp value|-dtemp value?

Parameters

-dtemp value:

Temperature offset, optional.

-i value:

Current expression.

-noisy:

Selects noise behaviour.

-tc1 value:

Linear thermal coefficient, optional.

-tc2 value:

Quadratic thermal coefficient, optional.

-temp value:

Device temperature, optional.

-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

BXXXXXXX n+ n- <i=expr> <v=expr> <tc1=value> <tc2=value> <dtemp=value> <temp=value>

Example of class initialization:

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

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

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

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

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::Iac

Iam

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

am

constructor

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

OBJECT constructor name np nm -i0 value -ia value -mf value -fc value ?-td value ?-phases value??

Parameters

-fc value:

Carrier frequency.

-i0 value:

Initial value.

-ia value:

Pulsed value.

-mf value:

Modulating frequency.

-phases value:

Phase, optional, require -td

-td value:

Signal delay, optional.

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- AM(VA VO MF FC TD PHASES)

Example of class initialization:

Iam new 1 net1 net2 -i0 0 -ia 2 -mf 1e3 -fc {-eq freq} -td 1e-6 -phases {-eq phase}

Idc

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::Idc

Iexp

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::Iexp

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 value -high value -td value -tr value -tf value -pw value -per value ?-np 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.

-low value:

Low value.

-npulses value:

Number of pulses, optional.

-per value:

Period time.

-pw value:

Width of pulse.

-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 NP)

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

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::Ipwl

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 ?-phasec value ?-phases 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.

-phasec value:

Carrier phase, optional.

-phases value:

Signal phase, optional, require -phasec

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 PHASEC PHASES)

Example of class initialization:

Isin new 1 net1 net2 -i0 0 -ia 1 -fc {-eq freq} -mdi 0 -fs 1e3 -phasec {-eq phase}

Isin

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::Isin

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.

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.

Vac

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::Vac

Vam

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

am

constructor

Creates object of class Vam that describes single-frequency AM voltage source.

OBJECT constructor name np nm -v0 value -va value -mf value -fc value ?-td value ?-phases 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.

-mf value:

Modulating frequency.

-phases value:

Phase, optional, require -td

-td value:

Signal delay, optional.

-v0 value:

Initial value.

-va 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- AM(VA VO MF FC TD PHASES)

Example of class initialization:

Vam new 1 net1 net2 -v0 0 -va 2 -mf 1e3 -fc {-eq freq} -td 1e-6 -phases {-eq phase}

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

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::Vdc

Vexp

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::Vexp

Vport

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

constructor

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

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

Parameters

-ac value:

AC voltage value.

-dc value:

DC voltage value.

-portnum value:

Number of port.

-z0 value:

Internal source impedance.

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 0 AC 1 portnum n1 <z0 n2>

Example of class initialization:

Vport new 1 netp netm -dc 1 -ac 1 -portnum 1 -z0 100

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

-npulses value:

Number of pulses, optional.

-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 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 NP)

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

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::Vpwl

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 ?-phasec value ?-phases 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.

-phasec value:

Carrier phase, optional.

-phases value:

Signal phase, optional, require -phasec

-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 PHASEC PHASES)

Example of class initialization:

Vsin new 1 net1 net2 -v0 0 -va 1 -fc {-eq freq} -mdi 0 -fs 1e3 -phasec {-eq phase}

Vsin

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::Vsin


Copyright (c) George Yashin