avl._core.port module

class avl._core.port.Port(*args: Any, **kwargs: Any)[source]
__init__(name: str, parent: Component) None[source]

Initializes the port with a name and parent component.

Parameters:
  • name (str) – The name of the port.

  • parent (Component) – The parent component to which this port belongs.

connect(dst_list: List) None[source]

Connects the port to a destination list.

Parameters:

dst_list (List) – The destination list to connect to.

write(data: Any) None[source]

Writes data to the connected channels.

Parameters:

data – The data to be written.

delete() None[source]

Deletes the connected channels.