pySimBlocks.gui.blocks.operators.demux

class pySimBlocks.gui.blocks.operators.demux.DemuxMeta[source]

Bases: BlockMeta

Describe the GUI metadata of the demux block.

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

Resolve demux output ports from the configured output 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.