power module#

Power symbol for JITX Standard Library

This module defines the Power symbol, often used as a net symbol, and associated construction functions.

class PowerConfig(label_config=None, line_width=0.15, porch_width=1.0, bar_width=3.0)[source]#

Bases: LabelConfigurable

Configuration for power symbols

Defines the geometric and visual parameters for power symbols.

Parameters:
line_width: float = 0.15#

Width of the power symbol lines

porch_width: float = 1.0#

Distance from pin to horizontal bar

bar_width: float = 3.0#

Width of the horizontal power bar

class PowerSymbol(config=None, **kwargs)[source]#

Bases: LabelledSymbol

Power symbol with graphics and pin.

Creates a typical power net symbol consisting of a vertical line with a horizontal bar at the top in the +Y dimension.

Parameters:

config (PowerConfig | None)

vertical_line: Shape[Polyline]#
horizontal_bar: Shape[Polyline]#
pwr: Pin#
config: PowerConfig#
property line_width: float#

See line_width.

property porch_width: float#

See porch_width.

property bar_width: float#

See bar_width.

property label_config: LabelConfigurable#

Configuration object that provides label configuration

SupplySymbol#

alias of PowerSymbol