pynq.mmio Module¶
-
class
pynq.mmio.MMIO(base_addr, length=4, debug=False)[source]¶ Bases:
objectThis class exposes API for MMIO read and write.
-
virt_base¶ The address of the page for the MMIO base address.
Type: int
-
virt_offset¶ The offset of the MMIO base address from the virt_base.
Type: int
-
base_addr¶ The base address, not necessarily page aligned.
Type: int
-
length¶ The length in bytes of the address range.
Type: int
-
debug¶ Turn on debug mode if it is True.
Type: bool
-
mmap_file¶ Underlying file object for MMIO mapping
Type: file
-
mem¶ An mmap object created when mapping files to memory.
Type: mmap
-
array¶ A numpy view of the mapped range for efficient assignment
Type: numpy.ndarray
-