buffer module#

Buffer/Inverter symbol for JITX Standard Library

class BufferConfig(label_config=None, tri_height=3.0, tri_width=2.0, filled=True, line_width=0.15, pin_length=2, pad_name_size=0.65, inverter=False, open_collector=None)[source]#

Bases: LabelConfigurable

Configuration for buffer/inverter symbols

Defines the geometric and visual parameters for buffer symbols.

Parameters:
tri_height: float = 3.0#

Triangle height (vertical dimension)

tri_width: float = 2.0#

Triangle width (horizontal dimension)

filled: bool = True#

Whether to fill the triangle body

line_width: float = 0.15#

Width of the triangle lines

pin_length: int = 2#

Length of the pin extensions

pad_name_size: float | None = 0.65#

Size of the pad name text

inverter: bool = False#

Whether to add inversion bubble (creates inverter)

open_collector: OpenCollectorType | None = None#

Whether to add open-collector symbol on output pin

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

Bases: LabelledSymbol, Generic

Buffer symbol with graphics and pins. Can be configured as buffer or inverter.

Parameters:

config (T | None)

triangle_body: Shape[Polyline] | Shape[Polygon]#
p: dict[int, Pin]#
config: T#
property tri_height: float#

See tri_height.

property tri_width: float#

See tri_width.

property filled: bool#

See filled.

property line_width: float#

See line_width.

property pin_length: float#

See pin_length.

property inverter: bool#

See inverter.

property label_config: LabelConfigurable#

Configuration object that provides label configuration