symop.devices.ports¶
Device port specification types.
Defines the static interface for device ports, including direction and binding requirements.
These specifications are used by the runtime to validate port mappings provided during device application and to ensure consistency between device definitions and their usage.
Classes
|
Stable declared port interface for a device. |
- class PortSpec(name: str, direction: Literal['in', 'out', 'inout'], required: bool = True) None¶
Bases:
objectStable declared port interface for a device.
- name¶
Logical port name used when binding paths during device application.
- direction¶
Port direction in the semantic device model.
- required¶
Whether the caller must explicitly bind this port.