element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
Review Blogs PYNQ-Z2 Dev Kit - Xilinx/PYNQ_Workshop Introduction
  • Blogs
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Sub-Groups
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
  • Share
  • More
  • Cancel
  • Author Author: ralphjy
  • Date Created: 26 Jun 2019 4:53 AM Date Created
  • Views 1731 views
  • Likes 3 likes
  • Comments 3 comments
Related
Recommended
  • RoadTest
  • pynq-z2

PYNQ-Z2 Dev Kit - Xilinx/PYNQ_Workshop Introduction

ralphjy
ralphjy
26 Jun 2019

My end objective for this roadtest is to implement a binary neural network (BNN) for image classification on the PYNQ-Z2.  I'll need to learn the board hardware and the development framework first.  There are a lot of tutorial videos on YouTube, but I found a Xilinx 1-day, hands-on workshop on GitHub that seems to be just what I need.  It uses some Pmod and Grove peripherals that I don't have, but they will be well worth the cost if I can get them quickly.  I'll blog about my experience as I go through the roadtest.

 

Here is the workshop link: https://github.com/Xilinx/PYNQ_Workshop

I am also a newbie relative to Jupyter notebooks and I found a very useful overview that explained the basics: https://realpython.com/jupyter-notebook-introduction/#getting-up-and-running-with-jupyter-notebook

 

PYNQ Tutorial Workshop

 

Goals

 

Introduction to the PYNQ project

  • Pynq framework
  • PYNQ-Z2 board
  • Jupyter Notebook Interface
  • Overlays and Hardware designs
  • Designing overlays

Hands on experience with Jupyter Notebook and the board

 

 

Agenda

 

Introduction

  • Introduction to PYNQ

 

Session 1

  • First steps with PYNQ (presentation)

Configure board, SD card

Connect to the board

 

Labs:

  • Getting started with Jupyter Notebooks (notebook)
  • Getting started with IPython (notebook)
  • Exploring the board (notebook)
  • Programming on board peripherals (notebook)

 

Session 2

  • Introduction to overlays (presentation)

 

Lab

  • Grove temperature sensor example (notebook)
  • Pmod OLED example (notebook)
  • Grove LED bar example (notebook)
  • Grove light sensor example (notebook)

Session 3

  • Pynq IOPs (presentation)
  • logictools overlay (presentation)

 

Labs:

  • Wavedrom tutorial (notebook)
  • Logictools Boolean generator (notebook)
  • Logictools Boolean generator demo (notebook)
  • Logictools pattern generator (notebook)
  • Logictools FSM generator (notebook)
  • MicroBlaze programming (notebook)

 

Session 4

  • Overlay design methodology (presentation)

 

Labs:

  • PYNQ tutorial on PS GPIO (notebook)
  • PYNQ tutorial on AXI GPIO (notebook)
  • PYNQ tutorial on MMIO (notebook)
  • PYNQ tutorial on XInk (notebook)
  • PYNQ tutorial on XInk with PL master (notebook)
  • PYNQ tutorial on DMA example (notebook)
  • Putting it all together: Resize example (notebook)

 

 

Additional hardware required for Labs in Session 2:

The ZYNQ-Z2 has two Pmod connectors to add external peripherals.  One will be used for an OLED display and the second will be used with a Grove adapter to interface to the Grove peripherals.

 

  1. Grove I2C ADC, use with tempemperature sensor and light sensor
  2. Grove temperature sensor v1.2 (thermistor)
  3. Grove light sensor v1.1 (LDR)
  4. Grove LEDbar v2.0 10 LEDs (7 Green, 1 Light Green, 1 Yellow, 1 Red), uses MY9221 controller
  5. Pmod OLED 128 x 32 pixels monochrome, uses SSD1306 controller
  6. Pmod Grove adapter with 4 Grove sockets
  • Sign in to reply

Top Comments

  • ralphjy
    ralphjy over 6 years ago in reply to genebren +2
    Thanks Gene. The interesting thing about the PYNQ-Z2 is that it has connectors for Raspberry Pi, Arduino Uno, and Pmod IO. The FPGA can be programmed to emulate all those interfaces. It will be fun trying…
  • genebren
    genebren over 6 years ago +1
    Best of luck with your workshop and eventual project/roadtest review. It is nice when you can find a useful learning source for a new project/environment. I hope that this one turns out to be worth your…
  • genebren
    genebren over 6 years ago in reply to ralphjy

    Ralph,

     

    That is pretty cool that you can interface this to RPi and Aduino Uno so easily.  And the Pmod IO is nice too (I have some older Xlinx eval boards that also use the Pmod IO).

     

    Enjoy all of the possibilities!

     

    Gene

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ralphjy
    ralphjy over 6 years ago in reply to genebren

    Thanks Gene.

     

    The interesting thing about the PYNQ-Z2 is that it has connectors for Raspberry Pi, Arduino Uno, and Pmod IO.  The FPGA can be programmed to emulate all those interfaces.  It will be fun trying all that out.  Grove modules can plug in using a Digilent Pmod adapter board and I have a RPi microBUS Hat that I can use for Click modules.

     

    Ralph

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 6 years ago

    Best of luck with your workshop and eventual project/roadtest review.  It is nice when you can find a useful learning source for a new project/environment.  I hope that this one turns out to be worth your time and effort.

     

    Gene

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube