CE 433 Spring 2022
Homework 5
Name: David Lee
Email:
djlee1@fortlewis.edu
Data
Storage
Introduction:
In
this homework assignment we use vivado and verilog to create sequential Circuits
Materials and Methods:
vim, Vivado
Results:
Task 1: From the state table, find the logic equations for q1(n+1) and y and draw the sequential circuit for q1(n+1) and y.
![](CE433Embedded/ClassWork/HW5/Task1Work.png)
Figure 1: Shows worked out solution
Task 2: Repeat the work in Section 3. Use two methods, the given one and the behavioral one. Show simulation results
![](CE433Embedded/ClassWork/HW5/Task2Method1Sim.png)
Figure 2: Shows The simulation results of
the SequenceDetector using the first method
![](CE433Embedded/ClassWork/HW5/Task2Method2Code.png)
Figure 3: Shows The Code for the SequenceDetector using the first method
![](CE433Embedded/ClassWork/HW5/Task2Method2Sim.png)
Figure 4: Shows The Simulation of
the Sequence Detector Using Behavioral Method
![](CE433Embedded/ClassWork/HW5/Task2Method2Code.png)
Figure
5: Shows the Code of the Sequence Detector Using Behavioral Method Top
![](CE433Embedded/ClassWork/HW5/Task2Method2CodeTB.png)
Figure
6: Shows the Code of the Sequence Detector Using Behavioral Method Test Bench
Task 3: Simulate the four types of shift registers in Section 5.
![](CE433Embedded/ClassWork/HW5/Task3SISOCode.png)
Figure 7: Shows the Code of the
SISO
![](CE433Embedded/ClassWork/HW5/Task3SISOSim.png)
Figure 8: Shows the Simulation of
the SISO
![](CE433Embedded/ClassWork/HW5/Task3SIPOCode.png)
Figure 9: Shows
the Code of the SIPO
![](CE433Embedded/ClassWork/HW5/Task3SIPOSim.png)
Figure 10: Shows the
Simulation Results of the SIPO
![](CE433Embedded/ClassWork/HW5/Task3PISOCode.png)
Figure 11: Shows
the code for the PISO
![](CE433Embedded/ClassWork/HW5/Task3PISOSim.png)
Figure 12: Shows the Simulation of
the PISO
![](CE433Embedded/ClassWork/HW5/Task3PIPOCode.png)
Figure 13: Shows
the Code for PIPO
![](CE433Embedded/ClassWork/HW5/Task3PIPOSim.png)
Figure 14: Shows the
Simulation PIPO
Task 4: Build a counter module and show the simulation results.
![](CE433Embedded/ClassWork/HW5/Task4Code.png)
Figure 15: Shows
the Code of the 2-Bit Synchronouc Counter
![](CE433Embedded/ClassWork/HW5/Task4Sim.png)
Figure 16: Shows the Simulation of
the 2-Bit Synchronousn Counter
Task 5: Find the logic equation of the following circuit and implement it in verilog. Show the simulation results.
![](CE433Embedded/ClassWork/HW5/Task5PaperWork.png)
Figure 17: Shows
the HandWritten work of the Circuit Given
![](CE433Embedded/ClassWork/HW5/Task5Code.png)
Figure 18: Shows
the Code of the Circuit Given
![](CE433Embedded/ClassWork/HW5/Task5Sim.png)
Figure 19: Shows
the Simulation of the Circuit Given
Discussion:
This
assignment was able to be successfully completed. The only parts I
struggled on a bit was creating the logic equations for the circuit in
Task 5 and the Logic equations in Task 1 because it has been a while
since I have done those. However it was a good thing to practice and
complete getting a circuit from a schematic and having to create a
simulation of it in Vivado.