Lab 11-12_ CPE 64(Finished)

.pdf

School

California State University, Sacramento *

*We aren’t endorsed by this school

Course

64

Subject

Electrical Engineering

Date

Dec 6, 2023

Type

pdf

Pages

7

Uploaded by ProfPuppyPerson3356

Report
Lab 11-12: Designing High or Low Latch Using Verilog, Quartus, and Multisim Huu EEE/CPE 64 11/20/2022 Instructor: Jim Quilici
Title: Designing High or Low Latch Using Verilog, Quartus, and Multisim Objective: The purpose of this lab is to design active high or low Latches by using NAND and NOR gates. We will create them using programs such as MultiSim, Verilog, and Quartus. Then, we will test the results on the Modelsim waveform. From the results, we will compare them with truth tables to find if the code works. Lab Preparation and Challenges: For this lab, we need to have the following prepared, Modelsim Program Quartus Prime Program MultiSim Knowledge of using or designing MultiSim, Quartus, and active high/low latches Challenges: The challenge that I faced in this lab mostly includes inexperience since I was first timing new programs and applying new logic such as S-R latch and comparators. Also, MultiSim needed to be fixed in the early week that we started on this lab since it was known to have issues running a testbench. Lab 11 Procedures: Step 1: Design using Quartus and a Verilog file for a 3-bit comparator. Step 2: Design using Quartus using a 2-bit example provided. Step 3: Design a Verilog code in Quartus for the code and the testbench Step 4: Test the code and testbench with ModelSim waveform Step 5: Compare against a truth table Step 6: Using the same code, have the comparator become signed and repeat steps 4-5. Lab 12 Procedures: Step 1: Design using Quartus and Verilog representing an Active High Latch using only NOR gates.
Step 2: Design using Quartus a Verilog code for the testbench of the Active High Latch code. Step 3: Test the testbench Verilog code on Questa Waveform Step 4: Record and compare results with a truth table. Step 5: Repeats steps 1-4 with the change of having an active low latch using only NANA gates. Lab results: Lab 11 Results The figure above shows the code for lab 11 where the comparator is unsigned.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help