Skip to main content

Package for the PYNQ Compute Acceleration Labs

Project description

This package contains the notebooks for the PYNQ portion of the Xilinx Vitis tutorials.

Installing the Runtime

If you are working through the labs as part of larger AWS workshop you will already have done this step and can move on to the "Installing Anaconda" step.

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-2022.05-Linux-x86_64.sh -O anaconda3.sh
bash anaconda3.sh -b
source ~/anaconda3/bin/activate

Installing PYNQ and the Lab Material

With the Anaconda environment initialized, PYNQ and the lab material can be installed using pip and the pynq get-notebooks command.

pip install pynq
pip install pynq-compute-labs
pynq get-notebooks

Finally change into the newly created directory and launch JupyterLab

cd pynq-notebooks
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 available on YouTube

In 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.

  1. Using Multiple Devices
  2. Hardware Emulation
  3. Packaging Your Designs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pynq_compute_labs-0.3.0.tar.gz (187.5 kB view details)

Uploaded Source

File details

Details for the file pynq_compute_labs-0.3.0.tar.gz.

File metadata

  • Download URL: pynq_compute_labs-0.3.0.tar.gz
  • Upload date:
  • Size: 187.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pynq_compute_labs-0.3.0.tar.gz
Algorithm Hash digest
SHA256 13c6dfbe08fb8523cb743ea95c783082ad5e4c1441e8f6de2be405ff9d0ca470
MD5 a669699b878137ca01e5537ee4e2f37f
BLAKE2b-256 3ff2d18dc3165ba539099a7316266f1f610c6f2714f707d8dd759c12666e8285

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page