0
\$\begingroup\$

i am just learning about state machines. I wanted to ask, if in a moore machine the output depends only on the current state, how can i identify this from a state diagram?

$$\begin{array}{ccc|ccc} S0&S1&i &S0&S1& o \\ \hline 0&0&0 &0&0&1 \\ 0&1&0 &0&1&0 \\ 1&0&0 &1&0&0 \\ \textbf{1}&\textbf{1}&\textbf{0} &\textbf{1}&\textbf{1}&\textbf{1} \\ 0&0&1 &0&1&0 \\ 0&1&1 &1&0&0 \\ 1&0&1 &1&1&1 \\ \textbf{1}&\textbf{1}&\textbf{1} &\textbf{0}&\textbf{0}&\textbf{1} \\ \end{array}$$

Clearly changing the inputs from a 0 to a 1 affects the output.... Am i missing something?

enter image description here

\$\endgroup\$
  • \$\begingroup\$ Where is the output? \$\endgroup\$ – Dmitry Grigoryev Apr 30 at 10:37
  • 1
    \$\begingroup\$ Updated, clearly it is not a moore machine \$\endgroup\$ – user220808 Apr 30 at 10:53
  • \$\begingroup\$ Can you have more than one set of output on a state? \$\endgroup\$ – user220808 Apr 30 at 12:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy