<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Add Pynq-Z2 board to Vivado</title><link>/technologies/fpga-group/b/blog/posts/add-pynq-z2-board-to-vivado</link><description>Instructions on how to add the Pynq-Z2 Pynq-Z2 board to Vivado.
This allows you to create projects and custom FPGA bit streams for it.
 
 
image source: customer action video after completing the instruction video of Cathal McCabe listed at the en...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Add Pynq-Z2 board to Vivado</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/add-pynq-z2-board-to-vivado</link><pubDate>Sun, 24 Oct 2021 19:02:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8d008f8a-b104-4649-85de-d2b00e491d3c</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The Pynq community started a new set of tutorials: &lt;a class="jive-link-external-small" href="https://discuss.pynq.io/t/tutorial-pynq-dma-part-1-hardware-design/3133" rel="nofollow ugc noopener" target="_blank" title="https://discuss.pynq.io/t/tutorial-pynq-dma-part-1-hardware-design/3133"&gt;https://discuss.pynq.io/t/tutorial-pynq-dma-part-1-hardware-design/3133&lt;/a&gt; .&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To get the working set in your jupyter workbooks:&lt;/p&gt;&lt;p&gt;form /home/xilinx , execute these 3 steps:&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=git+clone+https%3A%2F%2Fgithub.com%2Fcathalmccabe%2FPYNQ_tutorials.git%0Acd+jupyter_notebooks%0Aln+-s+%2Fhome%2Fxilinx%2FPYNQ_tutorials+.%2FPYNQ_tutorials]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you want to have the Vivado project created automatically (not needed, the bit and .hwh files are provided and instructions to manually create the project are lesson part 1) , there are scripts available.&lt;/p&gt;&lt;p&gt;If you are on a windows pc, Start Vivado Tcl Shell 2020.1&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=cd+%3Cdirectory+where+you+cloned+the+repository%3E%0Acd+dma%0Asource+dma_tutorial.tcl]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The project will be available in a new myproj subfolder.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x283/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8d008f8a-b104-4649-85de-d2b00e491d3c/7824.contentimage_5F00_216698.png:620:283]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11453&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Add Pynq-Z2 board to Vivado</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/add-pynq-z2-board-to-vivado</link><pubDate>Fri, 24 Sep 2021 18:01:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8d008f8a-b104-4649-85de-d2b00e491d3c</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;ve translated the Johnson Counter from Verilog to VHDL. Another VHDL implementation is available from Jon: &lt;a class="jive-link-blog-small" href="/technologies/fpga-group/b/blog/posts/vidor-4000-johnson-counter"&gt;VIDOR 4000: Johnson Counter&lt;/a&gt; &lt;/p&gt;&lt;p&gt;We&amp;#39;re presenting this project in the PYNQ workshops next week and I can&amp;#39;t explain Verilog code &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8d008f8a-b104-4649-85de-d2b00e491d3c/contentimage_5F00_1.png:16:16]&lt;/span&gt;. Also a reset signal is added.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=library+IEEE%3B%0Ause+IEEE.STD_LOGIC_1164.ALL%3B%0A%0Aentity+jc+is%0A++port+%28+%0A++++nLeft_i++%3A+in+std_logic%3B%0A++++nRight_i+%3A+in+std_logic%3B%0A++++nStop_i++%3A+in+std_logic%3B%0A++++clk_i++++%3A+in+std_logic%3B%0A++++nReset_i+%3A+in+std_logic%3B%0A++++q_o++++++%3A+out+std_logic_vector+%283+downto+0%29%0A++%29%3B%0Aend+jc%3B%0A%0Aarchitecture+Behavioral+of+jc+is%0A%0A++signal+run_s+++++%3A+std_logic%3B%0A++signal+dir_s+++++%3A+std_logic%3B%0A++signal+outputs_s+%3A+std_logic_vector+%283+downto+0%29%3B%0A%0Abegin%0A%0Aprocess+%28clk_i%2C+nReset_i%29%0Abegin%0A++if+%28rising_edge%28clk_i%29%29+then%0A++++if+%28nReset_i+%3D+%270%27%29+then%0A++++++dir_s+%3C%3D+%270%27%3B%0A++++++outputs_s+%3C%3D+%28others+%3D%3E+%270%27%29%3B%0A++++else%0A++++++if+%28nLeft_i+%3D+%270%27%29+then%0A++++++++dir_s+%3C%3D+%270%27%3B%0A++++++++run_s+%3C%3D+%271%27%3B+++%0A++++++elsif+%28nRight_i+%3D+%270%27%29+then%0A++++++++dir_s+%3C%3D+%271%27%3B%0A++++++++run_s+%3C%3D+%271%27%3B+++%0A++++++end+if%3B%0A++++++if+%28nStop_i+%3D+%270%27%29+then%0A++++++++run_s+%3C%3D+%270%27%3B%0A++++++end+if%3B%0A++++%0A++++++if+%28run_s+%3D+%271%27%29+then%0A++++++++if+%28dir_s+%3D+%271%27%29+then+--+right%0A++++++++++outputs_s+%283+downto+1%29+%3C%3D+outputs_s+%282+downto+0%29%3B%0A++++++++++outputs_s%280%29+%3C%3D+not+outputs_s%283%29%3B+%0A++++++++else+%0A++++++++++outputs_s+%282+downto+0%29+%3C%3D+outputs_s+%283+downto+1%29%3B%0A++++++++++outputs_s%283%29+%3C%3D+not+outputs_s%280%29%3B+%0A++++++++end+if%3B%0A++++++end+if%3B%0A++++end+if%3B%0A++end+if%3B%0Aend+process%3B%0A%0A++q_o+%3C%3D+outputs_s%3B%0A%0Aend+Behavioral%3B]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11453&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Add Pynq-Z2 board to Vivado</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/add-pynq-z2-board-to-vivado</link><pubDate>Tue, 10 Aug 2021 14:41:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8d008f8a-b104-4649-85de-d2b00e491d3c</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The VHDL code used in this series is available as GISTs on github:&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://gist.github.com/search?l=VHDL&amp;amp;q=user%3Ajancumps" rel="nofollow ugc noopener" target="_blank" title="https://gist.github.com/search?l=VHDL&amp;amp;q=user%3Ajancumps"&gt;https://gist.github.com/search?l=VHDL&amp;amp;q=user%3Ajancumps&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve put the link to the individual sources in each post.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11453&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Add Pynq-Z2 board to Vivado</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/add-pynq-z2-board-to-vivado</link><pubDate>Mon, 09 Aug 2021 10:08:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8d008f8a-b104-4649-85de-d2b00e491d3c</guid><dc:creator>navadeepganeshu</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;[mention:acaf6a9338de4eef8f6717d5561ed01d:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;, thanks for explaining the full procedure of implementation. The johnson counter did work well.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I was trying to pullout those 4 IOs mapped to onboard LEDs to the PMODA to control stepper motor using the same johnson counter. I believe the synthesis remains same and rerun the implementation directly to change pin mappings over .xdc file. &lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/1366x768/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8d008f8a-b104-4649-85de-d2b00e491d3c/contentimage_5F00_208513.png:1366:768]&lt;/span&gt;&lt;span&gt;[View:/resized-image/__size/1366x768/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8d008f8a-b104-4649-85de-d2b00e491d3c/contentimage_5F00_208514.png:1366:768]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;I changed pinouts to PMODA&amp;#39;s 4 IOs and overwrote the bitstream and .tcl block design file. Then copied to Jupyter notebook and ran the same script(johnson_counter as in video tutorial). I now see still the onboard LEDs blink(scroll over) even if mappings are changed. I am wondering if i missed any critical steps........ Any clues? &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11453&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Add Pynq-Z2 board to Vivado</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/add-pynq-z2-board-to-vivado</link><pubDate>Mon, 05 Jul 2021 11:55:25 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8d008f8a-b104-4649-85de-d2b00e491d3c</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I installed Vivado 2020-1 now, to recreate the base and logictools designs.&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x132/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8d008f8a-b104-4649-85de-d2b00e491d3c/7838.contentimage_5F00_208510.png:620:132]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;First step is to generate the IP. So far so good:&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x221/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8d008f8a-b104-4649-85de-d2b00e491d3c/2161.contentimage_5F00_208511.png:620:221]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Creating the project worked:&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=Vivado%25+exec+vivado+-mode+batch+-source+base.tcl+-notrace]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11453&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Add Pynq-Z2 board to Vivado</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/add-pynq-z2-board-to-vivado</link><pubDate>Fri, 18 Jun 2021 16:59:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8d008f8a-b104-4649-85de-d2b00e491d3c</guid><dc:creator>kk10</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I am having trouble in installing the board in Vivado. The directory mentioned above, I have not been able to locate. Please can anyone help how to do as per the second solution mentioned above. &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11453&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Add Pynq-Z2 board to Vivado</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/add-pynq-z2-board-to-vivado</link><pubDate>Sun, 06 Jun 2021 19:31:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8d008f8a-b104-4649-85de-d2b00e491d3c</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;More action:&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x337/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8d008f8a-b104-4649-85de-d2b00e491d3c/2570.contentimage_5F00_208498.png:620:337]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve now learned how to pass GPIO , reset and clock between the embedded ARM and FPGA.&lt;/p&gt;&lt;p&gt;Next action: how to pass data over memory mapped registers.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11453&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Add Pynq-Z2 board to Vivado</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/add-pynq-z2-board-to-vivado</link><pubDate>Tue, 01 Jun 2021 17:49:56 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8d008f8a-b104-4649-85de-d2b00e491d3c</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;So far so good ...&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x319/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-8d008f8a-b104-4649-85de-d2b00e491d3c/8802.contentimage_5F00_208493.png:620:319]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11453&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>