CE433 Lecture 2020 Spring
Lecture 2
Name:
Braden Morrow
Email: bdmorrow@fortlewis.edu

1. Lecture 2 - Data Types

2. Introduction
The purpose of this lecture was to review differen't binary and hex representations and algebra, and also practice programming the FPGA more than what we did in the Lab alone.

3. Results
Task 1:
This task asked us to transfer between differen't number representations in binary and hex.

Figure 1. Fixed Point Representations


Figure 2. Floating Point Representations

Task 2:
This task asked us complete a simple binary arithmetic problem by hand.

Figure 3. Floating Point Binary Arithmetic

Task 3:
This task asked us to run a simulation provided by the book.


Figure 4. Simulation of Net / Data Types Example

Task 4:
This task asked us to run a few simulations to continue practicing programming the FPGA.

Figure 5. Code and Testbench for the Home Alarm System

Figure 6. On-board Verification for the Home Alarm System

Figure 7. Code and Testbench for the Digital Safe

Figure 8. On-board Verification for the Digital Safe

Figure 9. Code and Testbench for the Car Parking Spot

Figure 10. On-board Verification for the Car Parking Spot

4. Discussion
This lecture helped solidify both the differen't data types and their respective arithmetic methods. It also helped drive home the steps needed to program the FPGA.