reisner: First Draft Zybo authored by Christopher Reisner's avatar Christopher Reisner
......@@ -22,7 +22,7 @@ Following pre-requisites are necessary in order to work through this tutorial:
An archive with the design files can be downloaded [here](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/designfiles/GettingStartedZybo.zip). Furthermore, download the [board definition files](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/designfiles/BoardFilesZybo.zip) for the Zybo development Board. Extract the archive and copy the folder **zybo** to following directory:
**$VIVADO_ROOT_DIR$/2015.4/data/boards/board_files**
**$VIVADO_ROOT_DIR$/Vivado/2015.4/data/boards/board_files**
## 5.2 Tutorial
......@@ -36,29 +36,74 @@ _1. Launch Vivado:_
_2. Create new Project_
Click on the **Create New Project** button in the quick start menu. Click **Next**. Enter blink_led_zybo as the Project name. Click **Next**.
Click on the **Create New Project** button in the quick start menu. Click **Next**. Enter blink_led_zybo as the Project name. Make sure that **Create project subdirectory** is checked. Click **Next**.
**Note:** Do not use spaces or special characters in the project path.
Select RTL Project. Make sure that the **Do not specify sources at this time** checkbox is **not** selected. Click **Next**.
Select RTL Project. Make sure that the **Do not specify sources at this time** checkbox is **selected**. Click **Next**.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-basys3/img/tutorial_basys1.png)
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/img/tutorial_zybo1.png)
Click on the **Add Files** Button. Browse to the previously downloaded and extracted zip folder. Select **blink_led.vhd** and click **OK**. Make sure that the **Copy sources into project** checkbox is selected and the target language and simulator language is set to VHDL. Click **Next** twice.
In the select box click on **Boards**. Select **Zybo** and click **Next**.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-basys3/img/tutorial_basys2.png)
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/img/tutorial_zybo2.png)
Click on the **Add Files** Button. Browse to the previously downloaded and extracted zip folder. Select **blink_led.xdc** and click **OK**. Make sure that the **Copy constraints files into project** checkbox is selected. Click **Next**.
Click **Finish** to finish the project creation process.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-basys3/img/tutorial_basys3.png)
In the **Flow Navigator** toolbar click the **Create Block Design** button which can be found in the IP Integrator subsection.
In the search box type: **XC7A35TCPG236-1**. Select the Part and click **Next**.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/img/tutorial_zybo3.png)
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-basys3/img/tutorial_basys4.png)
Set name to **blink_led_zybo_bd** and click **OK**.
Click **Finish** to finish the project creation process.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/img/tutorial_zybo4.png)
In the Diagram of the newly created block design right click anywhere. Click **Add IP** and type in **Zynq**. Double click on**ZYNQ7 Processing System**.
Click on **Run Block Automation** on the topside of the diagram pane.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/img/tutorial_zybo5.png)
A window pops up. Leave the default options and click **OK**.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/img/tutorial_zybo6.png)
Click on the **IP Settings** button on the leftside.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/img/tutorial_zybo7.png)
Click on the **Repository Manager** tab, then click on the plus button to add the blink led IP Core.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/img/tutorial_zybo8.png)
Browse to the extracted GettingStartedZybo.zip folder and click **OK**. A window pops up, click **ok**. Click **OK** to leave the**Project Settings**.
Right click on empty space in the diagram pane. Click **Add IP** and type in **blink_led**. Double click on**blink_led_v1.0**.
Click on **Run ConnectionAutomation** on the topside of the diagram pane. A window pops up. Leave the default options and click **OK**.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/img/tutorial_zybo9.png)
Double Click on **processing_system7_0** block. Click on**MIO Configurations**. Click on the button shown below to expand all peripherals. Deselect all peripherals except **UART1**. Click on **OK**.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/img/tutorial_zybo10.png)
Right click on empty space in the diagram pane. Click **Create Port**. For Port name type **leds_out**.Set the**Direction** to **Output**. Leave the **Type** as **Other**. Check the **Create vector** checkbox. Type from **3** to **0**.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/img/tutorial_zybo11.png)
Hold the mouse over the newly created **leds_out[3:0]** port until the cursor changes to apencil. Hold the left mouse down and move the cursor to the
**leds_out[3:0]** port of the **blink_led_0** block until the connection is established, then let go of the left mouse.
In the design tab click on **Sources**. Right click on **Constraints** and click on **Add Sources**. Make sure that **Add or create constraints** is checked. Click **Next**.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/img/tutorial_zybo12.png)
Click on **Add Files**. Browse to the location of the downloadand extracted GettingStartedZybo.zip file. Select **blink_led.xdc** and click **OK**. Click **Finish**.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-zybo/img/tutorial_zybo13.png)
In the **Project Manager** toolbar click the **Generate Bitstream** button which can be found in the Program and Debug subsection. A window pops up. Click on **Yes**.
In the **Flow Navigator** toolbar click the **Generate Bitstream** button which can be found in the Program and Debug subsection. A window pops up. Click on **Yes**.
![](https://es.technikum-wien.at/iplat/testwiki/raw/master/getting-started-basys3/img/tutorial_basys5.png)
......
......