fet module#
FET transistor symbols for JITX Standard Library
This module provides MOSFET symbol definitions for N-Channel and P-Channel transistors in Enhancement and Depletion modes.
- class FETJunction(*values)[source]#
Bases:
EnumFET junction (channel) types
Defines the channel type for field effect transistors.
- N_CHANNEL = 'n_channel'#
- P_CHANNEL = 'p_channel'#
- class FETMode(*values)[source]#
Bases:
EnumFET operating modes
Defines the operating mode for MOSFETs (enhancement or depletion).
- ENHANCEMENT = 'enhancement'#
- DEPLETION = 'depletion'#
- class FETConfig(arrow_config=None, label_config=None, pitch=3.0, width=2.0, porch_width=0.5, base_line_length=2.3, outline=True, line_width=0.1, channel_gap=0.15)[source]#
Bases:
LabelConfigurable,ArrowConfigurableConfiguration for FET symbols
Defines the geometric and visual parameters for MOSFET symbols.
- Parameters:
arrow_config (ArrowConfig | None)
label_config (LabelConfig | None)
pitch (float)
width (float)
porch_width (float)
base_line_length (float)
outline (bool)
line_width (float)
channel_gap (float)
- class FETSymbol(junction_type=FETJunction.N_CHANNEL, mode_type=FETMode.ENHANCEMENT, config=None, **kwargs)[source]#
Bases:
LabelledSymbol,GenericMOSFET symbol with graphics and pins.
The FET symbol consists of: - Drain and source channel lines - Gate structure (solid or dashed based on mode) - Body arrow (direction indicates N/P channel) - Body-to-source connection - Optional circle outline
Pins: ‘G’ (gate), ‘D’ (drain), ‘S’ (source)
- Parameters:
junction_type (FETJunction)
mode_type (FETMode)
config (
T)
- outline_circle: Shape[ArcPolyline] | None#
-
config:
T#
- junction_type: FETJunction#
- property porch_width: float#
See
porch_width.
- property base_line_length: float#
See
base_line_length.
- property line_width: float#
See
line_width.
- property channel_gap: float#
See
channel_gap.
- property label_config: LabelConfigurable#
Configuration object that provides label configuration