::SpiceGenTcl::Ngspice::SemiconductorDevices

Classes

Bjt

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

Q

constructor

Creates object of class Bjt that describes semiconductor bipolar junction transistor device.

OBJECT constructor name nc nb ne -model value ?-ns value ?-tj value?? ?-area value? ?-areac value? ?-areab value? ?-m value? ?-ic {value value}? ?-temp value|-dtemp value? ?-off?

Parameters

-area value:

Emitter scale factor, optional.

-areab value:

Base scale factor, optional.

-areac value:

Collector scale factor, optional.

-dtemp value:

Temperature offset, optional.

-ic value:

Initial conditions for vds and vgs, in form of two element list, optional.

-m value:

Multiplier of area and perimeter, optional.

-model value:

Name of the model.

-ns value:

Name of node connected to substrate pin, optional.

-off:

Initial state, optional.

-temp value:

Device temperature, optional.

-tj value:

Name of node connected to thermal pin, optional, requires -ns

name:

Name of the device without first-letter designator Q.

nb:

Name of node connected to base pin.

nc:

Name of node connected to collector pin.

ne:

Name of node connected to emitter pin.

Description

QXXXXXXX nc nb ne <ns> <tj> mname <area=val> <areac=val>
+ <areab=val> <m=val> <off> <ic=vbe,vce> <temp=val>
+ <dtemp=val>

Example of class initialization:

Bjt new 1 netc netb nete -model bjtmod -ns nets -area 1e-3

BjtGPModel

Method summary

constructor

Constructor for the class.

configure

Configure properties. See ::oo::configuresupport::configurable.

actOnParam

Inherited from ::SpiceGenTcl::Model.

genSPICEString

Inherited from ::SpiceGenTcl::Model.

Properties

-name:

Readable, writable. Inherited.

-type:

Readable, writable. Inherited.

Superclasses

::SpiceGenTcl::Model

constructor

Creates object of class BjtGPModel that describes Gummel-Poon model of semiconductor bipolar transistor.

OBJECT constructor name type ?-option value ...?

Parameters

args:

Keyword model parameters, for details please see Ngspice manual, chapter 8.

name:

Name of the model.

type:

npn or pnp

Description

Example of class initialization:

DiodeModel new bjtmod npn -is 1e-15 -bf 200 -vaf 100 -cje 1e-10

D

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

Diode

Diode

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

D

constructor

Creates object of class Diode that describes semiconductor diode device.

OBJECT constructor name np nm -model value ?-area value? ?-pj value? ?-ic value? ?-m value? ?-temp value|-dtemp value? ?-lm value? ?-wm value? ?-lp value? ?-wp value? ?-off?

Parameters

-area value:

Area scale factor, optional.

-dtemp value:

Temperature offset, optional.

-ic value:

Initial condition, optional.

-lm value:

Length of metal capacitor, optional.

-lp value:

Length of polysilicon capacitor, optional.

-m value:

Multiplier of area and perimeter, optional.

-model value:

Name of the model.

-off:

Initial state, optional.

-pj value:

Perimeter scale factor, optional.

-temp value:

Device temperature, optional.

-wm value:

Width of metal capacitor, optional.

-wp value:

Width of polysilicon capacitor, optional.

name:

Name of the device without first-letter designator D.

nm:

Name of node connected to negative pin.

np:

Name of node connected to positive pin.

Description

DXXXXXXX n+ n- mname <area=val> <m=val>
+ <ic=vd> <temp=val> <dtemp=val>
+ <lm=val> <wm=val> <lp=val> <wp=val> <pj=val>

Example of class initialization:

Diode new 1 netp netm -model diomod -l 1e-6 -w 10e-6

DiodeModel

Method summary

constructor

Constructor for the class.

configure

Configure properties. See ::oo::configuresupport::configurable.

actOnParam

Inherited from ::SpiceGenTcl::Model.

genSPICEString

Inherited from ::SpiceGenTcl::Model.

Properties

-name:

Readable, writable. Inherited.

-type:

Readable, writable. Inherited.

Superclasses

::SpiceGenTcl::Model

constructor

Creates object of class DiodeModel that describes semiconductor diode model.

OBJECT constructor name ?-option value ...?

Parameters

args:

Keyword model parameters, for details please see Ngspice manual, chapter 7.

name:

Name of the model.

Description

Example of class initialization:

DiodeModel new diodemod -is 1e-14 -n 1.2 -rs 0.01 -cj0 1e-9

J

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

Jfet

Jfet

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

J

constructor

Creates object of class Jfet that describes semiconductor junction FET device.

OBJECT constructor name nd ng ns -model value ?-area value? ?-off? ?-ic {value value}? ?-temp value?

Parameters

-area value:

Emitter scale factor, optional.

-ic value:

Initial conditions for vds and vgs, in form of two element list, optional.

-model value:

Name of the model.

-off:

Initial state, optional.

-temp value:

Device temperature, optional.

name:

Name of the device without first-letter designator J.

nd:

Name of node connected to drain pin.

ng:

Name of node connected to gate pin.

ns:

Name of node connected to source pin.

Description

JXXXXXXX nd ng ns mname  <area> <off> <ic=vds,vgs> <temp =t>

Example of class initialization:

Jfet new 1 netd netg nets -model jfetmod -area {-eq area*2} -temp 25

Jfet1Model

Method summary

constructor

Constructor for the class.

configure

Configure properties. See ::oo::configuresupport::configurable.

actOnParam

Inherited from ::SpiceGenTcl::Model.

genSPICEString

Inherited from ::SpiceGenTcl::Model.

Properties

-name:

Readable, writable. Inherited.

-type:

Readable, writable. Inherited.

Superclasses

::SpiceGenTcl::Model

constructor

Creates object of class Jfet1Model that describes JFET level 1 model with Parker Skellern modification.

OBJECT constructor name type ?-option value ...?

Parameters

args:

Keyword model parameters, for details please see Ngspice manual, chapter 9.

name:

Name of the model.

type:

njf or pjf

Description

Example of class initialization:

Jfet1Model new jfetmod njf -vto 2 -beta 1e-3 -lambda 1e-4 -cgd 1e-12

Jfet2Model

Method summary

constructor

Constructor for the class.

configure

Configure properties. See ::oo::configuresupport::configurable.

actOnParam

Inherited from ::SpiceGenTcl::Model.

genSPICEString

Inherited from ::SpiceGenTcl::Model.

Properties

-name:

Readable, writable. Inherited.

-type:

Readable, writable. Inherited.

Superclasses

::SpiceGenTcl::Model

constructor

Creates object of class Jfet2Model that describes JFET level 2 model with Parker Skellern modification.

OBJECT constructor name type ?-option value ...?

Parameters

args:

Keyword model parameters, for details please see Ngspice manual, chapter 9.

name:

Name of the model.

type:

njf or pjf

Description

Example of class initialization:

Jfet2Model new jfetmod njf -vto -2 -beta 10e-4 -rs 1e-4 -vbi 1.2

M

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

Mosfet

Mesfet

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

Z

constructor

Creates object of class Mesfet that describes semiconductor MESFET device.

OBJECT constructor name nd ng ns -model value ?-area value? ?-off? ?-ic {value value} ?

Parameters

-area value:

Scale factor, optional.

-ic value:

Initial conditions for vds and vgs, in form of two element list, optional.

-model value:

Name of the model.

-off:

Initial state, optional.

name:

Name of the device without first-letter designator Z.

nd:

Name of node connected to drain pin.

ng:

Name of node connected to gate pin.

ns:

Name of node connected to source pin.

Description

ZXXXXXXX ND NG NS MNAME <AREA> <OFF> <IC=VDS,VGS>

Example of class initialization:

Mesfet new 1 netd netg nets -model mesfetmod -area {-eq area*2}

Mesfet1Model

Method summary

constructor

Constructor for the class.

configure

Configure properties. See ::oo::configuresupport::configurable.

actOnParam

Inherited from ::SpiceGenTcl::Model.

genSPICEString

Inherited from ::SpiceGenTcl::Model.

Properties

-name:

Readable, writable. Inherited.

-type:

Readable, writable. Inherited.

Superclasses

::SpiceGenTcl::Model

constructor

Creates object of class Mesfet1Model that describes MESFET model by Statz e.a..

OBJECT constructor name type ?-option value ...?

Parameters

args:

Keyword model parameters, for details please see Ngspice manual, chapter 10.

name:

Name of the model.

type:

nmf or pmf

Description

Example of class initialization:

Jfet2Model new jfetmod njf -vto -2 -beta 10e-4 -rs 1e-4 -vbi 1.2

Mosfet

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

M

constructor

Creates object of class Mosfet that describes semiconductor MOSFET device.

OBJECT constructor name nd ng ns -model value ?-n4 value ?-n5 value ?-n6 value ?-n7 value???? ?-m value? ?-l value? ?-w value? ?-ad value|-nrd value? ?-as value|-nrs value? ?-temp value? ?-off? ?-pd value? ?-ps value? ?-ic {value value value}? ?-custparams param1 {?-eq|-poseq|-posnocheck|-pos|-nocheck? param1Val} ...?

Parameters

-ad value:

Diffusion area of drain, optional, forbids -nrd

-as value:

Diffusion area of source, optional, forbids -nrs

-custparams:

Key that collects all arguments at the end of device definition, to provide an ability to add custom parameters in form -custparams param1 param1Val param2 {-eq param2eq} param3 param3Val ... Must be specified after all others options. Optional.

-ic value:

Initial conditions for vds, vgs and vbs, in form of three element list, optional, require 4th node.

-l value:

Length of channel, optional.

-m value:

Multiplier, optional.

-model value:

Name of the model.

-n4 value:

Name of 4th node;

-n5 value:

Name of 5th node, require -n4, optional.

-n6 value:

Name of 6th node, require -n5, optional.

-n7 value:

Name of 7th node, require -n6, optional.

-nrd value:

Equivalent number of squares of the drain diffusions.

-nrs value:

Equivalent number of squares of the source diffusions.

-off:

Initial state, optional.

-pd value:

Perimeter area of drain, optional.

-ps value:

Perimeter area of source, optional.

-temp value:

Device temperature.

-w value:

Width of channel, optional.

name:

Name of the device without first-letter designator M.

nd:

Name of node connected to drain pin.

ng:

Name of node connected to gate pin.

ns:

Name of node connected to source pin.

Description

MXXXXXXX nd ng ns nb mname <m=val> <l=val> <w=val>
+ <ad=val> <as=val> <pd=val> <ps=val> <nrd=val>
+ <nrs=val> <off> <ic=vds,vgs,vbs> <temp=t>

Example of class initialization:

Mosfet new 1 netd netg nets -model mosfetmod -l 1e-6 -w 10e-3 -n4 netsub -n5 net5

Q

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

Bjt

Z

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

Mesfet


Copyright (c) George Yashin