OPort

class ioiocore.o_port.OPort(name='out', type='Any', timing='Sync', **kwargs)[source]

Bases: Port

A class representing an output port, inheriting from Port.

Parameters:
  • name (str)

  • type (str)

  • timing (Timing)

class Configuration(name='out', type='Any', timing='Sync', **kwargs)[source]

Bases: Configuration

Configuration class for OPort.

Parameters:
  • name (str)

  • type (str)

  • timing (Timing)

class Keys[source]

Bases: Keys

Keys for the OPort configuration (none).

__init__(name='out', type='Any', timing='Sync', **kwargs)[source]

Initializes the configuration for OPort.

Parameters:
  • name (str, optional) – The name of the port (default is Constants.Defaults.PORT_OUT).

  • type (str, optional) – The type of the port (default is ‘Any’).

  • timing (Constants.Timing, optional) – The timing of the port (default is Constants.Timing.SYNC).

  • **kwargs (additional keyword arguments) – Other configuration options.

Raises:

ValueError – If the timing is set to Constants.Timing.INHERITED.

__init__(name='out', type='Any', timing='Sync', **kwargs)[source]

Initializes the OPort.

Parameters:
  • name (str, optional) – The name of the port (default is Constants.Defaults.PORT_OUT).

  • type (str, optional) – The type of the port (default is ‘Any’).

  • timing (Constants.Timing, optional) – The timing of the port (default is Constants.Timing.SYNC).

  • **kwargs (additional keyword arguments) – Other configuration options.

config: Configuration