Skip to content

aldec/TySOM-PYNQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PYNQ v3.0.1 for Aldec boards

Table of Content

PYNQ

PYNQ is an open-source project from Xilinx® that makes it easier to use Xilinx platforms.

Using the Python language and libraries, designers can exploit the benefits of programmable logic and microprocessors to build more capable and exciting electronic systems.

The repository adds support for Aldec boards based on Xilinx Zynq Ultrascale+:

Aldec, Inc.

Download pre-built PYNQ 3.0.1 image for TySOM-3-ZU7EV or TySOM-3A-ZU19EG:

Using pre-built image is a preferred way to use PYNQ with TySOM boards.

Flash SD with PYNQ image

Extract the downloaded 7z package and flash a micro SD card with PYNQ image.

Use Balena Etcher or Win32 Disk Imager to copy the .img file onto an SD card 16GB or larger.

Advanced users can build own image. The build process takes several hours to finish.

Requirements

  • Ubuntu 20.04 host machine (can be virtual)
  • installed Xilinx Vivado 2022.1 tool
  • installed Xilinx Petalinux 2022.1 tool
  • sudo privileges
  • at least 80 GB of free disk space for build process
  • recommended 16 GB RAM for host machine

Build steps

First step is to download Aldec TySOM-PYNQ repository.

This repository contains larg files stored in Git Large File Storage (LFS). To clone this repository with LFS contents you should:

Download and install Git Large File Storage.

Set up Git LFS for your user account.

git lfs install

Clone the repository.

git clone -b 3.0.1 https://github.com/aldec/TySOM-PYNQ.git
cd TySOM-PYNQ

The repository contains board files for Aldec boards and script for preparing PYNQ image. The script downloads PYNQ source, generic PYNQ image and build all components.

Before running the script, source settings file for Vivado 2022.1 and Petalinux 2022.1.

source <vivado_2022_1_path>/settings64.sh
source <petalinux_2022_1_path>/settings.sh

Build the image for TySOM-3-ZU7EV:

./build.sh 1

or TySOM-3A-ZU19EG:

./build.sh 2

If the build crashes due to not satisfied software requirements then run setup_host.sh script:

./build/PYNQ/sdbuild/scripts/setup_host.sh

and rerun build.sh.

For more information about PYNQ refer to:

Visit Aldec website to check TySOM family products: https://www.aldec.com/en/products/embedded/tysom

TySOM-3-ZU7EV