1. Data types, Operators, Combinational Logic
2. The purpose of this lab was to learn fixed-point respresention,
floating-point representation., fixed point addition, floating point
addition, fixed point subtraction, floating point subtration, fixed
point multipliction, floating point multiplication, division, net/data
types in verilog, logic gates and Boolean algerba in verilog.
Similiarly, combinational logic design with respect to projects
including a home alarm system, Digitial safe system, and car parking
occupied spot counting system.
3. Materials and Methods
GVIM computer
Application
Paper and Pencil
Vivado Application
4. Results
PROBLEMS
a. What are the fixed point representations of the following decimal numbers? 20.25 in UQ16.16 (16 128.5 in UQ16.16 0.125 in UQ.16 -38.125 in UQ15.16 -50.0625 in UQ15.16
b. What are the floating point representations of the following decimal numbers? 0.141 in half precision/format 3.625 in half precision/format -15.25 in half precision/format
SOLUTIONS
Figure 3. Code for simulations using Vivado and Vim.
Figure 4. Shown
is the net/dat type example in Verilog with a 8 bit hex number.
Figure 5. Youtube video showing 3 demonstrations home alarm system,
digital safe system, and car occupied system.
5.
Discussion
Vivado applications help to reinforce the process to upload data to the FPGA device. The simulations of the home
alarm system,
digital safe system, and car occupied system are very practical and
help to see the applications of computer logic. These logic gates also
help to reienforce the k maps and the implemation of various gates.