{"id":226,"date":"2015-01-22T09:42:35","date_gmt":"2015-01-22T17:42:35","guid":{"rendered":"http:\/\/www.beyond-circuits.com\/wordpress\/?page_id=226"},"modified":"2023-02-01T17:20:41","modified_gmt":"2023-02-02T01:20:41","slug":"tutorial","status":"publish","type":"page","link":"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/","title":{"rendered":"An FPGA Tutorial using the ZedBoard"},"content":{"rendered":"<p>This tutorial is intended as a simple introduction to FPGAs using the Xilinx ZYNQ SoC FPGA. The board used in the examples is the ZedBoard, but you could use pretty much any ZYNQ development board that supports Pmod interfaces. The tutorial uses the Digilent PmodENC and PmodSSD peripheral boards. Links to these products are provided below. You can find out about the ZedBoard\u00a0<a href=\"https:\/\/www.avnet.com\/wps\/portal\/us\/products\/avnet-boards\/avnet-board-families\/zedboard\/\">here<\/a>.<\/p>\n<h2>Supplies<\/h2>\n<p>You can purchase a ZedBoard from <a title=\"Avnet Express\" href=\"http:\/\/avnetexpress.avnet.com\/store\/em\/EMController?action=products&amp;catalogId=500201&amp;storeId=500201&amp;N=0&amp;langId=-1&amp;slnk=b&amp;term=AES-Z7EV-7Z020-G&amp;hrf=http%3A\/\/www.em.avnet.com\/en-us\/design\/drc\/Pages\/Zedboard.aspx%3Fcmp%3Dxlx-tpm-drc-zedboard-jun2012&amp;intcmp=EMA-BUY-AES-Z7EV-7Z020-G\">Avnet Express<\/a>\u00a0for $395, or from <a title=\"Digilent\" href=\"https:\/\/www.digilentinc.com\/Products\/Detail.cfm?NavPath=2,400,1028&amp;Prod=ZEDBOARD\">Digilent<\/a>\u00a0for $495 ($319 Academic). A good alternative board for this tutorial is the ZYBO board (also from Digilent). It is $189 ($125 Academic). The main difference between the boards is that the ZedBoard has an FMC expansion connector and a more powerful FPGA. This tutorial will also uses two Digilent Pmod boards. The <a title=\"PmodENC\" href=\"https:\/\/www.digilentinc.com\/Products\/Detail.cfm?NavPath=2,401,479&amp;Prod=PMOD-ENC\">PmodENC<\/a>\u00a0rotary encoder and the <a title=\"PmodSSD\" href=\"https:\/\/www.digilentinc.com\/Products\/Detail.cfm?NavPath=2,401,481&amp;Prod=PMOD-SSD\">PmodSSD<\/a>\u00a0seven segment display.<\/p>\n<h2>Software<\/h2>\n<p>You can follow along with the tutorial using either Linux or Windows. I use Linux so the examples may be biased in that direction. However, I will also try to provide links and tips for using Windows.<\/p>\n<p>You will need to download the Xilinx Vivado software from the Xilinx website. Make sure you download release 2014.4 or later. The ZedBoard comes with a license for the ZYNQ 7020 part on the board. Follow the directions that come with the board to redeem your license.<\/p>\n<h2>But First..<\/h2>\n<p>Before starting on this tutorial, you should do the first tutorial on the ZedBoard site. That will get you familiar with using the Vivado IDE. Specifically you need to learn how to create a project and program the board. Once you have mastered that, you can get started on the tutorials here.<\/p>\n<ul>\n<li><a title=\"Tutorial 1\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial1\/\">Tutorial 1: The Simplest FPGA in the World<\/a><\/li>\n<li><a title=\"Tutorial 2\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial2\/\">Tutorial 2: Simulation<\/a><\/li>\n<li><a title=\"Tutorial 3\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial3\/\">Tutorial 3: More Simulation, and an Important Topic<\/a><\/li>\n<li><a title=\"Tutorial 4 \u2013 Driving the Seven Segment Display\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial4\/\">Tutorial 4: Driving the Seven Segment Display<\/a><\/li>\n<li><a title=\"Tutorial 5 \u2013 The Other Digit\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial5\/\">Tutorial 5: The Other Digit<\/a><\/li>\n<li><a title=\"Tutorial 6 \u2013 Counting the Seconds\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial6\/\">Tutorial 6: Counting the Seconds<\/a><\/li>\n<li><a title=\"Tutorial 7 \u2013 Counting the Seconds, the Human Edition\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial7\/\">Tutorial 7: Counting the Seconds, the Human Edition<\/a><\/li>\n<li><a title=\"Tutorial 8 \u2013 Stopwatch\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial8\/\">Tutorial 8: Stopwatch<\/a><\/li>\n<li><a title=\"Tutorial 9 \u2013 Measuring Button Bounce\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial9\/\"> Tutorial 9: Measuring Button Bounce<\/a><\/li>\n<li><a title=\"Tutorial 10 \u2013 Completing the Bounce Measure Design\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial10\/\">Tutorial 10: Completing the Bounce Measure Design<\/a><\/li>\n<li><a title=\"Tutorial 11 \u2013 A Debounce Circuit\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial11\/\">Tutorial 11: A Debounce Circuit<\/a><\/li>\n<li><a title=\"Tutorial 12 \u2013 Rotary Encoder\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial12\/\">Tutorial 12: Rotary Encoder<\/a><\/li>\n<li><a title=\"Tutorial 13 \u2013 Creating an IP Component\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial13\/\">Tutorial 13: Creating an IP Component<\/a><\/li>\n<li><a title=\"Tutorial 14 \u2013 Building an ARM FPGA\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial14\/\">Tutorial 14: Building an ARM FPGA<\/a><\/li>\n<li><a title=\"Tutorial 15 \u2013 A Software Stopwatch\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial15\/\">Tutorial 15: A\u00a0Software\u00a0Stopwatch<\/a><\/li>\n<li><a title=\"Tutorial 16 \u2013 A Software Stopwatch\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial16\/\">Tutorial 16: Static Timing<\/a><\/li>\n<li><a title=\"Tutorial 17 \u2013 A Software Stopwatch\" href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial17\/\">Tutorial 17: Starting Audio (or a really complicated wire)<\/a><\/li>\n<li>Tutorial 18: I2S Receiver\n<ul>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial18\/\">A Basic Receiver<\/a><\/li>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial18\/part2\/\">More Functionality<\/a><\/li>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial18\/part2\/discussion\/\">Discussion<\/a><\/li>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial18\/part3\/\">Using the FPGA Clock Domain<\/a><\/li>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial18\/part4\/\">Adding an AXI4 Streaming interface<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial19\/\">Tutorial 19: I2S Transmitter<\/a><\/li>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial20\/\">Tutorial 20: I2S Loopback<\/a><\/li>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial21\/\">Tutorial 21: Having some fun<\/a><\/li>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial22\/\">Tutorial 22: Embedded Linux &#8211; Hardware<\/a><\/li>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial23\/\">Tutorial 23: Embedded Linux &#8211; PetaLinux<\/a><\/li>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial24\/\">Tutorial 24: Embedded Linux &#8211; Controlling a SPI device<\/a><\/li>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial25\/\">Tutorial 25: Debugging Linux Applications from SDK<\/a><\/li>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial26\/\">Tutorial 26: Controlling a SPI device using the ZYNQ SPI controller<\/a><\/li>\n<li><a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/tutorial27\/\">Tutorial 27: Booting PicoZed using eMMC FLASH<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial is intended as a simple introduction to FPGAs using the Xilinx ZYNQ SoC FPGA. The board used in the examples is the ZedBoard, but you could use pretty much any ZYNQ development board that supports Pmod interfaces. The &hellip; <a href=\"https:\/\/www.beyond-circuits.com\/wordpress\/tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-226","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.beyond-circuits.com\/wordpress\/wp-json\/wp\/v2\/pages\/226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.beyond-circuits.com\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.beyond-circuits.com\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.beyond-circuits.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beyond-circuits.com\/wordpress\/wp-json\/wp\/v2\/comments?post=226"}],"version-history":[{"count":50,"href":"https:\/\/www.beyond-circuits.com\/wordpress\/wp-json\/wp\/v2\/pages\/226\/revisions"}],"predecessor-version":[{"id":1361,"href":"https:\/\/www.beyond-circuits.com\/wordpress\/wp-json\/wp\/v2\/pages\/226\/revisions\/1361"}],"wp:attachment":[{"href":"https:\/\/www.beyond-circuits.com\/wordpress\/wp-json\/wp\/v2\/media?parent=226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}