How to use PyPi to deliver FPGA Overlays?

Many thanks for the detailed tutorials, and the great work of PYNQ to make a better approach than PetaLinux. I am newbie and feels so suffocating with tons of knowledge about Xilinx platforms. I have these 2 questions, please help:

  1. How to install a rebuilt overlay project, without PyPI? For example, after cloning GitHub - Xilinx/PYNQ-HelloWorld: This repository contains a "Hello World" introduction application to the Xilinx PYNQ framework., I want to rebuild it, and install it directly to my board.

  2. Can a WAA-TRD project built with Vivado flow work on PYNQ device? By copying .bit, .tcl, .hwh files and creating custom overlay driver ? I think it’s possible, isn’t it?

Thank you in advance.

1 Like

The setup.py file is what allows the repository to be “pip” installed.
https://github.com/Xilinx/PYNQ-HelloWorld/blob/master/setup.py
You don’t have to use PyPi.
You can copy the directory to your board and install it locally with
pip install ./path/to/repo
You can also install directly from a git repository if you board has internet access.
E.g. pip install http://www.github.com/url/of/your/repo

I don’t know what WAA-TRD is. If you have a bitfile and HWH for your board, you can copy these to your board and use them with PYNQ. If WAA-TRD was built for a different board, you won’t be able to use it without modifying/rebuilding.

Cathal

1 Like