skidl.interface module¶
Handles interfaces for subsystems with complicated I/O.
- class skidl.interface.Interface(*args, **kwargs)[source]¶
Bases:
dict
An Interface bundles a group of nets/buses into a single entity with each net/bus becoming an attribute. An Interface is also usable as a dict where the attribute names serve as keys. This means the ** operator works on an Interface.
- connect(other_intfc)[source]¶
Connects the nets/buses of this interface to the nets/buses of another interface.
- Parameters:
other_intfc – The interface to connect to this one.
- Returns:
The updated interface with the new connections.
Notes
Connections between interfaces can also be made using the += operator.
- erc_list = []¶