Modelica.Electrical.Spice3.Internal.Mos

Records and functions for MOSFETs level 1,2,3,6

Information

This package Mos contains functions and records with data of the MOSFET models level 1, 2, 3 and 6.

Extends from Modelica.Icons.InternalPackage (Icon for an internal package (indicating that the package should not be directly utilized by user)).

Package Content

Name Description
Modelica.Electrical.Spice3.Internal.Mos.MosModelLineParams MosModelLineParams Record for Mosfet model line parameters (for level 1, 2, 3 and 6)
Modelica.Electrical.Spice3.Internal.Mos.MosModelLineVariables MosModelLineVariables Record for Mosfet model line variables (for level 1)
Modelica.Electrical.Spice3.Internal.Mos.MosCalc MosCalc Further MOSFET variables (for level 1, 2, 3 and 6)
Modelica.Electrical.Spice3.Internal.Mos.DEVqmeyer DEVqmeyer Meyer capacities and charge
Modelica.Electrical.Spice3.Internal.Mos.CurrrentsCapacitances CurrrentsCapacitances Currents and Capacities
Modelica.Electrical.Spice3.Internal.Mos.mosCalcInitEquations mosCalcInitEquations Mosfet initial precalculations (level 1)
Modelica.Electrical.Spice3.Internal.Mos.mosCalcCalcTempDependencies mosCalcCalcTempDependencies Precalculation relating to temperature
Modelica.Electrical.Spice3.Internal.Mos.mosCalcNoBypassCode mosCalcNoBypassCode Calculation of currents and capacities (level 1)
Modelica.Electrical.Spice3.Internal.Mos.mosCalcDEVqmeyer mosCalcDEVqmeyer Calculation of Meyer capacities
Modelica.Electrical.Spice3.Internal.Mos.mos2CalcInitEquationsRevised mos2CalcInitEquationsRevised Mosfet initial precalculations (level 2)
Modelica.Electrical.Spice3.Internal.Mos.mos2CalcCalcTempDependenciesRevised mos2CalcCalcTempDependenciesRevised Precalculation relating to temperature
Modelica.Electrical.Spice3.Internal.Mos.mos2CalcNoBypassCodeRevised mos2CalcNoBypassCodeRevised Calculation of currents and capacities (level 2)

Modelica.Electrical.Spice3.Internal.Mos.MosModelLineParams Modelica.Electrical.Spice3.Internal.Mos.MosModelLineParams

Record for Mosfet model line parameters (for level 1, 2, 3 and 6)

Information

This record MosModelLineParams contains the model line parameters that are used for the MOSFET transistors level 1, 2, 3 and 6 in SPICE3.

Extends from Spice3.Internal.Mosfet.MosfetModelLineParams (Record for Mosfet model line parameters).

Contents

NameDescription
m_jctSatCurDensityJS, Bulk jct. sat. current density, input - use tSatCurDens
m_sheetResistanceRSH, Sheet resistance [Ohm]
m_bulkJctPotentialPB, Bulk junction potential, input - use tBulkPot
m_bulkJctBotGradingCoeffMJ, Bottom grading coefficient [1/K]
m_bulkJctSideGradingCoeffMJSW, Side grading coefficient [1/K]
m_oxideThicknessTOX, Oxide thickness unit: micron
m_oxideThicknessIsGivenTOX, IsGiven value
m_gateSourceOverlapCapFactorCGS0, Gate-source overlap cap
m_gateDrainOverlapCapFactorCGD0, Gate-drain overlap cap
m_gateBulkOverlapCapFactorCGB0, Gate-bulk overlap cap
m_fNcoefKF, Flicker noise coefficient
m_fNexpAF, Flicker noise exponent
m_mjswIsGivenMJSW, IsGivenValue
m_cgsoIsGivenCGSO, IsGivenValue
m_cgdoIsGivenCGDO, IsGivenValue
m_cgboIsGivenCGBO, IsGivenValue
m_pbIsGivenPB, IsGivenValue
m_oxideCapFactor 
m_vt0VTO, Threshold voltage [V]
m_vtOIsGivenVTO IsGivenValue
m_capBDCBD, B-D junction capacitance [F]
m_capBDIsGivenCapBD IsGivenValue
m_capBSCBS, B-S junction capacitance [F]
m_capBSIsGivenCapBS IsGivenValue
m_bulkCapFactorCJ, Bottom junction cap per area [F/m2]
m_bulkCapFactorIsGivenBulk cap factor IsGivenValue
m_sideWallCapFactorCJSW, Side grading coefficient [F/m]
m_fwdCapDepCoeffFC, Forward bias junction fit parameter
m_phiPHI, Surface potential [V]
m_phiIsGivenPhi IsGivenValue
m_gammaGAMMA, Bulk threshold parameter [V]
m_gammaIsGivenGamma IsGivenValue
m_lambdaChannel-length modulation [1/V]
m_substrateDopingNSUB, Substrate doping
m_substrateDopingIsGivenSubstrate doping IsGivenValue
m_gateTypeTPG, Gate type
m_surfaceStateDensityNSS, Gate type [1/cm2]
m_surfaceStateDensityIsGivensurfaceStateDensityIsGivenValue
m_surfaceMobilityUO, Surface mobility [cm2/(V.s)]
m_latDiffLD, Lateral diffusion [m]
m_jctSatCurIS, Bulk junction sat. current [A]
m_drainResistanceRD, Drain ohmic resistance [Ohm]
m_drainResistanceIsGivenDrain resistance IsGivenValue
m_sourceResistanceRS, Source ohmic resistance [Ohm]
m_sourceResistanceIsGivenSource resistance IsGivenValue
m_transconductanceinput - use tTransconductance [A/V2]
m_transconductanceIsGivenTransconductance IsGivenValue
m_tnomTNOM, Parameter measurement temperature [K]

Modelica.Electrical.Spice3.Internal.Mos.MosModelLineVariables Modelica.Electrical.Spice3.Internal.Mos.MosModelLineVariables

Record for Mosfet model line variables (for level 1)

Information

This record MosModelLineVariables contains the model line variables that are used for the MOSFET transistors level 1 SPICE3.

Extends from Modelica.Icons.Record (Icon for records).

Contents

NameDescription
m_oxideCapFactor 
m_vt0[V]
m_phi[V]
m_gamma 
m_transconductance[A/V2]

Modelica.Electrical.Spice3.Internal.Mos.MosCalc Modelica.Electrical.Spice3.Internal.Mos.MosCalc

Further MOSFET variables (for level 1, 2, 3 and 6)

Information

This record MosCalc contains further MOSFET variables (for level 1, 2, 3 and 6).

Extends from Spice3.Internal.Mosfet.MosfetCalc (Mosfet Variables).

Contents

NameDescription
m_vdsVds, Drain-Source voltage [V]
m_vgsVgs, Gate-Source voltage [V]
m_vbsVbs, Bulk-Source voltage [V]
m_cbsIbs, B-S junction current [A]
m_gbsGbs, Bulk-Source conductance [S]
m_cbdIbd, B-D junction current [A]
m_gbdGbd, Bulk-Drain conductance [S]
m_cdrainIds [A]
m_gdsGds, Drain-Source conductance [S]
m_gmGm, Transconductance [A/V2]
m_gmbsGmbs, Bulk-Source transconductance [A/V2]
m_capbsbCbsb [F]
m_chargebsbQbsb [C]
m_capbssCbss [F]
m_chargebssQbss [C]
m_capbdbCbdb [F]
m_chargebdbQbdb [C]
m_capbdsCbds [F]
m_chargebdsQbds [C]
m_BetaBeta
m_capGSovlCgso, Gate-source overlap cap. [F]
m_capGDovlCgdo, Gate-drain overlap cap. [F]
m_capGBovlCgbo, Gate-bulk overlap cap. [F]
m_capOxCox [F]
m_vonVon, Turn-on voltage [V]
m_vdsatVdsat [V]
m_modeMode
m_lEff[m]
m_sourceResistanceRs [Ohm]
m_drainResistanceRd [Ohm]
m_tTransconductance[A/V2]
m_tSurfMob[cm2/(V.s)]
m_tPhi[V]
m_tVto[V]
m_tSatCurDens[A/m2]
m_tDrainSatCur[A]
m_tSourceSatCur[A]
m_tCBDb[F]
m_tCBDs[F]
m_tCBSb[F]
m_tCBSs[F]
m_tCj[F/m2]
m_tCjsw[F/m]
m_tBulkPot[V]
m_tDepCap[V]
m_tVbi[V]
m_VBScrit[V]
m_VBDcrit[V]
m_f1b[V]
m_f2b 
m_f3b 
m_f1s[V]
m_f2s 
m_f3s 
m_dVt[V]
m_capgd[F]
m_capgs[F]
m_capgb[F]
m_qgs[C]
m_qgd[C]
m_qgb[C]

Modelica.Electrical.Spice3.Internal.Mos.DEVqmeyer Modelica.Electrical.Spice3.Internal.Mos.DEVqmeyer

Meyer capacities and charge

Information

This record DEVqmeyer contains values that are needed for the calculation of the Meyer capacities and charge.

Extends from Modelica.Icons.Record (Icon for records).

Contents

NameDescription
qm_capgb[F]
qm_capgs[F]
qm_capgd[F]
qm_qgs[C]
qm_qgb[C]
qm_qgd[C]
qm_vgs[V]
qm_vgb[V]
qm_vgd[V]

Modelica.Electrical.Spice3.Internal.Mos.CurrrentsCapacitances Modelica.Electrical.Spice3.Internal.Mos.CurrrentsCapacitances

Currents and Capacities

Information

This record CurrentsCapacities contains values for the currents and the capacities inside the MOSFET models level 1, 2, 3 and 6.

Extends from Modelica.Icons.Record (Icon for records).

Contents

NameDescription
idrain[A]
iBD[A]
iBS[A]
cGS[F]
cGB[F]
cGD[F]
cBS[F]
cBD[F]
m_capgd[F]

Modelica.Electrical.Spice3.Internal.Mos.mosCalcInitEquations Modelica.Electrical.Spice3.Internal.Mos.mosCalcInitEquations

Mosfet initial precalculations (level 1)

Information

This function mosCalcInitEquations does the initial precalculation of the MOSFET parameters (level 1).

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
in_pInput record model line parameters for MOS1
in_CInput record SPICE constants
in_vpInput record model line variables
in_mInput record MOSFET parameters

Outputs

NameDescription
out_cOutput record Mos1 calculated values

Modelica.Electrical.Spice3.Internal.Mos.mosCalcCalcTempDependencies Modelica.Electrical.Spice3.Internal.Mos.mosCalcCalcTempDependencies

Precalculation relating to temperature

Information

This function mosCalcCalcTempDependencies does precalculation relating to the temperature (level 1).

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
in_pInput record model line parameters for MOS1
in_CInput record SPICE constants
in_vpInput record model line variables
in_mInput record MOSFET parameters
in_cInput record Mos1Calc
in_m_typeType of MOS transistor

Outputs

NameDescription
out_cOutput record with calculated values

Modelica.Electrical.Spice3.Internal.Mos.mosCalcNoBypassCode Modelica.Electrical.Spice3.Internal.Mos.mosCalcNoBypassCode

Calculation of currents and capacities (level 1)

Information

This function mosCalcNoBypassCode calculates the currents (and the capacitances) that are necessary for the currents sum in the toplevelmodel (level 1).

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
in_mInput record MOSFET parameters
in_m_typeType of MOS transistor
in_cInput record Mos1Calc
in_pInput record model line parameters for MOS1
in_CInput record SPICE constants
in_vpInput record model line variables
in_m_bInit 
in_m_pVoltageValues[4][V]

Outputs

NameDescription
out_cc 

Modelica.Electrical.Spice3.Internal.Mos.mosCalcDEVqmeyer Modelica.Electrical.Spice3.Internal.Mos.mosCalcDEVqmeyer

Calculation of Meyer capacities

Information

This function mosCalcDEVqmeyer calculates the Meyer capacities and charge for the Meyer model.

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
vgs[V]
vgd[V]
vgb[V]
in_cInput variable set

Outputs

NameDescription
out_qmQmeyer values

Modelica.Electrical.Spice3.Internal.Mos.mos2CalcInitEquationsRevised Modelica.Electrical.Spice3.Internal.Mos.mos2CalcInitEquationsRevised

Mosfet initial precalculations (level 2)

Information

This function mos2CalcInitEquationsRevised does the initial precalculation of the MOSFET parameters (level 2).

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
in_pInput record Mos2 values
in_mInput record MOSFET parameters

Outputs

NameDescription
out_cOutput record Mos2 calculated values

Modelica.Electrical.Spice3.Internal.Mos.mos2CalcCalcTempDependenciesRevised Modelica.Electrical.Spice3.Internal.Mos.mos2CalcCalcTempDependenciesRevised

Precalculation relating to temperature

Information

This function mos2CalcCalcTempDependenciesRevised does precalculation relating to the temperature (level 2).

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
in_pOutput record Mos1 calculated values
in_mInput record MOSFET parameters
in_cInput record Mos2Calc
in_m_typeType of MOS transistor

Outputs

NameDescription
out_cOutput record with calculated values

Modelica.Electrical.Spice3.Internal.Mos.mos2CalcNoBypassCodeRevised Modelica.Electrical.Spice3.Internal.Mos.mos2CalcNoBypassCodeRevised

Calculation of currents and capacities (level 2)

Information

This function mos2CalcNoBypassCodeRevised calculates the currents (and the capacitances) that are necessary for the currents sum in the toplevelmodel (level 2).

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

NameDescription
in_mInput record MOSFET parameters
in_m_typeType of MOS transistor
in_cInput record Mos2Calc
in_pInput record model line parameters
in_m_bInit 
in_m_pVoltageValues[4][V]

Outputs

NameDescription
out_ccCalculated currents and capacitances
Automatically generated Tue Feb 24 16:59:22 2026.