pynq PackageΒΆ

All PYNQ code is contained in the pynq Python package and can be found on the on the Github repository.

To learn more about Python package structures, please refer to the official python documentation.

Foundational modules:

  • - Facilitates management of the Processing System (PS) and PS/PL interface.
  • - Facilitates management of the Programmable Logic (PL).
  • pynq.overlay - Manages the state, drivers, and and contents of overlays.

Data Movement modules:

  • pynq.mmio - Implements PYNQ Memory Mapped IO (MMIO) API
  • pynq.gpio - Implements PYNQ General-Purpose IO (GPIO) by wrapping the Linux Sysfs API
  • pynq.xlnk - Implements Contiguous Memory Allocation for PYNQ DMA

Interrupt/AsyncIO Module:

  • pynq.interrupt - Implements PYNQ asyncio


  • pynq.lib - Contains sub-packages with drivers for for PMOD, Arduino and Logictools PYNQ Libraries, and drivers for various communication controllers (GPIO, DMA, Video, Audio)