|
CIRCT 24.0.0git
|


Public Member Functions | |
| __init__ (self, HWModule owner, cpp.MMIORegion cpp_port) | |
| cpp.MMIORegionDesc | descriptor (self) |
| bytearray | read (self, int offset) |
| None | write (self, int offset, bytearray data) |
| Public Member Functions inherited from esiaccel.types.BundlePort | |
| __new__ (cls, HWModule owner, cpp.BundlePort cpp_port) | |
| __init__ (self, HWModule owner, cpp.BundlePort cpp_port) | |
| WritePort | write_port (self, str channel_name) |
| ReadPort | read_port (self, str channel_name) |
Public Attributes | |
| region = cpp_port | |
| Public Attributes inherited from esiaccel.types.BundlePort | |
| owner = owner | |
| cpp_port = cpp_port | |
A region of memory-mapped I/O space. This is a collection of named channels, which are either read or read-write. The channels are accessed by name, and can be connected to the host.
| esiaccel.types.MMIORegion.__init__ | ( | self, | |
| HWModule | owner, | ||
| cpp.MMIORegion | cpp_port ) |
| cpp.MMIORegionDesc esiaccel.types.MMIORegion.descriptor | ( | self | ) |
Definition at line 715 of file types.py.
References esi::Segment.region, region, and LowerRegionTarget.region.
| bytearray esiaccel.types.MMIORegion.read | ( | self, | |
| int | offset ) |
Read a value from the MMIO region at the given offset.
Definition at line 718 of file types.py.
References read(), esi::Segment.region, region, and LowerRegionTarget.region.
Referenced by read().
| None esiaccel.types.MMIORegion.write | ( | self, | |
| int | offset, | ||
| bytearray | data ) |
Write a value to the MMIO region at the given offset.
Definition at line 722 of file types.py.
References esi::Segment.region, region, LowerRegionTarget.region, and write().
Referenced by write().
| esiaccel.types.MMIORegion.region = cpp_port |
Definition at line 712 of file types.py.
Referenced by descriptor(), read(), and write().