
Figure 1 - Equations for state table given in section 1, with q1(n+1) derived from k-map.

Figure 2 - Drawn circuit derived from the equations.
Task 2

Figure 3 - Code for sequential detecter shown in section 3

Figure 4 - Simulation for sequential detecter

Figure 5 - Code for sequential detecter using behavioral modeling

Figure 6 - Simulation for sequential detecter using behavioral modeling