1- A simple hardware circuit uses 16 switched on the Basys3 board to control the 16 LEDs.


          a- Describe the hardware in Vivado-HLS and generate the RTL-IP.

          b- Import the design into the Xilinx Vivado suite and generate the FPAG bitstream.

          c- Program the Basys3 board and check the output.




2- A simple hardware circuit connects five lower LEDs (i.e., LD0 to LD4) on the Basys3 board to the five lower slide switches.

          a- Describe the hardware in Vivado-HLS and generate the RTL-IP.

          b- Import the design into the Xilinx Vivado suite and generate the FPAG bitstream.

          c- Program the Basys3 board and check the output.




3- The prototype of a C/C++ function is as follows. It connects 16 slide switches on the Basys3 board to the 16 LEDs.

          a. Complete the HLS description.

          b. Use the Vivado-HLS toolset to generate the corresponding RTL-IP.

          c. Import the design into the Xilinx Vivado suite and generate the FPAG bitstream.

          d. Program the Basys3 board and check the output.


Function prototype:

void led_controller(char &lower_leds,
                    char &upper_leds,
                    char lower_sws,
                    char upper_sws);