PYNQ: PYTHON PRODUCTIVITY ON ZYNQ

Development  Boards

 

There are currently two Zynq boards officially supported by PYNQ: Pynq-Z1 from Digilent, and Pynq-Z2 from TUL. A comparison between the two boards can be found in the table below. Officially supported by PYNQ means a PYNQ image is available and can be downloaded for each board. The image includes board specific example overlays and Jupyter notebooks.

 

PYNQ can also be built for other Zynq boards. For details on building the PYNQ image for other boards, see the PYNQ image build guide

 

 

 

PYNQ-Z1PYNQ-Z2
DeviceZynq Z7020Zynq Z7020
Memory512MB DDR3512MB DDR3
StorageMicroSDMicroSD
VideoHDMI In & OutHDMI In & Out
AudioPDM integrated MicADAU1761 codec with HP + Mic, Line in
3.5 mm PWM audio jack
Network10/100/1000 Ethernet10/100/1000 Ethernet
ExpansionUSB host (PS)USB host (PS)
GPIO1x Arduino Header1x Arduino Header
2x Pmod2x Pmod*
16x GPIO pins1x RaspberryPi header*
Other I/O6x user LEDs6x user LEDs
4x Pushbuttons4x Pushbuttons
2x Dip switches2x Dip switches
Dimensions3.44” x 4.81” (87mm x 122mm)3.44” x 5.51” (87mm x 140mm)
WebpageDigilent PYNQ-Z1 webpageTUL PYNQ-Z2 webpage

*PYNQ-Z2 RaspberryPi header shares 8 pins with 1 Pmod

Board FAQ

 

The PYNQ-Z2, the second Zynq board officially supported by PYNQ, is now available.

 

What are the differences between the PYNQ-Z1 and PYNQ-Z2 boards?

 

The PYNQ-Z1 and PYNQ-Z2 boards share a number of similarities. They both have a Zynq 7020, 512MB DDR, 10/100/1000 Ethernet, USB, SD card boot. 

The main differences are the expansion headers, and the audio systems. 

The PYNQ-Z1 has 2 Pmods, an Arduino header, and ChipKit header. The PYNQ-Z2 also has 2 Pmods, and an Arduino header, but replaces the ChipKit header with a 40-pin Raspberry Pi header. (Note the Raspberry Pi header has 26 data pins connected to the PL. 8 of these pins are shared with Pmod A). 

The PYNQ-Z1 has an integrated MIC with PWM input, and mono PDM audio out. The PYNQ-Z2 has a full ADI audio codec with Headphones out, Mic, and line in.

The boards also have slightly different dimensions.

 

Can I use the same PYNQ image with the PYNQ-Z1 and PYNQ-Z2?

 

The two boards are broadly pin compatible (other than the specific differences listed above) which means both boards should boot from the same PYNQ image. However, separate images are provided for the PYNQ-Z1 and PYNQ-Z2 due to the physical differences between the available audio subsystems on each board, and the addition of the Raspberry Pi header. The base overlay for each board is different, and different audio driver files, and other drivers are included in the image for each boards. 

 

Can I use the same overlays on the PYNQ-Z1 and PYNQ-Z2?

 

The two boards are broadly pin compatible, so unless an overlay makes use of the audio subsystem, or the RaspberryPi/ChipKit pins, it *should* work on either board. Overlay developers are encouraged to check the target board during overlay installation for compatibility. 

 

Where can I buy the boards?

The PYNQ-Z1 is available from Digilent, and the PYNQ-Z2 is available from TUL. Digilent and TUL have a number of distributors around the world which can be found from the board web pages.