@@ -22,36 +22,50 @@ An archive with the design files can be downloaded [here](https://es.technikum-w
## 5.2 Tutorial
This section explains how to generate the FPGA hardware bitstream using the Xilinx Vivado tool. Furthermore, the Board Setup will be explained. Finally the Bitstream will be flashed onto the FPGA an the Apllication will run on the FPGA.
This section explains how to generate the FPGA hardware bitstream using the Xilinx Vivado tool. Furthermore, the Board Setup will be explained. Finally the Bitstream will be flashed onto the FPGA an the apllication will be tested.
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.
The following istructions were be done with Windows 7 and Vivado HLx 2015.4. The installation are equivalent with an Linux operating system. At first download the "Vivado HLx 201x.y: Windows Web Installer" from the [Xilinx website](http://www.origin.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/vivado-design-tools.html) as displayed in the following figure. In order to download the installation file you will be asked to login with your free Xilinx user account. Create an account and login. The download will automatically start.
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**.
In the **Project Manager** toolbar on the leftside click the **Generate Bitstream** button which can be found in the Program and Debug subsection. A window pops up. Click on *Yes**.
A window should pop up once the bitstream generation finished successfully. Click on **Cancel**.
###5.2.2 Board Setup
Make sure that **JP2** is configured to use **USB** as power source. Furthermore, make sure **JP1** is configured to the **JTAG** mode. Insert a micro USB cable to JC4 and connect it to your PC. Switch SW16 to the on position. Finally, make sure that the switches **SW0 - SW15** are in the off position.