designing a moore fsm for even no of zeros and odd no of ones

Status
Not open for further replies.

sireesha92

Newbie level 4
Joined
Mar 26, 2013
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,327
How to design a Moore FSM which detects even number of zeros and odd number of ones.? The output of the FSM has to be one for one clock pulse if the specified condition is met else the output has to remain zero.
 

You can do this with 4 states: even #0's/even #1's, even #0's/odd #1's, odd #0's/even #1's, and odd #0's/odd #1's. From there you can figure out the state transitions and outputs.
 
Thank you for the information.. Can please draw the moore state diagram for this...??

- - - Updated - - -

Is this state diagram correct..?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…