Package for the PYNQ Labs at FCCM 2020
Project description
This package contains the notebooks for the PYNQ portion of the Xilinx FCCM 2020 tutorial.
Installing the Runtime
On Nimbix the Xilinx runtime will already have been installed
for other Alveo installs you will need to source the XRT setup script:
# Alveo systems only
source /opt/xilinx/xrt/setup.sh
For F1 you will need to download and source the vitis runtime script
# Amazon AWS F1 system only
git clone https://github.com/aws/aws-fpga.git
source aws-fpga/vitis_runtime_setup.sh
Installing Anaconda
We recommend using PYNQ and Jupyterlab in an Anaconda environment open a terminal and run the following commands
wget https://repo.anaconda.com/archive/Anaconda3-2019.07-Linux-x86_64.sh
bash Anaconda3-2019.07-Linux-x86_64.sh -b
source ~/anaconda3/bin/activate
Installing PYNQ and the Lab Material
With Anaconda on initialized PYNQ and the lab material can be installed using pip
and the PYNQ get-notebooks
command.
pip install pynq
pip install pynq-fccm-2020
pynq get-notebooks
cd pynq-notebooks
Finally change into the newly created directory and launch JupyterLab
jupyter lab
This will bring up a Jupyter Lab environment you can use to complete the lab.
Companion Videos
The introductory presentation to the lab material is availble on YouTube
iIn addition, as labs can only show so much of PYNQ, we've created three short companion videos that cover topics that aren't addressed here. We recommending watching them in order, one after each notebook.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.