pingspice.analysis.mosfet_model.ArchOpts(object)
class documentation
Part of pingspice.analysis.mosfet_model
(View In Hierarchy)
Known subclasses: pingspice.analysis.mosfet_model.MOSFET_Physics
I store an architecture configuration and provide methods for convenient abstracting of different MOSFET architecture options.
Instance Variable | architecture | A dict set from the device spec, containing entries N_channel, LDD, vertical, and Rp. |
Method | __init__ | Undocumented |
Method | N_channel | Property: True if N-channel (NMOS), False if
P-channel (PMOS). |
Method | P_channel | Property: True if P-channel (NMOS), False if
N-channel (PMOS). |
Method | has_ldd | Property: True if includes a lightly doped drift
region. |
Method | has_jfet | Property: True if includes a JFET region. |
Method | has_Rp | Property: True if there is enough baseline drain-source
leakage to warrant having a fixed resistor in parallel with the MOS3
primitive modeling the channel. |
Method | npi | Returns the unchanged input if N-channel, else the "inverted" value of the input. "Inverted" means different things for different object types: |
Method | npp | Returns the first arg if N channel, else the second one. |
Method | npr | Returns the args, except with the first two reversed if P Channel. |
def has_Rp(self):
Property: True
if there is enough baseline drain-source
leakage to warrant having a fixed resistor in parallel with the MOS3
primitive modeling the channel.
Returns the unchanged input if N-channel, else the "inverted" value of the input. "Inverted" means different things for different object types:
- string: Prepends a '-' onto the string, or removes a '-' if there was one.
- float or int: Makes the value negative if it was positive, leaves it alone if it was already negative.
- AV object or anything else: Inverts it.