CE 433 Lab 2022 Spring
Lab 5
Name:
Nicolas Llarena
Email: Njllarenaarias@fortlewis.edu

1. Lab 5 - 
A 3-bit Adder/Subtractor for 2's Complement Signed Binary Numbers 

2. Introduction
The purpose of this lab is to work with vivado and Gvim to create a 3-bit adder/subtractor for 2's complement signed binary numbers. We will use different modules and SSD to create this successfully. We will then upload the code into a BASYS 3 board to veify functionality.

3. Materials
Materials Quantity
Basys 3 Board
1
Vivado
1
Gvim
1

4. Results

Task 1



Task 1: Code used for the one bit adder, the three bit add and subtract module, ssd decoder, and the testbench for the basys 3 board. This was done by using past assignments and researching more in depth.



Task 1.1: video portraying functionality of the 3-bit adder and subtractor module.


Discussion

This Lab was a little more challenging than usual. We weren't given mucho to go by. I used some modules from past assignments to guide me in the right direction. I also used some of Dr. Li's tutorials for the SSD and the adder/subtractor. I did learn a lot by doing my own research and trying to find different ways to do it correctly. I believe there is still some tweaking to be done on my code to make it cleaner.