CE433 Embedded Devices Spring 2022
Homework 8 Part 2 - Softcore
Name: Ryan Jeanes

Email: rejeanes@fortlewis.edu

Homework 8 Part 2 - Softcore
This assignment had us write assembly for the KCPSM6 in order to display the number of switches on in binary using the 16 LEDs on the Basys 3 board.
All 16 switches are being counted with the resulting binary value displayed on the LEDs. This is the video demonstrating the program.

Figure 1 - Behavioral section of the Verilog code.

Figure 2 - Assembly code for counting number of switches set using the Hamming Weight Algorithm.