Configure PS of PYNQ to work with SDK

Hi,

If you’re an FPGA fan or someone who’s got PYNQ board for fun, you might be having a hard time making it run Vivado SDK projects. That’s because, the PYNQ-Z1, the cheap Zynq-7020 board doesn’t have any popular DDR ram on board. You need to configure it by hand, however, tcl is at your rescue.

When you create a project and include Zynq-PS system to the block diagram, most of the time you don’t need to change the DDR timing properties because of most of the popular boards ie. Zedboard and Zybo use standard memory parts which are pre-configured in the Vivado. However, if you’ve created an Overlay and used it with the Pynq Linux, it doesn’t make any difference because overlays are PL configurations only, they don’t mess with PS part or DDR interface of PS part.

TL;DR

To configure the memory on the PYNQ just do this copy paste in tcl console and you’re all set for SDK.

If you’ve changed the name of the PS block you might want to change the last line as,

get_bd_cells <ps_block_name>

 

Leave a Reply