IPort
- class ioiocore.i_port.IPort(name='in', type='Any', timing='Sync', **kwargs)[source]
Bases:
Port
Inherits from Port and represents an input port receiveing data.
- Parameters:
name (str)
type (str)
timing (Timing)
- class Configuration(name='in', type='Any', timing='Sync', **kwargs)[source]
Bases:
Configuration
Configuration class for IPort.
- Parameters:
name (str)
type (str)
timing (Timing)
- __init__(name='in', type='Any', timing='Sync', **kwargs)[source]
Initializes the configuration for IPort.
- Parameters:
name (str, optional) – The name of the port (default is Constants.Defaults.PORT_IN).
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.
- __init__(name='in', type='Any', timing='Sync', **kwargs)[source]
Initializes the IPort.
- Parameters:
name (str, optional) – The name of the port (default is Constants.Defaults.PORT_IN).
type (str, optional) – The data 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