Register to reply

Moore Machine Design

by mharten1
Tags: design, machine, moore
Share this thread:
mharten1
#1
Apr9-13, 01:09 AM
P: 63
Hopefully this post isn't too long, I am going to try to give you as much relevant information as possible so you can answer this easily.

For a class project, I am required to design a Moore Machine based on a problem that we were given. I have already done this with a Mealy Machine, but I am encountering errors with the Moore Machine. Specifically, my design won't "stick" to a state when it's supposed to. For example, when the input is 1,0 and it is in State1, and I toggle the clock but keep the input the same, it does not stay in State1. Referring to this state diagram may help you better understand what I am talking about.

As you can see, my design needs to have 2 inputs. The input 0,1 is not valid for my design. The number in parentheses is the output for each state.

Here is my state transition table and karnaugh maps. The inputs are in the form (P,N), I forgot to add.

Based on those, I got the equations

D2 = (N' * q2' * q1' * q0) + (P * N * q2 * q0') + (P * q2' * q1' * q0)

D1 = (P * N * q2' * q0') + (N' * q2 * q0')

D0 = P * N' * q0'

I'm afraid that my equations may be incorrect, I actually have no idea how to solve 5 variable K Maps (and we're not expected to for this class), so I used a program to solve them instead.

Using these equations, I tried to simulate it using LogicWorks. This is where I encountered the problem above. Sorry for the long post, but I am at my wits end here, I must have checked this thing 100 times to make sure I wasn't making a small error. In certain situations it works, but it really doesn't work when I am trying to make it stay in a state. Any help?
Phys.Org News Partner Science news on Phys.org
Security CTO to detail Android Fake ID flaw at Black Hat
Huge waves measured for first time in Arctic Ocean
Mysterious molecules in space

Register to reply

Related Discussions
Moore State Machine Design Engineering, Comp Sci, & Technology Homework 1
Moore Finite State Machine Engineering, Comp Sci, & Technology Homework 1
Design a Moore type synchronous state machine with only two Engineering, Comp Sci, & Technology Homework 20
Design a synchronous counter that has a Moore output decimal Engineering, Comp Sci, & Technology Homework 1