Skip to main content

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

Metadata

Release files for pynq-compute-labs 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pynq-compute-labs 0.3.0
File Size Uploaded Provenance Actions
pynq_compute_labs-0.3.0.tar.gz 187.5 kB Without provenance Details for pynq_compute_labs-0.3.0.tar.gz

Release files / pynq_compute_labs-0.3.0.tar.gz

Download URL pynq_compute_labs-0.3.0.tar.gz
Size 187.5 kB
Tags Source
SHA-256 checksum
How to use checksums
13c6dfbe08fb8523cb743ea95c783082ad5e4c1441e8f6de2be405ff9d0ca470
BLAKE2b-256 checksum
How to use checksums
3ff2d18dc3165ba539099a7316266f1f610c6f2714f707d8dd759c12666e8285
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for pynq-compute-labs 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page