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
(found in the prio_linux directories)
- device_tree_overlay_example.ipynb – Insert a device tree overlay fo the PYNQ’s base design to interact with the LEDs.
- gpio_linux.ipynb – Interact with partially reconfigurable regions using device overlays and the AXI GPIO Linux driver.
- uart_linux.ipynb – Interact with partially reconfigurable regions using device overlays and the AXI UART Linux driver.
- iic_linux.ipynb – Interact with a partially reconfigurable region using device overlays and the AXI I2C Linux driver.
- The BYU PRIO Team