Lab 6: Final excercise

Contents

Contents. 2

Setup. 2

Description

Results required to complete the exercise. 2

Change history. 2

Setup

For this lab, you will need a Xilinx Zybo Z7-20 FPGA Board and a USB cable. Connect the USB cable to the PC and the Zybo Z7-20 board to connector PROG/UART. With this cable, the programming of the FPGA will be done, as well as serial communication between the board and PC.

Description

Basing on the hardware and operating system from the previous lab, write the software using multi-threaded system. Your software should be using mutexes, semaphores and priorities in appropriate context. You can use push-buttons, shitches and LEDS (including mulit-colour) to demostrate the operation. To use LEDs and switches, you need to add GPIOs to your system in Vivado and connect them using Connection Automation to the appropriate ports.

For remote realization of the lab: emulate the hardware switches SW0-SW3 using serial port, putty and the PC keyboard.

Results required to complete the exercise

Present the operation of your software and prove that is working.

Change history

Adaptation to version Vivado 2018.3: M. Wójcikowski (08/2020).