for this set of assignment, Moore statemachine
Design a sequence detector to detect \"001\", where 0 arrivesfirst, then 0, then 1. You need to show the test sequences you usedto confirm that your state diagram is operating correctly. When thecomplete \"001\" sequence has been detected, the output goes high.Otherwise, the output stays at zero.
Shows your state diagram, state table, encoded state table (useminimized bit encoding), logic equations, and logic circuit. (30points)
3. Re-do (2) using one-hot encoding