... | @@ -8,14 +8,14 @@ |
... | @@ -8,14 +8,14 @@ |
|
|
|
|
|
## 5.2.1 Introduction
|
|
## 5.2.1 Introduction
|
|
|
|
|
|
The following section presents a tutorial for the Zybo Development Board.
|
|
The following section presents a tutorial for the Zybo Development Board.
|
|
|
|
|
|
### 5.2.1.1 Pre-requisites
|
|
### 5.2.1.1 Pre-requisites
|
|
|
|
|
|
Following pre-requisites are necessary in order to work through this tutorial:
|
|
Following pre-requisites are necessary in order to work through this tutorial:
|
|
|
|
|
|
+ Vivado HLx 2015.4 (see [Vivado Toolchain](https://es.technikum-wien.at/iplat/wiki_public/wikis/vivado-toolchain) for an installation guide)
|
|
+ Vivado HLx 2015.4 (see [Vivado Toolchain](https://es.technikum-wien.at/iplat/wiki_public/wikis/vivado-toolchain) for an installation guide)
|
|
+ ZyboDevelopment Board
|
|
+ ZyboDevelopment Board
|
|
+ micro USB cable
|
|
+ micro USB cable
|
|
|
|
|
|
**Note:** Vivado 2016.1 was successfully tested with this tutorial.
|
|
**Note:** Vivado 2016.1 was successfully tested with this tutorial.
|
... | @@ -68,7 +68,7 @@ Set name to **blink_led_zybo_bd** and click **OK**. |
... | @@ -68,7 +68,7 @@ Set name to **blink_led_zybo_bd** and click **OK**. |
|
|
|
|
|
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**.
|
|
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.
|
|
Click on **Run Block Automation** on the topside of the diagram pane.
|
|
|
|
|
|

|
|

|
|
|
|
|
... | @@ -92,7 +92,7 @@ Click on **Run ConnectionAutomation** on the topside of the diagram pane. A win |
... | @@ -92,7 +92,7 @@ Click on **Run ConnectionAutomation** on the topside of the diagram pane. A win |
|
|
|
|
|

|
|

|
|
|
|
|
|
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**.
|
|
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**.
|
|
|
|
|
|

|
|

|
|
|
|
|
... | @@ -100,7 +100,7 @@ Right click on empty space in the diagram pane. Click **Create Port**. For Port |
... | @@ -100,7 +100,7 @@ Right click on empty space in the diagram pane. Click **Create Port**. For Port |
|
|
|
|
|

|
|

|
|
|
|
|
|
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
|
|
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.
|
|
**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**.
|
|
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**.
|
... | @@ -131,11 +131,11 @@ Finally, click on **File -> Launch SDK**. Leave both options at **\<Local to pro |
... | @@ -131,11 +131,11 @@ Finally, click on **File -> Launch SDK**. Leave both options at **\<Local to pro |
|
|
|
|
|

|
|

|
|
|
|
|
|
This concludes the Hardware generation process.
|
|
This concludes the Hardware generation process.
|
|
|
|
|
|
### 5.2.2.2 Xilinx SDK
|
|
### 5.2.2.2 Xilinx SDK
|
|
|
|
|
|
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 **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**.
|
|
|
|
|
|

|
|

|
|
|
|
|
... | @@ -147,7 +147,7 @@ Once the project is sucessfully created right click on the **blink_led** project |
... | @@ -147,7 +147,7 @@ Once the project is sucessfully created right click on the **blink_led** project |
|
|
|
|
|

|
|

|
|
|
|
|
|
Choose **General -> File System** and click **Next**.
|
|
Choose **General -> File System** and click **Next**.
|
|
|
|
|
|

|
|

|
|
|
|
|
... | @@ -160,7 +160,7 @@ Browse to the location of the downloadand and extracted GettingStartedZybo.zip f |
... | @@ -160,7 +160,7 @@ Browse to the location of the downloadand and extracted GettingStartedZybo.zip f |
|
|
|
|
|
Make sure that **JP14** is configured to use **USB** as power source. Furthermore, make sure **JP5** is configured to the **JTAG** mode. Insert a micro USB cable to **J11** and connect it to your PC.
|
|
Make sure that **JP14** is configured to use **USB** as power source. Furthermore, make sure **JP5** is configured to the **JTAG** mode. Insert a micro USB cable to **J11** and connect it to your PC.
|
|
|
|
|
|
Finally, switch **SW4** to the on position.
|
|
Finally, switch **SW4** to the on position.
|
|
|
|
|
|

|
|

|
|
|
|
|
... | @@ -171,7 +171,7 @@ Right click on the **blink_led** project and click on **Run as -> Run Configurat |
... | @@ -171,7 +171,7 @@ Right click on the **blink_led** project and click on **Run as -> Run Configurat |
|
|
|
|
|

|
|

|
|
|
|
|
|
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 on the **STDIO Connection** tab. Check the **Connect STDIO to Console** checkbox. Choose the appropriate **Com Port** and set the Baud Rate to **115200**.
|
|
|
|
|
|

|
|

|
|
|
|
|
... | @@ -179,7 +179,7 @@ Click **Apply**, then click **Close**. Now Click on **Xilinx Tools -> Program FP |
... | @@ -179,7 +179,7 @@ Click **Apply**, then click **Close**. Now Click on **Xilinx Tools -> Program FP |
|
|
|
|
|

|
|

|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
|
|

|
|

|
|
|
|
|
... | @@ -189,7 +189,7 @@ The console prompts you to enter a value between 0-15. Type 8 and hit enter. * |
... | @@ -189,7 +189,7 @@ The console prompts you to enter a value between 0-15. Type 8 and hit enter. * |
|
|
|
|
|
This concludes the ZyboGetting Started tutorial.
|
|
This concludes the ZyboGetting Started tutorial.
|
|
|
|
|
|
<img src="./getting-started-zybo/img/tutorial_zybo28.png" width="1000" height="750">
|
|

|
|
|
|
|
|
***
|
|
***
|
|
|
|
|
... | | ... | |