Use the state assignment y(3 downto 1) = 000, 001, 010, 011, 100, 101 for states A through F. Derive and implement the next-state value of bit Y2 from the diagram and input w.
Use the state assignment y(3 downto 1) = 000, 001, 010, 011, 100, 101 for states A through F. Derive and implement the next-state value of bit Y2 from the diagram and input w.