@@ -23,13 +23,13 @@ Following pre-requisites are necessary in order to work through this tutorial:
### 5.2.1.2 Download the Design files
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). It contains following files/folders:
An archive with the design files can be downloaded [here](./getting-started-zybo/designfiles/GettingStartedZybo.zip). It contains following files/folders:
+**blink_led.xdc:** Xilinx constraints file (Used to connect the top level Ports to the desired Pins).
+**main.c:** Applcation source code.
+**UAS_TEchnikum_Wien_user_blink_led_1.0:** Blink LED IP Core.
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:
Furthermore, download the [board definition files](./getting-started-zybo/designfiles/BoardFilesZybo.zip) for the Zybo development Board. Extract the archive and copy the folder **zybo** to following directory:
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.
Browse to the extracted GettingStartedZybo.zip folder and click **OK**. A window pops up, click **OK**. Click **OK** to leave the **Project Settings**.
...
...
@@ -91,46 +91,46 @@ Right click on empty space in the diagram pane. Click **Add IP** and type in **b
Click on **Run ConnectionAutomation** on the topside of the diagram pane. A window pops up. Leave the default options and click **OK**.
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 **OK**.
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**.
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**.
Click on **Add Files**. Browse to the location of the downloadand extracted GettingStartedZybo.zip file. Select **blink_led.xdc** and click **OK**. Click **Finish**.
In the **Sources** tab right click on **blink_led_zybo_bd** and click on **Generate Output Products**. A window pops up, click on **Generate**. After completion click on **OK**.
In the **Sources** tab right click on **blink_led_zybo_bd** and click on **Create HDL wrapper**. Leave the default option, **Let Vivado manage wrapper and auto-update**. Click **OK**.
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 **Save**. Another window pops up. Click on **Yes**.
A window should pop up once the bitstream generation finished successfully. Click on **Cancel**.
Now click on **File -> Export -> Export Hardware**. Check the **Include bitstream** checkbox and leave the **Export to:** dropdown menu at **\<Local to project\>**. Click **OK**.
@@ -138,23 +138,23 @@ This concludes the Hardware generation process.
Click on **File -> New -> Application Project** to create a new project. As project name enter **blink_led**. Leave all other options at their default values. Click **Next**.
Click on the **STDIO Connection** tab. Check the **Connect STDIO to Console** checkbox. Choose the appropriate **Com Port** and set the Baud Rate to **115200**.
Click **Apply**, then click **Close**. Now Click on **Xilinx Tools -> Program FPGA**. A window pops up. Leave the default options and click **Program**.
After the bitstream is sucessfully donwoloaded to the FPGA the **DONE LED** (**LD10**) lights up. Now click on the **run** Button the start the application.
The console prompts you to enter a value between 0-15. Type 8 and hit enter. **LD3** starts to blink. Type 15 and hit enter. **LD0- LD3** start to blink. Type 0 and hit enter. The LEDs stop to blink.