CIRCT  20.0.0git
Public Member Functions | Public Attributes | List of all members
esiaccel.types.MMIORegion Class Reference
Inheritance diagram for esiaccel.types.MMIORegion:
Inheritance graph
[legend]
Collaboration diagram for esiaccel.types.MMIORegion:
Collaboration graph
[legend]

Public Member Functions

def __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
def __new__ (cls, HWModule owner, cpp.BundlePort cpp_port)
 
def __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
 
- Public Attributes inherited from esiaccel.types.BundlePort
 owner
 
 cpp_port
 

Detailed Description

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.

Definition at line 410 of file types.py.

Constructor & Destructor Documentation

◆ __init__()

def esiaccel.types.MMIORegion.__init__ (   self,
HWModule  owner,
cpp.MMIORegion  cpp_port 
)

Definition at line 415 of file types.py.

Member Function Documentation

◆ descriptor()

cpp.MMIORegionDesc esiaccel.types.MMIORegion.descriptor (   self)

Definition at line 420 of file types.py.

References LowerRegionTarget.region, and esiaccel.types.MMIORegion.region.

◆ read()

bytearray esiaccel.types.MMIORegion.read (   self,
int  offset 
)
Read a value from the MMIO region at the given offset.

Definition at line 423 of file types.py.

References LowerRegionTarget.region, and esiaccel.types.MMIORegion.region.

◆ write()

None esiaccel.types.MMIORegion.write (   self,
int  offset,
bytearray  data 
)
Write a value to the MMIO region at the given offset.

Definition at line 427 of file types.py.

References LowerRegionTarget.region, and esiaccel.types.MMIORegion.region.

Member Data Documentation

◆ region

esiaccel.types.MMIORegion.region

The documentation for this class was generated from the following file: