PYNQ: PYTHON PRODUCTIVITY FOR ZYNQ

Device Tree Overlay Example

PYNQ-PRIO

In conjunction with the PYNQ v2.5 release, which now supports the use of device tree overlays, the PRIO project provides examples on how to use this new feature. The example notebooks demonstrate the PYNQ API for inserting device tree overlays for both static and partial designs, as well as using Linux Drivers associated with each overlay to interact with the hardware. The examples require jumper wires, LEDs, and for the I2C example, a grove haptic motor. Users can find the example projects on Github.

(Note that users wanting to generate new partial bitstreams will need an additional license).

Pip Install Command

$ sudo -H pip3 install --upgrade git+https://github.com/byuccl/PYNQ-PRIO.git

Github link

https://github.com/byuccl/PYNQ-PRIO

Notebooks Included

(found in the prio_linux directories)

  1. device_tree_overlay_example.ipynb – Insert a device tree overlay fo the PYNQ’s base design to interact with the LEDs.
  2. gpio_linux.ipynb – Interact with partially reconfigurable regions using device overlays and the AXI GPIO Linux driver.
  3. uart_linux.ipynb – Interact with partially reconfigurable regions using device overlays and the AXI UART Linux driver.
  4. iic_linux.ipynb – Interact with a partially reconfigurable region using device overlays and the AXI I2C Linux driver.

License
BSD-3

  • The BYU PRIO Team
2 Likes