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

1. homework 2 - Data types, operators, combinational logic

2. Introduction
The purpose of this Homework is to do some practice with datatypes and binary arithmetic. we will also start using the BASYS 3 FPGA boards to code some logic gates and some small applications which will be useful for the future. videos as well as simulations will be taken to verify functionality.

3. Materials
Materials Quantity
BASYS 3 FPGA
1
Vivado
1
Gvim
1

4. Results

Task 1



Figure 1. working out the fixed point representation of the required decimal numbers.



Figure 2. working out the floating point representation of the required decimal numbers.


Task 2



Figure 3. Showing the process of floating point addition/subtraction of the required decimal points.


Task 3



Figure 4. Showing the code and simulation of example 11 from the tutorial on week 2.


Task 4



Video 1. Video displaying a simple alarm system programmed into the BASYS 3 FPGA board.



Task 4.2. Code and video showing the details and functionality of a simple safe programmed into the BASYS 3 FPGA board.



Task 4.3. Code and video showing the details and functionality of a simple parking system programmed into the BASYS 3 FPGA board.


Discussion

This Homework was long but it was very interesting and fun in the end when we started using the FPGA boards. The first tasks were tedious because we had to do the operations by hand. It was nice to finally start some projoects with the BASYS 3 boards since we can finally see how logic gates an be applied to the real world. I was having some issue with being able to generate bitstream. I could only fix the issue by starting over which was mildly annoying. But, everything was completed correctly.