pySimBlocks.gui.blocks.operators.mux

class pySimBlocks.gui.blocks.operators.mux.MuxMeta[source]

Bases: BlockMeta

Describe the GUI metadata of the mux block.

resolve_port_group(port_meta: PortMeta, direction: Literal['input', 'output'], instance: BlockInstance) list[PortInstance][source]

Resolve mux input ports from the configured input count.

Parameters:
  • port_meta – Declared port metadata.

  • direction – Direction of the port group.

  • instance – Block instance whose ports are being built.

Returns:

Concrete ports for the requested port group.