CE433 2022 Spring
Week 5
John Hitti

jdhitti@fortlewis.edu

Week 5

Introduction
In this week's project we will be programing different types of sequential circuits in Verilog and running simulations to verify their functionality in Vivado.

Task 1

In this task
we will use the given state table to derive logic equations for q1(n+1) and y and draw the sequential circuit for q1(n+1) and y.




Task 2
In this task
we will implement the this sequence detector program in Verilog using both the given method and the behavioral one. First we code the example given and run a simulation in Vivado.






Then we can code the program using a behavioral method and test its functionality using a simulation.





Task 3
In this task
we will be programming and simulating four different types of shift registers.

serial in/serial out


serial in/parallel out



parallel in/serial out



parallel in/parallel out





Task 4
In this task
we will build a two bit synchronous counter in Verilog and then run a simulation to verify the functionality of the counter,

 







Task 5
In this task
we will find the logic equation of the following circuit and implement it in Verilog.



After the logic expressions are found we can code it in Verilog and run a simulation.






Discussion
This project was an excellent introduction to using Verilog to program sequential circuits and will be very helpfull when modeling more complicated digital circuits in Verilog.